blob: 95f066c20653b2177ef2288df71dea754206183a [file] [log] [blame]
[email protected]81430c32015-07-28 14:52:151Test window.CSS.escape()
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6PASS CSS.escape('\0') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
7PASS CSS.escape('a\0') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
8PASS CSS.escape('\0b') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
9PASS CSS.escape('a\0b') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
10PASS CSS.escape() threw exception TypeError: Failed to execute 'escape' on 'CSS': 1 argument required, but only 0 present..
11PASS CSS.escape(true) is "true"
12PASS CSS.escape(false) is "false"
13PASS CSS.escape(null) is "null"
14PASS CSS.escape('') is ""
15PASS CSS.escape('') is "\\1 \\2 \\1e \\1f "
16PASS CSS.escape('0a') is "\\30 a"
17PASS CSS.escape('1a') is "\\31 a"
18PASS CSS.escape('2a') is "\\32 a"
19PASS CSS.escape('3a') is "\\33 a"
20PASS CSS.escape('4a') is "\\34 a"
21PASS CSS.escape('5a') is "\\35 a"
22PASS CSS.escape('6a') is "\\36 a"
23PASS CSS.escape('7a') is "\\37 a"
24PASS CSS.escape('8a') is "\\38 a"
25PASS CSS.escape('9a') is "\\39 a"
26PASS CSS.escape('a0b') is "a0b"
27PASS CSS.escape('a1b') is "a1b"
28PASS CSS.escape('a2b') is "a2b"
29PASS CSS.escape('a3b') is "a3b"
30PASS CSS.escape('a4b') is "a4b"
31PASS CSS.escape('a5b') is "a5b"
32PASS CSS.escape('a6b') is "a6b"
33PASS CSS.escape('a7b') is "a7b"
34PASS CSS.escape('a8b') is "a8b"
35PASS CSS.escape('a9b') is "a9b"
36PASS CSS.escape('-0a') is "-\\30 a"
37PASS CSS.escape('-1a') is "-\\31 a"
38PASS CSS.escape('-2a') is "-\\32 a"
39PASS CSS.escape('-3a') is "-\\33 a"
40PASS CSS.escape('-4a') is "-\\34 a"
41PASS CSS.escape('-5a') is "-\\35 a"
42PASS CSS.escape('-6a') is "-\\36 a"
43PASS CSS.escape('-7a') is "-\\37 a"
44PASS CSS.escape('-8a') is "-\\38 a"
45PASS CSS.escape('-9a') is "-\\39 a"
46PASS CSS.escape('--a') is "--a"
47PASS CSS.escape('€-_©') is "€-_©"
48PASS CSS.escape('€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ') is "\\7f €‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ"
49PASS CSS.escape(' ¡¢') is " ¡¢"
50PASS CSS.escape('a0123456789b') is "a0123456789b"
51PASS CSS.escape('abcdefghijklmnopqrstuvwxyz') is "abcdefghijklmnopqrstuvwxyz"
52PASS CSS.escape('ABCDEFGHIJKLMNOPQRSTUVWXYZ') is "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
53PASS CSS.escape(' !xy') is "\\ \\!xy"
54PASS CSS.escape('𝌆') is "𝌆"
55PASS CSS.escape('í¼†') is "í¼†"
56PASS CSS.escape('í ´') is "í ´"
57PASS successfullyParsed is true
58
59TEST COMPLETE
60