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

Unified Diff: LayoutTests/fast/dom/Window/atob-btoa-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/Window/atob-btoa-expected.txt
diff --git a/LayoutTests/fast/dom/Window/atob-btoa-expected.txt b/LayoutTests/fast/dom/Window/atob-btoa-expected.txt
index 9d58dff506d50ad68d8e62e2273126d57cc95df6..b72c882a69027f1ebbdb22bdc5b98003194f8ee9 100644
--- a/LayoutTests/fast/dom/Window/atob-btoa-expected.txt
+++ b/LayoutTests/fast/dom/Window/atob-btoa-expected.txt
@@ -11,7 +11,7 @@ PASS window.btoa("abcd") is "YWJjZA=="
PASS window.btoa("abcde") is "YWJjZGU="
PASS window.btoa("abcdef") is "YWJjZGVm"
PASS typeof window.btoa is "function"
-PASS window.btoa() threw exception TypeError: Not enough arguments.
+PASS window.btoa() threw exception TypeError: Failed to execute 'btoa' on 'DOMWindow': 1 argument required, but only 0 present..
PASS window.btoa("") is ""
PASS window.btoa(null) is "bnVsbA=="
PASS window.btoa(undefined) is "dW5kZWZpbmVk"
@@ -22,7 +22,7 @@ PASS window.btoa("тест") threw exception InvalidCharacterError: 'btoa' faile
PASS window.btoa is 0
PASS typeof window.btoa is "number"
PASS typeof window.atob is "function"
-PASS window.atob() threw exception TypeError: Not enough arguments.
+PASS window.atob() threw exception TypeError: Failed to execute 'atob' on 'DOMWindow': 1 argument required, but only 0 present..
PASS window.atob("") is ""
PASS window.atob(null) is "žée"
PASS window.atob(undefined) threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded..
« no previous file with comments | « LayoutTests/fast/dom/Window/atob-btoa.html ('k') | LayoutTests/fast/dom/Window/window-postmessage-clone-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698