Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e5961e3ed7e9a15be44a0a2c21c06b2a25d51859
https://github.com/WebKit/WebKit/commit/e5961e3ed7e9a15be44a0a2c21c06b2a25d51859
Author: Ian Gower <[email protected]>
Date: 2026-08-25 (Tue, 25 Aug 2026)
Changed paths:
A LayoutTests/fetch/request-target-address-space-from-init-expected.txt
A LayoutTests/fetch/request-target-address-space-from-init.html
M Source/WebCore/Modules/fetch/FetchRequest.cpp
Log Message:
-----------
fetch() ignores targetAddressSpace when constructed from a URL string
https://bugs.webkit.org/show_bug.cgi?id=321626
rdar://184756177
Reviewed by Zak Ridouh.
Only the FetchRequest-copying overload read init.targetAddressSpace, so
fetch(url, { targetAddressSpace }) and new Request(url, { targetAddressSpace })
left the default of Public. The value gates the mixed-content exemption and the
address-space mismatch check for Local Network Access,
https://wicg.github.io/local-network-access/
* LayoutTests/fetch/request-target-address-space-from-init-expected.txt: Added.
* LayoutTests/fetch/request-target-address-space-from-init.html: Added.
* Source/WebCore/Modules/fetch/FetchRequest.cpp:
(WebCore::FetchRequest::initializeWith):
Canonical link: https://commits.webkit.org/319835@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications