NEW319907
Add the Local Network Access check algorithm and a NetworkProcess-resident permission stub
https://bugs.webkit.org/show_bug.cgi?id=319907
Summary Add the Local Network Access check algorithm and a NetworkProcess-resident pe...
Ian Gower
Reported 2026-07-21 11:02:43 PDT
Adds WebCore::performLocalNetworkAccessCheck(), implementing the spec's check algorithm: a same-origin/potentially-trustworthy exemption, an explicit targetAddressSpace opt-in/mismatch check, a general publicness comparison via IPAddressSpace's isLessPublicThan(), and a fail-closed result for non-secure contexts. Also adds a test-only permission stub (NetworkSession-resident, reachable via Internals) since no native permission prompt exists yet — a Prompt decision is treated as Denied until one does. Part of the Local Network Access enforcement work (meta bug 250607).
Attachments
Radar WebKit Bug Importer
Comment 1 2026-07-21 11:02:50 PDT
Ian Gower
Comment 2 2026-07-23 15:58:52 PDT
Ian Gower
Comment 3 2026-07-28 11:09:30 PDT
Note You need to log in before you can comment on or make changes to this bug.