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

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

Issue 1253403005: Implement CSS.escape (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix final test Created 5 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
« no previous file with comments | « LayoutTests/css3/escape-dom-api.html ('k') | LayoutTests/fast/css/parsing-css-nonascii.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Test window.CSS.escape()
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS CSS.escape('\0') threw exception InvalidCharacterError: Failed to execute ' escape' on 'CSS': The string contains an invalid character..
7 PASS CSS.escape('a\0') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
8 PASS CSS.escape('\0b') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
9 PASS CSS.escape('a\0b') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
10 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"
12 PASS CSS.escape(false) is "false"
13 PASS CSS.escape(null) is "null"
14 PASS CSS.escape('') is ""
15 PASS CSS.escape('') is "\\1 \\2 \\1e \\1f "
16 PASS CSS.escape('0a') is "\\30 a"
17 PASS CSS.escape('1a') is "\\31 a"
18 PASS CSS.escape('2a') is "\\32 a"
19 PASS CSS.escape('3a') is "\\33 a"
20 PASS CSS.escape('4a') is "\\34 a"
21 PASS CSS.escape('5a') is "\\35 a"
22 PASS CSS.escape('6a') is "\\36 a"
23 PASS CSS.escape('7a') is "\\37 a"
24 PASS CSS.escape('8a') is "\\38 a"
25 PASS CSS.escape('9a') is "\\39 a"
26 PASS CSS.escape('a0b') is "a0b"
27 PASS CSS.escape('a1b') is "a1b"
28 PASS CSS.escape('a2b') is "a2b"
29 PASS CSS.escape('a3b') is "a3b"
30 PASS CSS.escape('a4b') is "a4b"
31 PASS CSS.escape('a5b') is "a5b"
32 PASS CSS.escape('a6b') is "a6b"
33 PASS CSS.escape('a7b') is "a7b"
34 PASS CSS.escape('a8b') is "a8b"
35 PASS CSS.escape('a9b') is "a9b"
36 PASS CSS.escape('-0a') is "-\\30 a"
37 PASS CSS.escape('-1a') is "-\\31 a"
38 PASS CSS.escape('-2a') is "-\\32 a"
39 PASS CSS.escape('-3a') is "-\\33 a"
40 PASS CSS.escape('-4a') is "-\\34 a"
41 PASS CSS.escape('-5a') is "-\\35 a"
42 PASS CSS.escape('-6a') is "-\\36 a"
43 PASS CSS.escape('-7a') is "-\\37 a"
44 PASS CSS.escape('-8a') is "-\\38 a"
45 PASS CSS.escape('-9a') is "-\\39 a"
46 PASS CSS.escape('--a') is "--a"
47 PASS CSS.escape('€-_©') is "€-_©"
48 PASS CSS.escape('€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ') is "\\7f €‚ƒ„…†‡ˆ‰Š‹ŒŽ‘ ’“”•–—˜™š›œžŸ"
49 PASS CSS.escape(' ¡¢') is " ¡¢"
50 PASS CSS.escape('a0123456789b') is "a0123456789b"
51 PASS CSS.escape('abcdefghijklmnopqrstuvwxyz') is "abcdefghijklmnopqrstuvwxyz"
52 PASS CSS.escape('ABCDEFGHIJKLMNOPQRSTUVWXYZ') is "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
53 PASS CSS.escape(' !xy') is "\\ \\!xy"
54 PASS CSS.escape('𝌆') is "𝌆"
55 PASS CSS.escape('���') is "���"
56 PASS CSS.escape('���') is "���"
57 PASS successfullyParsed is true
58
59 TEST COMPLETE
60
OLDNEW
« no previous file with comments | « LayoutTests/css3/escape-dom-api.html ('k') | LayoutTests/fast/css/parsing-css-nonascii.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698