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
Do not accept the BOM if it comes from a different encoding, and
only discard the BOM after it has actually been read (including
when it is spread over multiple chunks in streaming mode).
Fixes: #25315
PR-URL: #30132
Reviewed-By: Gus Caplan <[email protected]>
Copy file name to clipboardExpand all lines: test/wpt/status/encoding.json
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,7 @@
22
22
"fail": "iso-2022-jp decoder state handling bug: https://encoding.spec.whatwg.org/#iso-2022-jp-decoder"
23
23
},
24
24
"textdecoder-byte-order-marks.any.js": {
25
-
"fail": "Mismatching BOM should not be ignored"
26
-
},
27
-
"textdecoder-copy.any.js": {
28
-
"fail": "Should not have output BOM: https://encoding.spec.whatwg.org/#concept-td-serialize"
0 commit comments