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

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

Issue 19623002: Make atob() throw an InvalidCharacterError on excess padding characters (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
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..ea745fcd496bf8acf1fb8af9ff0d31c86faada72 100644
--- a/LayoutTests/fast/dom/Window/atob-btoa-expected.txt
+++ b/LayoutTests/fast/dom/Window/atob-btoa-expected.txt
@@ -36,9 +36,9 @@ PASS window.atob("z") threw exception InvalidCharacterError: An invalid or illeg
PASS window.atob("zz") is "Ï"
PASS window.atob("zzz") is "Ï<"
PASS window.atob("zzz=") is "Ï<"
-PASS window.atob("zzz==") is "Ï<"
-PASS window.atob("zzz===") is "Ï<"
-PASS window.atob("zzz====") is "Ï<"
+PASS window.atob("zzz==") threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..
arv (Not doing code reviews) 2013/07/17 17:49:06 This error message is silly. I'll update it later
+PASS window.atob("zzz===") threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..
+PASS window.atob("zzz====") threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..
PASS window.atob("zzzz") is "Ï<ó"
PASS window.atob("zzzzz") threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..
PASS window.atob("z=zz") threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..

Powered by Google App Engine
This is Rietveld 408576698