summaryrefslogtreecommitdiffstats
path: root/dom/chrome-webidl/ChromeUtils.webidl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /dom/chrome-webidl/ChromeUtils.webidl
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/chrome-webidl/ChromeUtils.webidl')
-rw-r--r--dom/chrome-webidl/ChromeUtils.webidl18
1 files changed, 9 insertions, 9 deletions
diff --git a/dom/chrome-webidl/ChromeUtils.webidl b/dom/chrome-webidl/ChromeUtils.webidl
index 443afcb86d..3ccb125a1e 100644
--- a/dom/chrome-webidl/ChromeUtils.webidl
+++ b/dom/chrome-webidl/ChromeUtils.webidl
@@ -327,6 +327,8 @@ namespace ChromeUtils {
*
* In worker threads, aOption is required and only { global: "current" } and
* { global: "contextual" } are supported.
+ *
+ * In DevTools distinct global, aOptions.global is reuiqred.
*/
[Throws]
object importESModule(DOMString aResourceURI,
@@ -344,6 +346,8 @@ namespace ChromeUtils {
*
* In worker threads, aOption is required and only { global: "current" } and
* { global: "contextual" } are supported.
+ *
+ * In DevTools distinct global, aOptions.global is reuiqred.
*/
[Throws]
undefined defineESModuleGetters(object aTarget, object aModules,
@@ -540,6 +544,9 @@ partial namespace ChromeUtils {
* the same file will not cause the module to be re-evaluated, but
* the symbols in EXPORTED_SYMBOLS will be exported into the
* specified target object and the global object returned as above.
+ *
+ * TODO: Remove this once m-c, c-c, and out-of-tree code migrations finish
+ * (bug 1881888).
*/
[Throws]
object import(UTF8String aResourceURI, optional object aTargetObj);
@@ -947,7 +954,6 @@ dictionary IOActivityDataDictionary {
[GenerateInitFromJSON]
dictionary OriginAttributesDictionary {
unsigned long userContextId = 0;
- boolean inIsolatedMozBrowser = false;
unsigned long privateBrowsingId = 0;
DOMString firstPartyDomain = "";
DOMString geckoViewSessionContextId = "";
@@ -957,7 +963,6 @@ dictionary OriginAttributesDictionary {
[GenerateInitFromJSON, GenerateToJSON]
dictionary OriginAttributesPatternDictionary {
unsigned long userContextId;
- boolean inIsolatedMozBrowser;
unsigned long privateBrowsingId;
DOMString firstPartyDomain;
DOMString geckoViewSessionContextId;
@@ -1030,13 +1035,8 @@ enum ImportESModuleTargetGlobal {
};
dictionary ImportESModuleOptionsDictionary {
- /**
- * If true, a distinct module loader will be used, in the system principal,
- * but with a distinct global so that the DevTools can load a distinct set
- * of modules and do not interfere with its debuggee.
- */
- boolean loadInDevToolsLoader;
-
+ // This field is required for importESModule and defineESModuleGetters in
+ // DevTools distinct global.
ImportESModuleTargetGlobal global;
};