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

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

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years 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
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=="
11 PASS window.btoa("abcde") is "YWJjZGU=" 11 PASS window.btoa("abcde") is "YWJjZGU="
12 PASS window.btoa("abcdef") is "YWJjZGVm" 12 PASS window.btoa("abcdef") is "YWJjZGVm"
13 PASS typeof window.btoa is "function" 13 PASS typeof window.btoa is "function"
14 PASS window.btoa() threw exception TypeError: Failed to execute 'btoa' on 'Windo w': 1 argument required, but only 0 present.. 14 PASS window.btoa() threw exception TypeError: Failed to execute 'btoa' on 'Windo w': 1 argument required, but only 0 present..
15 PASS window.btoa("") is "" 15 PASS window.btoa("") is ""
16 PASS window.btoa(null) is "bnVsbA==" 16 PASS window.btoa(null) is "bnVsbA=="
17 PASS window.btoa(undefined) is "dW5kZWZpbmVk" 17 PASS window.btoa(undefined) is "dW5kZWZpbmVk"
18 PASS window.btoa(window) is "W29iamVjdCBXaW5kb3dd" 18 PASS window.btoa(window) is "W29iamVjdCBXaW5kb3dd"
19 PASS window.btoa("éé") is "6ek=" 19 PASS window.btoa("éé") is "6ek="
20 PASS window.btoa("\u0080\u0081") is "gIE=" 20 PASS window.btoa("\u0080\u0081") is "gIE="
21 PASS window.btoa("тест") threw exception InvalidCharacterError: 'btoa' failed: T he string to be encoded contains characters outside of the Latin1 range.. 21 PASS window.btoa("тест") threw exception InvalidCharacterError: Failed to execut e 'btoa' on 'Window': The string to be encoded contains characters outside of th e Latin1 range..
22 PASS window.btoa is 0 22 PASS window.btoa is 0
23 PASS typeof window.btoa is "number" 23 PASS typeof window.btoa is "number"
24 PASS typeof window.atob is "function" 24 PASS typeof window.atob is "function"
25 PASS window.atob() threw exception TypeError: Failed to execute 'atob' on 'Windo w': 1 argument required, but only 0 present.. 25 PASS window.atob() threw exception TypeError: Failed to execute 'atob' on 'Windo w': 1 argument required, but only 0 present..
26 PASS window.atob("") is "" 26 PASS window.atob("") is ""
27 PASS window.atob(null) is "žée" 27 PASS window.atob(null) is "žée"
28 PASS window.atob(undefined) threw exception InvalidCharacterError: 'atob' failed : The string to be decoded is not correctly encoded.. 28 PASS window.atob(undefined) threw exception InvalidCharacterError: Failed to exe cute 'atob' on 'Window': The string to be decoded is not correctly encoded..
29 PASS window.atob(" YQ==") is "a" 29 PASS window.atob(" YQ==") is "a"
30 PASS window.atob("YQ== ") is "a" 30 PASS window.atob("YQ== ") is "a"
31 PASS window.atob("YQ== ") is "a" 31 PASS window.atob("YQ== ") is "a"
32 PASS window.atob("YQ==\u000a") is "a" 32 PASS window.atob("YQ==\u000a") is "a"
33 PASS window.atob("YQ ==") is "a" 33 PASS window.atob("YQ ==") is "a"
34 PASS window.atob("YQ\t==") is "a" 34 PASS window.atob("YQ\t==") is "a"
35 PASS window.atob("YQ\n==") is "a" 35 PASS window.atob("YQ\n==") is "a"
36 PASS window.atob("YQ\f==") is "a" 36 PASS window.atob("YQ\f==") is "a"
37 PASS window.atob("YQ\r==") is "a" 37 PASS window.atob("YQ\r==") is "a"
38 PASS window.atob("YQ\t\n\f\r ==") is "a" 38 PASS window.atob("YQ\t\n\f\r ==") is "a"
39 PASS window.atob("6ek=") is "éé" 39 PASS window.atob("6ek=") is "éé"
40 PASS window.atob("6ek") is "éé" 40 PASS window.atob("6ek") is "éé"
41 PASS window.atob("gIE=") is "€" 41 PASS window.atob("gIE=") is "€"
42 PASS window.atob("тест") threw exception InvalidCharacterError: 'atob' failed: T he string to be decoded contains characters outside of the Latin1 range.. 42 PASS window.atob("тест") threw exception InvalidCharacterError: Failed to execut e 'atob' on 'Window': The string to be decoded contains characters outside of th e Latin1 range..
43 PASS window.atob("z") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 43 PASS window.atob("z") threw exception InvalidCharacterError: Failed to execute ' atob' on 'Window': The string to be decoded is not correctly encoded..
44 PASS window.atob("zz") is "Ï" 44 PASS window.atob("zz") is "Ï"
45 PASS window.atob("zzz") is "Ï<" 45 PASS window.atob("zzz") is "Ï<"
46 PASS window.atob("zzz=") is "Ï<" 46 PASS window.atob("zzz=") is "Ï<"
47 PASS window.atob("zzz==") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 47 PASS window.atob("zzz==") threw exception InvalidCharacterError: Failed to execu te 'atob' on 'Window': The string to be decoded is not correctly encoded..
48 PASS window.atob("zzz===") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 48 PASS window.atob("zzz===") threw exception InvalidCharacterError: Failed to exec ute 'atob' on 'Window': The string to be decoded is not correctly encoded..
49 PASS window.atob("zzz====") threw exception InvalidCharacterError: 'atob' failed : The string to be decoded is not correctly encoded.. 49 PASS window.atob("zzz====") threw exception InvalidCharacterError: Failed to exe cute 'atob' on 'Window': The string to be decoded is not correctly encoded..
50 PASS window.atob("zzz=====") threw exception InvalidCharacterError: 'atob' faile d: The string to be decoded is not correctly encoded.. 50 PASS window.atob("zzz=====") threw exception InvalidCharacterError: Failed to ex ecute 'atob' on 'Window': The string to be decoded is not correctly encoded..
51 PASS window.atob("zzzz") is "Ï<ó" 51 PASS window.atob("zzzz") is "Ï<ó"
52 PASS window.atob("zzzzz") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 52 PASS window.atob("zzzzz") threw exception InvalidCharacterError: Failed to execu te 'atob' on 'Window': The string to be decoded is not correctly encoded..
53 PASS window.atob("z=zz") threw exception InvalidCharacterError: 'atob' failed: T he string to be decoded is not correctly encoded.. 53 PASS window.atob("z=zz") threw exception InvalidCharacterError: Failed to execut e 'atob' on 'Window': The string to be decoded is not correctly encoded..
54 PASS window.atob("=") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 54 PASS window.atob("=") threw exception InvalidCharacterError: Failed to execute ' atob' on 'Window': The string to be decoded is not correctly encoded..
55 PASS window.atob("==") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 55 PASS window.atob("==") threw exception InvalidCharacterError: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded..
56 PASS window.atob("===") threw exception InvalidCharacterError: 'atob' failed: Th e string to be decoded is not correctly encoded.. 56 PASS window.atob("===") threw exception InvalidCharacterError: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded..
57 PASS window.atob("====") threw exception InvalidCharacterError: 'atob' failed: T he string to be decoded is not correctly encoded.. 57 PASS window.atob("====") threw exception InvalidCharacterError: Failed to execut e 'atob' on 'Window': The string to be decoded is not correctly encoded..
58 PASS window.atob("=====") threw exception InvalidCharacterError: 'atob' failed: The string to be decoded is not correctly encoded.. 58 PASS window.atob("=====") threw exception InvalidCharacterError: Failed to execu te 'atob' on 'Window': The string to be decoded is not correctly encoded..
59 PASS window.atob is 0 59 PASS window.atob is 0
60 PASS typeof window.atob is "number" 60 PASS typeof window.atob is "number"
61 PASS successfullyParsed is true 61 PASS successfullyParsed is true
62 62
63 TEST COMPLETE 63 TEST COMPLETE
64 64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698