You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
describe('Push back ASCII characters on errors',()=>{
274
+
describe('Replacement, push back ASCII characters',()=>{
275
275
constvectors={
276
276
big5: [
277
+
[[0x80],'\uFFFD'],// Node.js fails
277
278
[[0x81,0x40],'\uFFFD@'],// WebKit fails: https://bugs.webkit.org/show_bug.cgi?id=304238. Chrome and Firefox are correct. Node.js fails (see below)
278
279
[[0x83,0x5c],'\uFFFD\x5C'],// Node.js fails: https://github.com/nodejs/node/issues/40091. Chrome and Firefox are correct. WebKit fails (see above)
279
-
[[0x87,0x87,0x40],'\uFFFD@'],// Chrome fails: https://issues.chromium.org/issues/467727340. Firefox and WebKit are correct
280
-
[[0x81,0x81],'\uFFFD'],// Chrome fails: https://issues.chromium.org/issues/467727340. Firefox and WebKit are correct
280
+
[[0x87,0x87,0x40],'\uFFFD@'],// Chrome fails: https://issues.chromium.org/issues/467727340. Firefox and WebKit are correct. iconv/whatwg-encoding fails
281
+
[[0x81,0x81],'\uFFFD'],// Chrome fails: https://issues.chromium.org/issues/467727340. Firefox and WebKit are correct. iconv/whatwg-encoding fails
281
282
],
282
283
'iso-2022-jp': [
283
284
[[0x1b,0x24],'\uFFFD$'],// Node.js fails on this. Chrome, Firefox and Safari are correct
284
-
[[0x1b,0x24,0x40,0x1b,0x24],'\uFFFD\uFFFD'],// Last 0x24 is invalid on both attemtps. Chrome fails on this
285
+
[[0x1b,0x24,0x40,0x1b,0x24],'\uFFFD\uFFFD'],// Last 0x24 is invalid on both attemtps. Chrome, WebKit, text-encoding fail on this. Firefox, Deno, Servo are correct
0 commit comments