Page MenuHomePhabricator

Bug 1940382 - Part 1: Update ScriptLikeOrInvalid for type json.
ClosedPublic

Authored by allstarschh on Jan 20 2025, 1:39 PM.
Referenced Files
Unknown Object (File)
Sat, Apr 18, 9:42 AM
Unknown Object (File)
Tue, Apr 14, 7:58 AM
Unknown Object (File)
Mon, Apr 13, 3:26 PM
Unknown Object (File)
Mon, Apr 13, 3:03 PM
Unknown Object (File)
Mon, Apr 13, 11:20 AM
Unknown Object (File)
Mon, Apr 13, 6:57 AM
Unknown Object (File)
Mon, Apr 13, 6:24 AM
Unknown Object (File)
Mon, Apr 13, 5:50 AM
Subscribers

Details

Summary

https://fetch.spec.whatwg.org/#request-destination-script-like
Currently "json" is not treated as script-like destination.

Add "json" to the IsScriptLikeOrInvalid function to ensure it returns false for
"json".

Diff Detail

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
hsinyi added a reviewer: farre. hsinyi removed 1 blocking reviewer(s): dom-core.Jan 21 2025, 4:31 PM
This revision is now accepted and ready to land.Jan 22 2025, 7:11 AM