blob: 39bb8de7ef95882fefb55426dd1cd297feaaeba7 [file] [log] [blame] [edit]
Test window.CSS.escape()
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS CSS.escape('\0') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
PASS CSS.escape('a\0') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
PASS CSS.escape('\0b') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
PASS CSS.escape('a\0b') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
PASS CSS.escape() threw exception TypeError: Failed to execute 'escape' on 'CSS': 1 argument required, but only 0 present..
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 "í¼†"
PASS CSS.escape('í ´') is "í ´"
PASS successfullyParsed is true
TEST COMPLETE