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

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

Issue 215833002: window.atob() returns wrong value when given a string container only white spaces (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/wtf/text/Base64.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 938fd1c3c973d0f8735eb8d306b43721b252c008..bbeb0a75795d2480b55ccc9a449f81097d460c01 100644
--- a/LayoutTests/fast/dom/Window/atob-btoa-expected.txt
+++ b/LayoutTests/fast/dom/Window/atob-btoa-expected.txt
@@ -49,6 +49,7 @@ PASS window.atob("zzz===") threw exception InvalidCharacterError: Failed to exec
PASS window.atob("zzz====") threw exception InvalidCharacterError: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded..
PASS window.atob("zzz=====") threw exception InvalidCharacterError: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded..
PASS window.atob("zzzz") is "Ï<ó"
+PASS atob(" ") is ""
PASS window.atob("zzzzz") threw exception InvalidCharacterError: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded..
PASS window.atob("z=zz") threw exception InvalidCharacterError: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded..
PASS window.atob("=") threw exception InvalidCharacterError: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded..
« no previous file with comments | « LayoutTests/fast/dom/Window/atob-btoa.html ('k') | Source/wtf/text/Base64.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698