Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Atomics.pause, FileSystemObserver, ParentNode.moveBefore #2079

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions custom/idl/file-system-api.idl
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,27 @@ interface DirectoryEntrySync {};
partial interface FileSystemDirectoryEntry {
undefined removeRecursively(VoidFunction successCallback, optional ErrorCallback errorCallback);
};


// Remove when https://github.com/whatwg/fs/pull/165 is merged

dictionary FileSystemObserverObserveOptions { boolean recursive = false; };

callback FileSystemObserverCallback = undefined (sequence<FileSystemChangeRecord> records, FileSystemObserver observer);

[Exposed=(DedicatedWorker,SharedWorker,Window),SecureContext]
interface FileSystemObserver {
constructor(FileSystemObserverCallback callback);
Promise<undefined> observe(FileSystemHandle handle, optional FileSystemObserverObserveOptions options = {});
undefined unobserve(FileSystemHandle handle); undefined disconnect();
};

enum FileSystemChangeType { "appeared", "disappeared", "errored", "modified", "moved", "unknown", };

dictionary FileSystemChangeRecord {
required FileSystemHandle root;
FileSystemHandle? changedHandle;
required sequence<DOMString> relativePathComponents;
required FileSystemChangeType type;
sequence<DOMString>? relativePathMovedFrom;
};
5 changes: 5 additions & 0 deletions custom/idl/html.idl
Original file line number Diff line number Diff line change
Expand Up @@ -279,3 +279,8 @@ partial interface HTMLAnchorElement {
partial interface HTMLElement {
attribute HTMLAnchorElement anchorElement;
};

// Remove when https://github.com/whatwg/dom/pull/1307 is merged
partial interface mixin ParentNode {
[CEReactions] undefined moveBefore(Node node, Node? child);
};
5 changes: 5 additions & 0 deletions custom/js.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
]
}
},
"Atomics": {
"members": {
"static": ["pause"]
}
},
"DataView": {
"__comment": "Remove instance members when https://tc39.es/proposal-float16array is merged into the main ECMAScript spec.",
"members": {
Expand Down
Loading