Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Unified Diff: third_party/WebKit/Source/core/dom/MutationObserver.idl

Issue 2678583002: Make MutationObserver observe parameter optional as per spec (Closed)
Patch Set: Fix failing wpt Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/MutationObserver.idl
diff --git a/third_party/WebKit/Source/core/dom/MutationObserver.idl b/third_party/WebKit/Source/core/dom/MutationObserver.idl
index 35f6382b5748f4f2699e1eff02b97086d3644ea0..1439abec0a6a5aff5a1e0db327fdaef12fb8040d 100644
--- a/third_party/WebKit/Source/core/dom/MutationObserver.idl
+++ b/third_party/WebKit/Source/core/dom/MutationObserver.idl
@@ -34,7 +34,7 @@
CustomConstructor(MutationCallback callback),
Custom=VisitDOMWrapper,
] interface MutationObserver {
- [RaisesException] void observe(Node target, MutationObserverInit options);
+ [RaisesException] void observe(Node target, optional MutationObserverInit options);
void disconnect();
sequence<MutationRecord> takeRecords();
};

Powered by Google App Engine
This is Rietveld 408576698