| .eslintrc.mjs |
|
1194 |
- |
| ext-backgroundPage.js |
|
1264 |
- |
| ext-contentScripts.js |
Represents (in the child extension process) a content script registered
programmatically (instead of being included in the addon manifest).
@param {ExtensionPageContextChild} context
The extension context which has registered the content script.
@param {string} scriptId
An unique id that represents the registered content script
(generated and used internally to identify it across the different processes).
|
2072 |
- |
| ext-declarativeNetRequest.js |
|
2024 |
- |
| ext-extension.js |
|
2091 |
- |
| ext-identity.js |
|
2560 |
- |
| ext-runtime.js |
eslint-disable jsdoc/check-param-names |
5037 |
- |
| ext-scripting.js |
|
1468 |
- |
| ext-storage.js |
|
12659 |
- |
| ext-test.js |
Checks whether the given error matches the given expectations.
@param {*} error
The error to check.
@param {string | RegExp | Function | null} expectedError
The expectation to check against. If this parameter is:
- a string, the error message must exactly equal the string.
- a regular expression, it must match the error message.
- a function, it is called with the error object and its
return value is returned.
@param {BaseContext} context
@returns {boolean}
True if the error matches the expected error.
|
13273 |
- |
| ext-toolkit.js |
|
2583 |
- |
| ext-userScripts-content.js |
Represents a user script in the child content process.
This class implements the API object that is passed as a parameter to the
browser.userScripts.onBeforeScript API Event.
@param {object} params
@param {ContentScriptContextChild} params.context
The context which has registered the userScripts.onBeforeScript listener.
@param {PlainJSONValue} params.metadata
An opaque user script metadata value (as set in userScripts.register).
@param {Sandbox} params.scriptSandbox
The Sandbox object of the userScript.
|
12544 |
- |
| ext-userScripts.js |
Represents a registered userScript in the child extension process.
@param {ExtensionPageContextChild} context
The extension context which has registered the user script.
@param {string} scriptId
An unique id that represents the registered user script
(generated and used internally to identify it across the different processes).
|
5272 |
- |
| ext-webRequest.js |
|
4732 |
- |