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

Unified Diff: LayoutTests/fast/dom/Window/atob-btoa-expected.txt

Issue 19576002: Make atob() / btoa() argument non optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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
« no previous file with comments | « LayoutTests/fast/dom/Window/atob-btoa.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7bc9cb607a0665b3bf52d2347cf803ccf86c9393..bd0f45b69738802c9ae654c0479eaf7b20261d57 100644
--- a/LayoutTests/fast/dom/Window/atob-btoa-expected.txt
+++ b/LayoutTests/fast/dom/Window/atob-btoa-expected.txt
@@ -11,9 +11,9 @@ 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() is "dW5kZWZpbmVk"
+PASS window.btoa() threw exception TypeError: Not enough arguments.
PASS window.btoa("") is ""
-PASS window.btoa(null) is ""
+PASS window.btoa(null) is "bnVsbA=="
PASS window.btoa(undefined) is "dW5kZWZpbmVk"
PASS window.btoa(window) is "W29iamVjdCBXaW5kb3dd"
PASS window.btoa("éé") is "6ek="
@@ -22,9 +22,9 @@ PASS window.btoa("тест") threw exception InvalidCharacterError: An invalid o
PASS window.btoa is 0
PASS typeof window.btoa is "number"
PASS typeof window.atob is "function"
-PASS window.atob() threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..
+PASS window.atob() threw exception TypeError: Not enough arguments.
PASS window.atob("") is ""
-PASS window.atob(null) is ""
+PASS window.atob(null) is "žée"
PASS window.atob(undefined) threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..
PASS window.atob(" YQ==") threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..
PASS window.atob("YQ==\u000a") threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..
« no previous file with comments | « LayoutTests/fast/dom/Window/atob-btoa.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698