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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/escape-dom-api-expected.txt

Issue 1498473004: CSS.escape('\0') should not throw. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding idl file changes Created 5 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 Test window.CSS.escape() 1 Test window.CSS.escape()
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS CSS.escape('\0') threw exception InvalidCharacterError: Failed to execute ' escape' on 'CSS': The string contains an invalid character.. 6 PASS CSS.escape('\0') is "�"
7 PASS CSS.escape('a\0') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character.. 7 PASS CSS.escape('a\0') is "a�"
8 PASS CSS.escape('\0b') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character.. 8 PASS CSS.escape('\0b') is "�b"
9 PASS CSS.escape('a\0b') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character.. 9 PASS CSS.escape('a\0b') is "a�b"
10 PASS CSS.escape('�') is "�"
11 PASS CSS.escape('a�') is "a�"
12 PASS CSS.escape('�b') is "�b"
13 PASS CSS.escape('a�b') is "a�b"
10 PASS CSS.escape() threw exception TypeError: Failed to execute 'escape' on 'CSS' : 1 argument required, but only 0 present.. 14 PASS CSS.escape() threw exception TypeError: Failed to execute 'escape' on 'CSS' : 1 argument required, but only 0 present..
11 PASS CSS.escape(true) is "true" 15 PASS CSS.escape(true) is "true"
12 PASS CSS.escape(false) is "false" 16 PASS CSS.escape(false) is "false"
13 PASS CSS.escape(null) is "null" 17 PASS CSS.escape(null) is "null"
14 PASS CSS.escape('') is "" 18 PASS CSS.escape('') is ""
15 PASS CSS.escape(' 19 PASS CSS.escape('
16 ') is "\\1 \\2 \\1e \\1f " 20 ') is "\\1 \\2 \\1e \\1f "
17 PASS CSS.escape('0a') is "\\30 a" 21 PASS CSS.escape('0a') is "\\30 a"
18 PASS CSS.escape('1a') is "\\31 a" 22 PASS CSS.escape('1a') is "\\31 a"
19 PASS CSS.escape('2a') is "\\32 a" 23 PASS CSS.escape('2a') is "\\32 a"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 PASS CSS.escape('abcdefghijklmnopqrstuvwxyz') is "abcdefghijklmnopqrstuvwxyz" 61 PASS CSS.escape('abcdefghijklmnopqrstuvwxyz') is "abcdefghijklmnopqrstuvwxyz"
58 PASS CSS.escape('ABCDEFGHIJKLMNOPQRSTUVWXYZ') is "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 62 PASS CSS.escape('ABCDEFGHIJKLMNOPQRSTUVWXYZ') is "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
59 PASS CSS.escape(' !xy') is "\\ \\!xy" 63 PASS CSS.escape(' !xy') is "\\ \\!xy"
60 PASS CSS.escape('𝌆') is "𝌆" 64 PASS CSS.escape('𝌆') is "𝌆"
61 PASS CSS.escape('���') is "���" 65 PASS CSS.escape('���') is "���"
62 PASS CSS.escape('���') is "���" 66 PASS CSS.escape('���') is "���"
63 PASS successfullyParsed is true 67 PASS successfullyParsed is true
64 68
65 TEST COMPLETE 69 TEST COMPLETE
66 70
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/css3/escape-dom-api.html ('k') | third_party/WebKit/Source/core/css/CSS.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698