Skip to content

Commit

Permalink
Update idl.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arichiv authored Mar 15, 2024
1 parent a35bd3b commit 4459e9c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion idl.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ dictionary StorageAccessTypes {
boolean SharedWorker = false;
};
enum SameSiteCookiesType { "all", "none" };
dictionary SharedWorkerOptions : WorkerOptions {
SameSiteCookiesType sameSiteCookies;
}
interface StorageAccessHandle {
readonly attribute Storage sessionStorage;
readonly attribute Storage localStorage;
Expand All @@ -31,5 +37,10 @@ interface StorageAccessHandle {
DOMString createObjectURL((Blob or MediaSource) obj);
undefined revokeObjectURL(DOMString url);
BroadcastChannel BroadcastChannel(DOMString name);
SharedWorker SharedWorker(USVString scriptURL, optional (DOMString or WorkerOptions) options = {});
SharedWorker SharedWorker(USVString scriptURL, optional (DOMString or SharedWorkerOptions) options = {});
};
interface SharedWorker : EventTarget {
constructor(ScriptURLString scriptURL, optional (DOMString or SharedWorkerOptions) options = {});
};
```

0 comments on commit 4459e9c

Please sign in to comment.