| 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 "�" |
| 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�" |
| 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 "�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�b" |
| 10 PASS CSS.escape('�') is "�" |
| 11 PASS CSS.escape('a�') is "a�" |
| 12 PASS CSS.escape('�b') is "�b" |
| 13 PASS CSS.escape('a�b') is "a�b" |
| 10 PASS CSS.escape() threw exception TypeError: Failed to execute 'escape' on 'CSS'
: 1 argument required, but only 0 present.. | 14 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" | 15 PASS CSS.escape(true) is "true" |
| 12 PASS CSS.escape(false) is "false" | 16 PASS CSS.escape(false) is "false" |
| 13 PASS CSS.escape(null) is "null" | 17 PASS CSS.escape(null) is "null" |
| 14 PASS CSS.escape('') is "" | 18 PASS CSS.escape('') is "" |
| 15 PASS CSS.escape(' | 19 PASS CSS.escape(' |
| 16 ') is "\\1 \\2 \\1e \\1f " | 20 ') is "\\1 \\2 \\1e \\1f " |
| 17 PASS CSS.escape('0a') is "\\30 a" | 21 PASS CSS.escape('0a') is "\\30 a" |
| 18 PASS CSS.escape('1a') is "\\31 a" | 22 PASS CSS.escape('1a') is "\\31 a" |
| 19 PASS CSS.escape('2a') is "\\32 a" | 23 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" | 61 PASS CSS.escape('abcdefghijklmnopqrstuvwxyz') is "abcdefghijklmnopqrstuvwxyz" |
| 58 PASS CSS.escape('ABCDEFGHIJKLMNOPQRSTUVWXYZ') is "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | 62 PASS CSS.escape('ABCDEFGHIJKLMNOPQRSTUVWXYZ') is "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
| 59 PASS CSS.escape(' !xy') is "\\ \\!xy" | 63 PASS CSS.escape(' !xy') is "\\ \\!xy" |
| 60 PASS CSS.escape('𝌆') is "𝌆" | 64 PASS CSS.escape('𝌆') is "𝌆" |
| 61 PASS CSS.escape('���') is "���" | 65 PASS CSS.escape('���') is "���" |
| 62 PASS CSS.escape('���') is "���" | 66 PASS CSS.escape('���') is "���" |
| 63 PASS successfullyParsed is true | 67 PASS successfullyParsed is true |
| 64 | 68 |
| 65 TEST COMPLETE | 69 TEST COMPLETE |
| 66 | 70 |
| OLD | NEW |