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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt

Issue 2678583002: Make MutationObserver observe parameter optional as per spec (Closed)
Patch Set: Rebase 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/LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt
index 8a710d66dca903aa22c6003fc84857322767ac02..621b3907a4d6c8188f38baee0bf985cf6fb1cb1e 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt
@@ -3,10 +3,10 @@ Test that WebKitMutationObserver.observe throws exceptions appropriately
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS observer.observe() threw exception TypeError: Failed to execute 'observe' on 'MutationObserver': 2 arguments required, but only 0 present..
-PASS observer.observe(null) threw exception TypeError: Failed to execute 'observe' on 'MutationObserver': 2 arguments required, but only 1 present..
-PASS observer.observe(undefined) threw exception TypeError: Failed to execute 'observe' on 'MutationObserver': 2 arguments required, but only 1 present..
-PASS observer.observe(document.body) threw exception TypeError: Failed to execute 'observe' on 'MutationObserver': 2 arguments required, but only 1 present..
+PASS observer.observe() threw exception TypeError: Failed to execute 'observe' on 'MutationObserver': 1 argument required, but only 0 present..
+PASS observer.observe(null) threw exception TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'..
+PASS observer.observe(undefined) threw exception TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'..
+PASS observer.observe(document.body) threw exception TypeError: Failed to execute 'observe' on 'MutationObserver': The options object must set at least one of 'attributes', 'characterData', or 'childList' to true..
PASS observer.observe(document.body, null) threw exception TypeError: Failed to execute 'observe' on 'MutationObserver': The options object must set at least one of 'attributes', 'characterData', or 'childList' to true..
PASS observer.observe(document.body, undefined) threw exception TypeError: Failed to execute 'observe' on 'MutationObserver': The options object must set at least one of 'attributes', 'characterData', or 'childList' to true..
PASS observer.observe(null, {attributes: true}) threw exception TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'..

Powered by Google App Engine
This is Rietveld 408576698