OLD | NEW |
(Empty) | |
| 1 CONSOLE WARNING: line 4: Synchronous XMLHttpRequest on the main thread is deprec
ated because of its detrimental effects to the end user's experience. For more h
elp, check https://xhr.spec.whatwg.org/. |
| 2 Test encoding behavior for lone UTF-16 surrogates |
| 3 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 5 |
| 6 |
| 7 PASS decode('utf-16', '%69%D8%D6%DE%00%00') is 'U+D869/U+DED6/U+0000' |
| 8 PASS decode('utf-16', '%D6%DE%69%D8%00%00') is 'U+FFFD/U+FFFD/U+0000' |
| 9 PASS decode('utf-16', '%69%D8%00%00') is 'U+FFFD/U+0000' |
| 10 PASS decode('utf-16', '%D6%DE%00%00') is 'U+FFFD/U+0000' |
| 11 PASS decode('utf-16be', '%D8%69%DE%D6%00%00') is 'U+D869/U+DED6/U+0000' |
| 12 PASS decode('utf-16be', '%DE%D6%D8%69%00%00') is 'U+FFFD/U+FFFD/U+0000' |
| 13 PASS decode('utf-16be', '%D8%69%00%00') is 'U+FFFD/U+0000' |
| 14 PASS decode('utf-16be', '%DE%D6%00%00') is 'U+FFFD/U+0000' |
| 15 PASS successfullyParsed is true |
| 16 |
| 17 TEST COMPLETE |
| 18 |
OLD | NEW |