blob: f54fb3b77a927a05474f1e1374cb831ed1acb866 [file] [log] [blame]
Test window.CSS.escape()
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS CSS.escape.length is 1
PASS CSS.escape('\0') is "�"
PASS CSS.escape('a\0') is "a�"
PASS CSS.escape('\0b') is "�b"
PASS CSS.escape('a\0b') is "a�b"
PASS CSS.escape('�') is "�"
PASS CSS.escape('a�') is "a�"
PASS CSS.escape('�b') is "�b"
PASS CSS.escape('a�b') is "a�b"
PASS CSS.escape() threw exception TypeError: Not enough arguments.
PASS CSS.escape(undefined) is "undefined"
PASS CSS.escape(true) is "true"
PASS CSS.escape(false) is "false"
PASS CSS.escape(null) is "null"
PASS CSS.escape('') is ""
PASS CSS.escape('') is "\\1 \\2 \\1e \\1f "
PASS CSS.escape('0a') is "\\30 a"
PASS CSS.escape('1a') is "\\31 a"
PASS CSS.escape('2a') is "\\32 a"
PASS CSS.escape('3a') is "\\33 a"
PASS CSS.escape('4a') is "\\34 a"
PASS CSS.escape('5a') is "\\35 a"
PASS CSS.escape('6a') is "\\36 a"
PASS CSS.escape('7a') is "\\37 a"
PASS CSS.escape('8a') is "\\38 a"
PASS CSS.escape('9a') is "\\39 a"
PASS CSS.escape('a0b') is "a0b"
PASS CSS.escape('a1b') is "a1b"
PASS CSS.escape('a2b') is "a2b"
PASS CSS.escape('a3b') is "a3b"
PASS CSS.escape('a4b') is "a4b"
PASS CSS.escape('a5b') is "a5b"
PASS CSS.escape('a6b') is "a6b"
PASS CSS.escape('a7b') is "a7b"
PASS CSS.escape('a8b') is "a8b"
PASS CSS.escape('a9b') is "a9b"
PASS CSS.escape('-0a') is "-\\30 a"
PASS CSS.escape('-1a') is "-\\31 a"
PASS CSS.escape('-2a') is "-\\32 a"
PASS CSS.escape('-3a') is "-\\33 a"
PASS CSS.escape('-4a') is "-\\34 a"
PASS CSS.escape('-5a') is "-\\35 a"
PASS CSS.escape('-6a') is "-\\36 a"
PASS CSS.escape('-7a') is "-\\37 a"
PASS CSS.escape('-8a') is "-\\38 a"
PASS CSS.escape('-9a') is "-\\39 a"
PASS CSS.escape('-') is "\\-"
PASS CSS.escape('-a') is "-a"
PASS CSS.escape('--') is "--"
PASS CSS.escape('--a') is "--a"
PASS CSS.escape('€-_©') is "€-_©"
PASS CSS.escape('€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ') is "\\7f €‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ"
PASS CSS.escape(' ¡¢') is " ¡¢"
PASS CSS.escape('a0123456789b') is "a0123456789b"
PASS CSS.escape('abcdefghijklmnopqrstuvwxyz') is "abcdefghijklmnopqrstuvwxyz"
PASS CSS.escape('ABCDEFGHIJKLMNOPQRSTUVWXYZ') is "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
PASS CSS.escape(' !xy') is "\\ \\!xy"
PASS CSS.escape('𝌆') is "𝌆"
PASS CSS.escape('�') is "\udf06"
PASS CSS.escape('�') is "\ud834"
PASS successfullyParsed is true
TEST COMPLETE