mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 11:15:08 +00:00

NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
27 lines
690 B
Text
27 lines
690 B
Text
#import <DOM/MutationRecord.idl>
|
|
#import <DOM/Node.idl>
|
|
|
|
[Exposed=Window, UseDeprecatedAKString]
|
|
interface MutationObserver {
|
|
|
|
constructor(MutationCallback callback);
|
|
|
|
undefined observe(Node target, optional MutationObserverInit options = {});
|
|
undefined disconnect();
|
|
sequence<MutationRecord> takeRecords();
|
|
|
|
};
|
|
|
|
callback MutationCallback = undefined (sequence<MutationRecord> mutations, MutationObserver observer);
|
|
|
|
dictionary MutationObserverInit {
|
|
|
|
boolean childList = false;
|
|
boolean attributes;
|
|
boolean characterData;
|
|
boolean subtree = false;
|
|
boolean attributeOldValue;
|
|
boolean characterDataOldValue;
|
|
sequence<DOMString> attributeFilter;
|
|
|
|
};
|