Add to the WebExtensions API in-tree docs a section with details helpful for webidl peer reviews and include it in all the webidl files generated and in the jinja template
Categories
(WebExtensions :: General, task, P2)
Tracking
(firefox111 fixed)
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: rpl, Assigned: rpl)
References
Details
(Whiteboard: [addons-jira])
Attachments
(3 files)
As a followup to Bug 1724785, and as agreed in a brief discussion on the topic in phabricator (1, 2), we should include a new section specifically meant to help remind the details of the special setup, motivations for certain choices and the restriction applied to the webidl peer that will have to review and sign-off the webidl interfaces generated from the JSONSchema for the WebExtensions API.
In particular the following one would be helpful:
-
how the interfaces defined in the webidl files related to the webextensions API are restricted to only the WebExtensions background service worker (and not made visible/available to web content)
-
why all the interfaces for the WebExtensions API are using the
LegacyNoInterfaceObject
webidl extended attribute
This new section should then be linked in the preamble inline comment part of every of the webidl files related to WebExtensions API bindings (and also in the jinja template that is used by the python script that generates and refresh webidl bindings from the WebExtensions API JSONSchema, https://searchfox.org/mozilla-central/source/toolkit/components/extensions/webidl-api/ExtensionAPI.webidl.in, to make sure the link is going to be always included in all the webidl files we will generate in the future).
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D167605
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D168376
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D168377
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/803f75a0ff78
https://hg.mozilla.org/mozilla-central/rev/3b263da63974
https://hg.mozilla.org/mozilla-central/rev/5f3709acdf47
Description
•