mirror of
https://github.com/servo/servo.git
synced 2025-09-27 15:20:09 +01:00
Remove the dom_trusted_types_enabled
preference (#39281)
Everything related to Trusted Types has been implemented. Failing WPT tests are related to other features such as SVG scripts. Fixes #36258 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
5beb16d671
commit
2f252c9b78
8 changed files with 5 additions and 9 deletions
|
@ -6,7 +6,7 @@
|
|||
* https://www.w3.org/TR/trusted-types/#trusted-html
|
||||
*/
|
||||
|
||||
[Exposed=(Window,Worker), Pref="dom_trusted_types_enabled"]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface TrustedHTML {
|
||||
stringifier;
|
||||
DOMString toJSON();
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* https://www.w3.org/TR/trusted-types/#trusted-script
|
||||
*/
|
||||
|
||||
[Exposed=(Window,Worker), Pref="dom_trusted_types_enabled"]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface TrustedScript {
|
||||
stringifier;
|
||||
DOMString toJSON();
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* https://www.w3.org/TR/trusted-types/#trused-script-url
|
||||
*/
|
||||
|
||||
[Exposed=(Window,Worker), Pref="dom_trusted_types_enabled"]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface TrustedScriptURL {
|
||||
stringifier;
|
||||
DOMString toJSON();
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* https://www.w3.org/TR/trusted-types/#trusted-type-policy
|
||||
*/
|
||||
|
||||
[Exposed=(Window,Worker), Pref="dom_trusted_types_enabled"]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface TrustedTypePolicy {
|
||||
readonly attribute DOMString name;
|
||||
[Throws] TrustedHTML createHTML(DOMString input, any... arguments);
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* https://www.w3.org/TR/trusted-types/#trusted-type-policy-factory
|
||||
*/
|
||||
|
||||
[Exposed=(Window,Worker), Pref="dom_trusted_types_enabled"]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface TrustedTypePolicyFactory {
|
||||
[Throws]
|
||||
TrustedTypePolicy createPolicy(
|
||||
|
|
|
@ -46,7 +46,6 @@ 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