blob: 943a2ee61ceebe076f8c933573cde62ac3fcc54b [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
ramya.v98b56292015-12-09 08:49:476PASS CSS.escape('\0') is "�"
7PASS CSS.escape('a\0') is "a�"
8PASS CSS.escape('\0b') is "�b"
9PASS CSS.escape('a\0b') is "a�b"
10PASS CSS.escape('�') is "�"
11PASS CSS.escape('a�') is "a�"
12PASS CSS.escape('�b') is "�b"
13PASS CSS.escape('a�b') is "a�b"
[email protected]81430c32015-07-28 14:52:1514PASS CSS.escape() threw exception TypeError: Failed to execute 'escape' on 'CSS': 1 argument required, but only 0 present..
15PASS CSS.escape(true) is "true"
16PASS CSS.escape(false) is "false"
17PASS CSS.escape(null) is "null"
18PASS CSS.escape('') is ""
19PASS CSS.escape('') is "\\1 \\2 \\1e \\1f "
20PASS CSS.escape('0a') is "\\30 a"
21PASS CSS.escape('1a') is "\\31 a"
22PASS CSS.escape('2a') is "\\32 a"
23PASS CSS.escape('3a') is "\\33 a"
24PASS CSS.escape('4a') is "\\34 a"
25PASS CSS.escape('5a') is "\\35 a"
26PASS CSS.escape('6a') is "\\36 a"
27PASS CSS.escape('7a') is "\\37 a"
28PASS CSS.escape('8a') is "\\38 a"
29PASS CSS.escape('9a') is "\\39 a"
30PASS CSS.escape('a0b') is "a0b"
31PASS CSS.escape('a1b') is "a1b"
32PASS CSS.escape('a2b') is "a2b"
33PASS CSS.escape('a3b') is "a3b"
34PASS CSS.escape('a4b') is "a4b"
35PASS CSS.escape('a5b') is "a5b"
36PASS CSS.escape('a6b') is "a6b"
37PASS CSS.escape('a7b') is "a7b"
38PASS CSS.escape('a8b') is "a8b"
39PASS CSS.escape('a9b') is "a9b"
40PASS CSS.escape('-0a') is "-\\30 a"
41PASS CSS.escape('-1a') is "-\\31 a"
42PASS CSS.escape('-2a') is "-\\32 a"
43PASS CSS.escape('-3a') is "-\\33 a"
44PASS CSS.escape('-4a') is "-\\34 a"
45PASS CSS.escape('-5a') is "-\\35 a"
46PASS CSS.escape('-6a') is "-\\36 a"
47PASS CSS.escape('-7a') is "-\\37 a"
48PASS CSS.escape('-8a') is "-\\38 a"
49PASS CSS.escape('-9a') is "-\\39 a"
[email protected]b0003682015-09-10 08:49:0650PASS CSS.escape('-') is "\\-"
[email protected]d7ffe7892015-09-11 04:11:5251PASS CSS.escape('-a') is "-a"
[email protected]b0003682015-09-10 08:49:0652PASS CSS.escape('--') is "--"
[email protected]81430c32015-07-28 14:52:1553PASS CSS.escape('--a') is "--a"
54PASS CSS.escape('€-_©') is "€-_©"
55PASS CSS.escape('€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ') is "\\7f €‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ"
56PASS CSS.escape(' ¡¢') is " ¡¢"
57PASS CSS.escape('a0123456789b') is "a0123456789b"
58PASS CSS.escape('abcdefghijklmnopqrstuvwxyz') is "abcdefghijklmnopqrstuvwxyz"
59PASS CSS.escape('ABCDEFGHIJKLMNOPQRSTUVWXYZ') is "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
60PASS CSS.escape(' !xy') is "\\ \\!xy"
61PASS CSS.escape('𝌆') is "𝌆"
62PASS CSS.escape('í¼†') is "í¼†"
63PASS CSS.escape('í ´') is "í ´"
64PASS successfullyParsed is true
65
66TEST COMPLETE
67