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

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

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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: LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt
diff --git a/LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt b/LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt
index 4ee14fb12c1d78d2689a55a85e384380e12ddc03..f974c95a1e7bc9c12409df6263c4a9d47901b6ae 100644
--- a/LayoutTests/fast/dom/MutationObserver/observe-exceptions-expected.txt
+++ b/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: Not enough arguments.
-PASS observer.observe(null) threw exception TypeError: Not enough arguments.
-PASS observer.observe(undefined) threw exception TypeError: Not enough arguments.
-PASS observer.observe(document.body) threw exception TypeError: Not enough arguments.
+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(document.body, null) threw exception SyntaxError: An invalid or illegal string was specified..
PASS observer.observe(document.body, undefined) threw exception SyntaxError: An invalid or illegal string was specified..
PASS observer.observe(null, {attributes: true}) threw exception NotFoundError: An attempt was made to reference a Node in a context where it does not exist..

Powered by Google App Engine
This is Rietveld 408576698