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

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: Rebase on master 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/page/DOMWindowBase64.cpp » ('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 bd0f45b69738802c9ae654c0479eaf7b20261d57..e123ce842d554cbf3900f0712af77a1fa6594c09 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..
+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..
« no previous file with comments | « LayoutTests/fast/dom/Window/atob-btoa.html ('k') | Source/core/page/DOMWindowBase64.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698