summaryrefslogtreecommitdiffstats
path: root/dom/webidl/WindowOrWorkerGlobalScope.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/webidl/WindowOrWorkerGlobalScope.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/webidl/WindowOrWorkerGlobalScope.webidl')
-rw-r--r--dom/webidl/WindowOrWorkerGlobalScope.webidl7
1 files changed, 7 insertions, 0 deletions
diff --git a/dom/webidl/WindowOrWorkerGlobalScope.webidl b/dom/webidl/WindowOrWorkerGlobalScope.webidl
index 5b5f5c61f6..5e3ff86e88 100644
--- a/dom/webidl/WindowOrWorkerGlobalScope.webidl
+++ b/dom/webidl/WindowOrWorkerGlobalScope.webidl
@@ -85,3 +85,10 @@ partial interface mixin WindowOrWorkerGlobalScope {
[Replaceable, Pref="dom.enable_web_task_scheduling", SameObject]
readonly attribute Scheduler scheduler;
};
+
+
+// https://w3c.github.io/trusted-types/dist/spec/#extensions-to-the-windoworworkerglobalscope-interface
+partial interface mixin WindowOrWorkerGlobalScope {
+ [Pref="dom.security.trusted_types.enabled"]
+ readonly attribute TrustedTypePolicyFactory trustedTypes;
+};