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

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

Issue 22796004: Simplify WTF::base64Decode() after r154538 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Restore the enum's original name Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/dom/Window/atob-btoa.html ('k') | Source/core/page/DOMWindowBase64.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 PASS window.atob("YQ==") is "a" 1 PASS window.atob("YQ==") is "a"
2 PASS window.atob("YWI=") is "ab" 2 PASS window.atob("YWI=") is "ab"
3 PASS window.atob("YWJj") is "abc" 3 PASS window.atob("YWJj") is "abc"
4 PASS window.atob("YWJjZA==") is "abcd" 4 PASS window.atob("YWJjZA==") is "abcd"
5 PASS window.atob("YWJjZGU=") is "abcde" 5 PASS window.atob("YWJjZGU=") is "abcde"
6 PASS window.atob("YWJjZGVm") is "abcdef" 6 PASS window.atob("YWJjZGVm") is "abcdef"
7 PASS window.btoa("a") is "YQ==" 7 PASS window.btoa("a") is "YQ=="
8 PASS window.btoa("ab") is "YWI=" 8 PASS window.btoa("ab") is "YWI="
9 PASS window.btoa("abc") is "YWJj" 9 PASS window.btoa("abc") is "YWJj"
10 PASS window.btoa("abcd") is "YWJjZA==" 10 PASS window.btoa("abcd") is "YWJjZA=="
(...skipping 21 matching lines...) Expand all
32 PASS window.atob("6ek") is "éé" 32 PASS window.atob("6ek") is "éé"
33 PASS window.atob("gIE=") is "€" 33 PASS window.atob("gIE=") is "€"
34 PASS window.atob("тест") threw exception InvalidCharacterError: 'atob' failed: T he string to be decoded contains characters outside of the Latin1 range.. 34 PASS window.atob("тест") threw exception InvalidCharacterError: 'atob' failed: T he string to be decoded contains characters outside of the Latin1 range..
35 PASS window.atob("z") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 35 PASS window.atob("z") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded..
36 PASS window.atob("zz") is "Ï" 36 PASS window.atob("zz") is "Ï"
37 PASS window.atob("zzz") is "Ï<" 37 PASS window.atob("zzz") is "Ï<"
38 PASS window.atob("zzz=") is "Ï<" 38 PASS window.atob("zzz=") is "Ï<"
39 PASS window.atob("zzz==") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 39 PASS window.atob("zzz==") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded..
40 PASS window.atob("zzz===") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 40 PASS window.atob("zzz===") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded..
41 PASS window.atob("zzz====") threw exception InvalidCharacterError: 'atob' failed : The string to be decoded is not correctly encoded.. 41 PASS window.atob("zzz====") threw exception InvalidCharacterError: 'atob' failed : The string to be decoded is not correctly encoded..
42 PASS window.atob("zzz=====") threw exception InvalidCharacterError: 'atob' faile d: The string to be decoded is not correctly encoded..
42 PASS window.atob("zzzz") is "Ï<ó" 43 PASS window.atob("zzzz") is "Ï<ó"
43 PASS window.atob("zzzzz") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 44 PASS window.atob("zzzzz") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded..
44 PASS window.atob("z=zz") threw exception InvalidCharacterError: 'atob' failed: T he string to be decoded is not correctly encoded.. 45 PASS window.atob("z=zz") threw exception InvalidCharacterError: 'atob' failed: T he string to be decoded is not correctly encoded..
45 PASS window.atob("=") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 46 PASS window.atob("=") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded..
46 PASS window.atob("==") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 47 PASS window.atob("==") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded..
47 PASS window.atob("===") threw exception InvalidCharacterError: 'atob' failed: Th e string to be decoded is not correctly encoded.. 48 PASS window.atob("===") threw exception InvalidCharacterError: 'atob' failed: Th e string to be decoded is not correctly encoded..
48 PASS window.atob("====") threw exception InvalidCharacterError: 'atob' failed: T he string to be decoded is not correctly encoded.. 49 PASS window.atob("====") threw exception InvalidCharacterError: 'atob' failed: T he string to be decoded is not correctly encoded..
49 PASS window.atob("=====") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 50 PASS window.atob("=====") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded..
50 PASS window.atob is 0 51 PASS window.atob is 0
51 PASS typeof window.atob is "number" 52 PASS typeof window.atob is "number"
52 PASS successfullyParsed is true 53 PASS successfullyParsed is true
53 54
54 TEST COMPLETE 55 TEST COMPLETE
55 56
OLDNEW
« 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