Bug 223441

Summary: Remove support for UTF-16 JSON
Product: WebKit Reporter: Anne van Kesteren <annevk>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, webkit-bug-importer, yhirano, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Anne van Kesteren 2021-03-18 05:40:29 PDT
See https://github.com/web-platform-tests/wpt/pull/28129.
Comment 1 Anne van Kesteren 2021-03-18 06:47:04 PDT
It seems that this is enforced in `fetch()`, but a "SyntaxError" DOMException is thrown rather than a SyntaxError?
Comment 2 Radar WebKit Bug Importer 2021-03-25 05:41:14 PDT
<rdar://problem/75833137>
Comment 3 yhirano 2021-06-23 01:32:43 PDT
We, Chromium, are going to follow Firefox.

https://groups.google.com/a/chromium.org/g/blink-dev/c/FmY3E3-KaYI/m/QPJFiZAkAAAJ
Comment 4 Ahmad Saleem 2022-08-06 07:52:08 PDT
We are still failing WPT test in Safari Technical Preview 150:

https://wpt.fyi/results/xhr/json.any.html?label=experimental&label=master&aligned

but this got fixed recently:

https://github.com/WebKit/WebKit/commit/c74e2dd4d5886b9a328977a6b46b98a7830b7128

I am going to mark this as duplicate of 243109.

*** This bug has been marked as a duplicate of bug 243109 ***