mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Gate window.trustedTypes
behind flag (#36511)
This was missed in #36355 and should have also been gated by the flag. With these, the wpt.fyi tests should now no longer pass, as the flag hasn't been removed yet. Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
2bab5d8d52
commit
440739090f
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ partial interface mixin WindowOrWorkerGlobalScope {
|
|||
|
||||
// https://www.w3.org/TR/trusted-types/#extensions-to-the-windoworworkerglobalscope-interface
|
||||
partial interface mixin WindowOrWorkerGlobalScope {
|
||||
[Pref="dom_trusted_types_enabled"]
|
||||
readonly attribute TrustedTypePolicyFactory trustedTypes;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue