summaryrefslogtreecommitdiffstats
path: root/dom/webidl/WindowOrWorkerGlobalScope.webidl
diff options
context:
space:
mode:
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;
+};