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

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

Issue 58143002: WindowBase64::atob() does not remove space characters from input (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix nits Created 7 years, 1 month 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/frame/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 52409d0d742966293f6307110014e3f57ca00ceb..e4cbe4de77925c2092ee6e39c32b08149b0b9e18 100644
--- a/LayoutTests/fast/dom/Window/atob-btoa-expected.txt
+++ b/LayoutTests/fast/dom/Window/atob-btoa-expected.txt
@@ -26,8 +26,16 @@ PASS window.atob() threw exception TypeError: Failed to execute 'atob' on 'Windo
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..
-PASS window.atob(" YQ==") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded..
-PASS window.atob("YQ==\u000a") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded..
+PASS window.atob(" YQ==") is "a"
+PASS window.atob("YQ== ") is "a"
+PASS window.atob("YQ== ") is "a"
+PASS window.atob("YQ==\u000a") is "a"
+PASS window.atob("YQ ==") is "a"
+PASS window.atob("YQ\t==") is "a"
+PASS window.atob("YQ\n==") is "a"
+PASS window.atob("YQ\f==") is "a"
+PASS window.atob("YQ\r==") is "a"
+PASS window.atob("YQ\t\n\f\r ==") is "a"
PASS window.atob("6ek=") is "éé"
PASS window.atob("6ek") is "éé"
PASS window.atob("gIE=") is "€"
« no previous file with comments | « LayoutTests/fast/dom/Window/atob-btoa.html ('k') | Source/core/frame/DOMWindowBase64.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698