Bug 203832

Summary: TextDecoder is always including the BOM even if the BOM doesn't exist in the Uint8Array
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: TextAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: achristensen, mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Yusuke Suzuki
Reported 2019-11-04 17:36:35 PST
https://github.com/rustwasm/wasm-bindgen/issues/1825 This adds a quirk in wasm-bindgen for Safari.
Attachments
Yusuke Suzuki
Comment 1 2019-11-04 17:37:10 PST
I'm not sure about the correct behavior. Is WebKit behavior wrong or right?
Radar WebKit Bug Importer
Comment 2 2019-11-04 17:37:23 PST
Myles C. Maxfield
Comment 3 2019-11-04 17:47:05 PST
I think this should be considered a bug in WebKit, and instead the information the BOM would have contained should just be written down and standardized in the spec.
Alex Christensen
Comment 4 2020-09-02 20:07:20 PDT
*** This bug has been marked as a duplicate of bug 216108 ***
Note You need to log in before you can comment on or make changes to this bug.