Bug 1813164 - Add link to WebExtensions webidl docs to non-autogenerated WebExtensions webidl files. r=willdurand,smaug

Differential Revision: https://phabricator.services.mozilla.com/D168377
This commit is contained in:
Luca Greco
2023-02-03 07:01:37 +00:00
parent d575552b5a
commit b09ba51c90
5 changed files with 56 additions and 8 deletions

View File

@@ -3,12 +3,21 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* You are granted a license to use, reproduce and create derivative works of
* this document.
*
* This IDL file is related to interface mixin for the additional globals that should be
* available in windows and service workers allowed to access the WebExtensions API and
* the WebExtensions browser API namespace.
*
* You are granted a license to use, reproduce and create derivative works of
* this document.
* More info about generating webidl API bindings for WebExtensions API at:
*
* https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html
*
* A short summary of the special setup used by these WebIDL files (meant to aid
* webidl peers reviews and sign-offs) is available in the following section:
*
* https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html#review-process-on-changes-to-webidl-definitions
*/
// WebExtensions API interface mixin (used to include ExtensionBrowser interface

View File

@@ -3,10 +3,19 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This IDL file is related to the WebExtensions API object.
*
* You are granted a license to use, reproduce and create derivative works of
* this document.
*
* This IDL file is related to the WebExtensions API object.
*
* More info about generating webidl API bindings for WebExtensions API at:
*
* https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html
*
* A short summary of the special setup used by these WebIDL files (meant to aid
* webidl peers reviews and sign-offs) is available in the following section:
*
* https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html#review-process-on-changes-to-webidl-definitions
*/
[Exposed=(ServiceWorker), LegacyNoInterfaceObject]

View File

@@ -4,6 +4,18 @@
*
* You are granted a license to use, reproduce and create derivative works of
* this document.
*
* This IDL file is related to the WebExtensions API object only used in
* unit tests.
*
* More info about generating webidl API bindings for WebExtensions API at:
*
* https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html
*
* A short summary of the special setup used by these WebIDL files (meant to aid
* webidl peers reviews and sign-offs) is available in the following section:
*
* https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html#review-process-on-changes-to-webidl-definitions
*/
// WebIDL definition for the "mockExtensionAPI" WebExtensions API,

View File

@@ -3,10 +3,19 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This IDL file is related to the WebExtensions browser.runtime's Port.
*
* You are granted a license to use, reproduce and create derivative works of
* this document.
*
* This IDL file is related to the WebExtensions browser.runtime's Port.
*
* More info about generating webidl API bindings for WebExtensions API at:
*
* https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html
*
* A short summary of the special setup used by these WebIDL files (meant to aid
* webidl peers reviews and sign-offs) is available in the following section:
*
* https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html#review-process-on-changes-to-webidl-definitions
*/
[Exposed=(ServiceWorker), LegacyNoInterfaceObject]

View File

@@ -3,14 +3,23 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* You are granted a license to use, reproduce and create derivative works of
* this document.
*
* This IDL file is related to the WebExtensions API object.
*
* The ExtensionSetting interface is used by the API namespace that expose
* settings API sub-namespaces (in particular browserSettings, proxy,
* captivePortal and privacy WebExtensions APIs).
*
* You are granted a license to use, reproduce and create derivative works of
* this document.
* More info about generating webidl API bindings for WebExtensions API at:
*
* https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html
*
* A short summary of the special setup used by these WebIDL files (meant to aid
* webidl peers reviews and sign-offs) is available in the following section:
*
* https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html#review-process-on-changes-to-webidl-definitions
*/
[Exposed=(ServiceWorker), LegacyNoInterfaceObject]