Migrate to new constructor operation syntax

This commit is contained in:
Kagami Sascha Rosylight 2019-10-02 21:45:01 +09:00
parent 9706cd497d
commit 9ce82ea1ae
103 changed files with 659 additions and 413 deletions

View file

@ -7,8 +7,9 @@
*/
// https://dom.spec.whatwg.org/#mutationobserver
[Pref="dom.mutation_observer.enabled", Constructor(MutationCallback callback)]
[Pref="dom.mutation_observer.enabled"]
interface MutationObserver {
[Throws] constructor(MutationCallback callback);
[Throws]
void observe(Node target, optional MutationObserverInit options = {});
void disconnect();