diff options
Diffstat (limited to 'Source/WebCore/dom/MutationObserver.idl')
-rw-r--r-- | Source/WebCore/dom/MutationObserver.idl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/WebCore/dom/MutationObserver.idl b/Source/WebCore/dom/MutationObserver.idl index 9ee9792b3..f7a2c0f77 100644 --- a/Source/WebCore/dom/MutationObserver.idl +++ b/Source/WebCore/dom/MutationObserver.idl @@ -33,7 +33,17 @@ CustomIsReachable, ImplementationLacksVTable, ] interface MutationObserver { - [RaisesException] void observe(Node target, Dictionary options); + [MayThrowException] void observe(Node target, optional MutationObserverInit options); sequence<MutationRecord> takeRecords(); void disconnect(); }; + +dictionary MutationObserverInit { + boolean childList = false; + boolean attributes; + boolean characterData; + boolean subtree = false; + boolean attributeOldValue; + boolean characterDataOldValue; + sequence<DOMString> attributeFilter; +}; |