Skip to content

Define Browser interface - #1059

Open
oliverdunk wants to merge 1 commit into
mainfrom
browser-interface
Open

Define Browser interface#1059
oliverdunk wants to merge 1 commit into
mainfrom
browser-interface

Conversation

@oliverdunk

Copy link
Copy Markdown
Member

Defines the Browser interface so that it can be referenced from other specifications which define WebExtension APIs.

Also, update heading levels for other content to correctly create table of contents.

Defines the Browser interface so that it can be
referenced from other specifications which define
WebExtension APIs.

Also, update heading levels for other content to
correctly create table of contents.
@oliverdunk oliverdunk added the wewg Topics under the umbrella of the WEWG (WebExtensions Working Group) label Aug 10, 2026
@patrickkettner

Copy link
Copy Markdown
Contributor

Shape LGTM, but there’s linting error that needs sorting

@domfarolino

Copy link
Copy Markdown
Member

I spoke with @oliverdunk about this a little offline. It sounds like we want is interface objects annotated with [LegacyNoInterfaceObject] as this CL does, and probably [Replaceable]-annotated attributes on those objects, so that we can support what I understand extensions needs to support regarding attribute overwriting. But we should be absolutely sure we need this combination of things. For example:

Finally, regarding the failing validation step, if we're hell-bent on preserving [LegacyNoInterfacObject] semantics in our spec, then we'll have to add VALIDATE_WEBIDL: false to https://github.com/w3c/webextensions/blob/main/.github/workflows/deploy.yml#L52. But it's strongly recommended that we try and align implementations to normal interface semantics, if we can. Over a period from 2018–2021, we removed all references to LNIO in all modern specs, which required some implementation changes as I understand it, so it'd be great if we could do the same for extensions. If not, we can live with it. We just to disable webidl validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wewg Topics under the umbrella of the WEWG (WebExtensions Working Group)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants