Re: [whatwg/fetch] Allow user agents to use more permissive header validation in extensions (Issue #1878)

rdcronin left a comment (whatwg/fetch#1878)

@annevk 

I'm not sure I follow -- which object do you mean by the "environment settings object"?

From an implementation standpoint, this is definitely determinable at runtime by all browsers.  There is currently no global state exposed on Window, WorkerGlobalScope, etc, that would indicate "this is a privileged extension context", and that's largely by design (I don't think we'd want to introduce such a property).

All browser implementations that support web extensions have relatively similar definitions for what privileged extension contexts are, but these are not fully specified.  My understanding is there's other instances where these types of classifications are also left up to user agent implementations to decide, e.g. when to prompt users for permissions and what the prompting may look like.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1878#issuecomment-4356968718
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1878/4356968718@github.com>

Received on Friday, 1 May 2026 00:02:13 UTC