Bug 240375 - Implement `Response.json` static method
Summary: Implement `Response.json` static method
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Enhancement
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-13 02:01 PDT by Luca Casonato
Modified: 2023-03-22 06:10 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Casonato 2022-05-13 02:01:51 PDT
https://github.com/whatwg/fetch/pull/1392 adds support for a static `Response.json` method to the Fetch spec. It would be great to get this API added to WebKit to.

WPTs have already been written, and are available at https://github.com/web-platform-tests/wpt/pull/32825.
Comment 1 Radar WebKit Bug Importer 2022-05-20 02:02:12 PDT
<rdar://problem/93642247>
Comment 2 Andreu Botella 2023-02-23 08:47:40 PST
Pull request: https://github.com/WebKit/WebKit/pull/10593
Comment 3 EWS 2023-03-22 06:10:14 PDT
Committed 261960@main (206817f17f39): <https://commits.webkit.org/261960@main>

Reviewed commits have been landed. Closing PR #10593 and removing active labels.