||The sandbox flags on the browsing context. These reflect the value of the
sandbox attribute of the associated IFRAME or CSP-protectable content, if
existent. See the HTML5 spec for more details.
These flags on the browsing context reflect the current state of the
sandbox attribute, which is modifiable. They are only used when loading new
content, sandbox flags are also immutably set on the document when it is
The sandbox flags of a document depend on the sandbox flags on its
browsing context and of its parent document, if any.
See nsSandboxFlags.h for the possible flags.
||Load types that correspond to the external types in nsIContentPolicy.idl.
Please also update that IDL when updating this list.
||An optimized QueryInterface method, generated by generateQI.
For JS callers, this behaves like a normal QueryInterface function. When
called with a supported interface, it returns its `this` object. When
called with an unsupported interface, it throws NS_ERROR_NO_INTERFACE.
C++ callers use a fast path, and never call the JSAPI or WebIDL methods of
||DocumentL10n is a public interface for handling DOM localization.
In it's current form it exposes the DOMLocalization API which
allows for localization-specific DOM operations on a defined
localization context, and retrival of formatted localization
messages out of that context.
The context is created when `<link rel="localization"/>` elements
are added to the document, and is removed in case all links
of that type are removed from it.
||A single frame collected by the |CompositionRecorder|.
||In a directed graph with a root node `R`, a node `A` is said to "dominate" a
node `B` iff every path from `R` to `B` contains `A`. A node `A` is said to
be the "immediate dominator" of a node `B` iff it dominates `B`, is not `B`
itself, and does not dominate any other nodes which also dominate `B` in
If we take every node from a graph `G` and create a new graph `T` with edges
to each node from its immediate dominator, then `T` is a tree (each node has
only one immediate dominator, or none if it is the root). This tree is called
a "dominator tree".
This interface represents a dominator tree constructed from a HeapSnapshot's
heap graph. The domination relationship and dominator trees are useful tools
for analyzing heap graphs because they tell you:
- Exactly what could be reclaimed by the GC if some node `A` became
unreachable: those nodes which are dominated by `A`,
- The "retained size" of a node in the heap graph, in contrast to its
"shallow size". The "shallow size" is the space taken by a node itself,
not counting anything it references. The "retained size" of a node is its
shallow size plus the size of all the things that would be collected if
the original node wasn't (directly or indirectly) referencing them. In
other words, the retained size is the shallow size of a node plus the
shallow sizes of every other node it dominates. For example, the root
node in a binary tree might have a small shallow size that does not take
up much space itself, but it dominates the rest of the binary tree and
its retained size is therefore significant (assuming no external
references into the tree).
||DOMLocalization is an extension of the Fluent Localization API.
DOMLocalization adds a state for storing `roots` - DOM elements
which translation status is controlled by the DOMLocalization
instance and monitored for mutations.
DOMLocalization also adds methods dedicated to DOM manipulation.
- connectRoot - add a root
- disconnectRoot - remove a root
- pauseObserving - pause observing of roots
- resumeObserving - resume observing of roots
- setAttributes - set l10n attributes of an element
- getAttributes - retrieve l10n attributes of an element
- translateFragment - translate a DOM fragment
- translateElements - translate a list of DOM elements
- translateRoots - translate all attached roots
||These objects support visualization of flex containers by the
||A HeapSnapshot represents a snapshot of the heap graph
||A collection of utility methods for use by devtools.
See InspectorUtils.h for documentation on these methods.
||A dictionary which represents the result of a call to a next() method on a
JS iterator object.
||Actor initialization occurs after the constructor is called but before the
first message is delivered. Until the actor is initialized, accesses to
manager will fail.
||L10nKey is an object used to carry localization tuple for message
id - identifier of a message.
args - an optional record of arguments used to format the message.
The argument will be converted to/from JSON, and the API
will only handle strings and numbers.
||Represents a simple glob pattern matcher. Any occurrence of "*" in the glob
pattern matches any literal string of characters in the string being
compared. Additionally, if created with `allowQuestion = true`, any
occurrence of "?" in the glob matches any single literal character.
||A URL match pattern as used by the WebExtension and Chrome extension APIs.
A match pattern is a string with one of the following formats:
The literal string "<all_urls>" matches any URL with a supported
A URL pattern with the following placeholders:
The protocol to match, or "*" to match either "http" or "https".
The hostname to match. May be either a complete, literal hostname to
match a specific host, the wildcard character "*", to match any host,
or a subdomain pattern, with "*." followed by a domain name, to match
that domain name or any subdomain thereof.
A glob pattern for paths to match. A "*" may appear anywhere within
the path, and will match any string of characters. If no "*" appears,
the URL path must exactly match the pattern path.
||Sets the given key to the given structured-clonable value. The value is
synchronously structured cloned, and the serialized value is saved in the
Unless flush() is called, the new value will be broadcast to content
processes after a short delay.
||data: PlacesVisit. Fired whenever a page is visited.
||Represents a pre-compiled JS script, which can be repeatedly executed in
different globals without being re-parsed.
||This is a utility namespace for promise-debugging functionality
||A callback passed to SessionStoreUtils.forEachNonDynamicChildFrame().
||A holder for structured-clonable data which can itself be cloned with
little overhead, and deserialized into an arbitrary global.
||Starts a timer associated with a telemetry histogram. The timer can be
directly associated with a histogram, or with a pair of a histogram and
@param histogram - a string which must be a valid histogram name.
@param obj - Optional parameter. If specified, the timer is
associated with this object, meaning that multiple
timers for the same histogram may be run
concurrently, as long as they are associated with
@param [options.inSeconds=false] - record elapsed time for this
histogram in seconds instead of milliseconds. Defaults to
@returns True if the timer was successfully started, false
otherwise. If a timer already exists, it can't be
started again, and the existing one will be cleared in
order to avoid measurements errors.
||Returns true if the script's match and exclude patterns match the given
URI, without reference to attributes such as `allFrames`.
||Defines the platform-level policies for a WebExtension, including its
permissions and the characteristics of its moz-extension: URLs.
||Get or create the JSWindowActor with the given name.
See WindowActorOptions from JSWindowActor.webidl for details on how to
customize actor creation.
||Obtain the columns.