| OLD | NEW |
| 1 Test window.CSS.escape() | 1 Test window.CSS.escape() |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS CSS.escape('\0') threw exception InvalidCharacterError: Failed to execute '
escape' on 'CSS': The string contains an invalid character.. | 6 PASS CSS.escape('\0') is "\\0 " |
| 7 PASS CSS.escape('a\0') threw exception InvalidCharacterError: Failed to execute
'escape' on 'CSS': The string contains an invalid character.. | 7 PASS CSS.escape('a\0') is "a\\0 " |
| 8 PASS CSS.escape('\0b') threw exception InvalidCharacterError: Failed to execute
'escape' on 'CSS': The string contains an invalid character.. | 8 PASS CSS.escape('\0b') is "\\0 b" |
| 9 PASS CSS.escape('a\0b') threw exception InvalidCharacterError: Failed to execute
'escape' on 'CSS': The string contains an invalid character.. | 9 PASS CSS.escape('a\0b') is "a\\0 b" |
| 10 PASS CSS.escape() threw exception TypeError: Failed to execute 'escape' on 'CSS'
: 1 argument required, but only 0 present.. | 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" | 11 PASS CSS.escape(true) is "true" |
| 12 PASS CSS.escape(false) is "false" | 12 PASS CSS.escape(false) is "false" |
| 13 PASS CSS.escape(null) is "null" | 13 PASS CSS.escape(null) is "null" |
| 14 PASS CSS.escape('') is "" | 14 PASS CSS.escape('') is "" |
| 15 PASS CSS.escape(' | 15 PASS CSS.escape(' |
| 16 ') is "\\1 \\2 \\1e \\1f " | 16 ') is "\\1 \\2 \\1e \\1f " |
| 17 PASS CSS.escape('0a') is "\\30 a" | 17 PASS CSS.escape('0a') is "\\30 a" |
| 18 PASS CSS.escape('1a') is "\\31 a" | 18 PASS CSS.escape('1a') is "\\31 a" |
| 19 PASS CSS.escape('2a') is "\\32 a" | 19 PASS CSS.escape('2a') is "\\32 a" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 PASS CSS.escape('abcdefghijklmnopqrstuvwxyz') is "abcdefghijklmnopqrstuvwxyz" | 57 PASS CSS.escape('abcdefghijklmnopqrstuvwxyz') is "abcdefghijklmnopqrstuvwxyz" |
| 58 PASS CSS.escape('ABCDEFGHIJKLMNOPQRSTUVWXYZ') is "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | 58 PASS CSS.escape('ABCDEFGHIJKLMNOPQRSTUVWXYZ') is "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
| 59 PASS CSS.escape(' !xy') is "\\ \\!xy" | 59 PASS CSS.escape(' !xy') is "\\ \\!xy" |
| 60 PASS CSS.escape('𝌆') is "𝌆" | 60 PASS CSS.escape('𝌆') is "𝌆" |
| 61 PASS CSS.escape('���') is "���" | 61 PASS CSS.escape('���') is "���" |
| 62 PASS CSS.escape('���') is "���" | 62 PASS CSS.escape('���') is "���" |
| 63 PASS successfullyParsed is true | 63 PASS successfullyParsed is true |
| 64 | 64 |
| 65 TEST COMPLETE | 65 TEST COMPLETE |
| 66 | 66 |
| OLD | NEW |