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

Unified Diff: LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-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/DOMImplementation/createDocument-namespace-err-expected.txt
diff --git a/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt b/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt
index 11f428b1cac1d954fa769b8420c435299934e56d..20067714e68210b11a0e4c4f150fd80f81429168 100644
--- a/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt
+++ b/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt
@@ -3,8 +3,8 @@ createDocument tests modeled after createElementNS tests from mozilla which were
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS document.implementation.createDocument() threw exception TypeError: Not enough arguments.
-PASS document.implementation.createDocument("http://www.example.com") threw exception TypeError: Not enough arguments.
+PASS document.implementation.createDocument() threw exception TypeError: Failed to execute 'createDocument' on 'DOMImplementation': 2 arguments required, but only 0 present..
+PASS document.implementation.createDocument("http://www.example.com") threw exception TypeError: Failed to execute 'createDocument' on 'DOMImplementation': 2 arguments required, but only 1 present..
PASS createDocument(, , null)
PASS createDocument(null, , null)
FAIL createDocument(, null, null)

Powered by Google App Engine
This is Rietveld 408576698