diff options
author | Chocolate Pie <106949016+chocolate-pie@users.noreply.github.com> | 2024-08-02 02:26:44 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-01 17:26:44 +0000 |
commit | 92866ab911cb65d09b6b46bc1fb26868854cbafe (patch) | |
tree | 7cb50444580f91ebf55b3a05d2bd638724dd7f93 /tests/wpt/meta/html | |
parent | 2cf207ddc8133f1abb85704d2d0eee9e26b52723 (diff) | |
download | servo-92866ab911cb65d09b6b46bc1fb26868854cbafe.tar.gz servo-92866ab911cb65d09b6b46bc1fb26868854cbafe.zip |
enhance: Add support for `unsafe-eval` and `wasm-unsafe-eval` (#32893)
Signed-off-by: Chocolate Pie <106949016+chocolate-pie@users.noreply.github.com>
Diffstat (limited to 'tests/wpt/meta/html')
15 files changed, 52 insertions, 54 deletions
diff --git a/tests/wpt/meta/html/dom/idlharness.https.html.ini b/tests/wpt/meta/html/dom/idlharness.https.html.ini index 16ad66da7c7..b420542d544 100644 --- a/tests/wpt/meta/html/dom/idlharness.https.html.ini +++ b/tests/wpt/meta/html/dom/idlharness.https.html.ini @@ -2002,9 +2002,6 @@ [Document interface: new Document() must inherit property "onwebkitanimationstart" with the proper type] expected: FAIL - [Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type] - expected: FAIL - [Document interface: calling queryCommandIndeterm(DOMString) on documentWithHandlers with too few arguments must throw TypeError] expected: FAIL @@ -2017,9 +2014,6 @@ [Window interface: window must inherit property "onwebkitanimationiteration" with the proper type] expected: FAIL - [Window interface: attribute onsecuritypolicyviolation] - expected: FAIL - [Window interface: window must inherit property "applicationCache" with the proper type] expected: FAIL @@ -2059,9 +2053,6 @@ [Document interface: documentWithHandlers must inherit property "execCommand(DOMString, optional boolean, optional DOMString)" with the proper type] expected: FAIL - [Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type] - expected: FAIL - [Window interface: operation print()] expected: FAIL @@ -2074,9 +2065,6 @@ [Document interface: attribute all] expected: FAIL - [Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type] - expected: FAIL - [Window interface: operation focus()] expected: FAIL @@ -2215,9 +2203,6 @@ [Document interface: operation execCommand(DOMString, optional boolean, optional DOMString)] expected: FAIL - [Document interface: attribute onsecuritypolicyviolation] - expected: FAIL - [Window interface: attribute menubar] expected: FAIL @@ -2314,9 +2299,6 @@ [Window interface: internal [[SetPrototypeOf\]\] method of interface prototype object - setting to a new value via Object.setPrototypeOf should throw a TypeError] expected: FAIL - [Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type] - expected: FAIL - [Document interface: new Document() must inherit property "queryCommandValue(DOMString)" with the proper type] expected: FAIL @@ -2892,9 +2874,6 @@ [HTMLElement interface: document.createElement("noscript") must inherit property "autocapitalize" with the proper type] expected: FAIL - [HTMLElement interface: attribute onsecuritypolicyviolation] - expected: FAIL - [HTMLTableColElement interface: document.createElement("col") must inherit property "align" with the proper type] expected: FAIL @@ -4155,9 +4134,6 @@ [HTMLObjectElement interface: document.createElement("object") must inherit property "data" with the proper type] expected: FAIL - [HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type] - expected: FAIL - [HTMLFrameElement interface: attribute contentDocument] expected: FAIL diff --git a/tests/wpt/meta/html/semantics/document-metadata/the-meta-element/pragma-directives/http-equiv-enumerated-ascii-case-insensitive.html.ini b/tests/wpt/meta/html/semantics/document-metadata/the-meta-element/pragma-directives/http-equiv-enumerated-ascii-case-insensitive.html.ini deleted file mode 100644 index b0ab6944381..00000000000 --- a/tests/wpt/meta/html/semantics/document-metadata/the-meta-element/pragma-directives/http-equiv-enumerated-ascii-case-insensitive.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[http-equiv-enumerated-ascii-case-insensitive.html] - [keyword content-security-policy] - expected: FAIL diff --git a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/code-cache-nonce.html.ini b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/code-cache-nonce.html.ini new file mode 100644 index 00000000000..359885bb37d --- /dev/null +++ b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/code-cache-nonce.html.ini @@ -0,0 +1,10 @@ +[code-cache-nonce.html] + expected: ERROR + [First dynamic import should use nonce=abc] + expected: TIMEOUT + + [Second dynamic import should use nonce=def] + expected: NOTRUN + + [Third dynamic import should use nonce=ghi] + expected: NOTRUN diff --git a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/microtasks/basic.any.js.ini b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/microtasks/basic.any.js.ini index ff014ca4c83..1bed20b7797 100644 --- a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/microtasks/basic.any.js.ini +++ b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/microtasks/basic.any.js.ini @@ -1,4 +1,5 @@ [basic.any.html] + expected: TIMEOUT [basic.any.sharedworker.html] expected: ERROR diff --git a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/propagate-nonce-external-classic.html.ini b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/propagate-nonce-external-classic.html.ini new file mode 100644 index 00000000000..1ecf634225f --- /dev/null +++ b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/propagate-nonce-external-classic.html.ini @@ -0,0 +1,2 @@ +[propagate-nonce-external-classic.html] + expected: TIMEOUT diff --git a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/propagate-nonce-external-module.html.ini b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/propagate-nonce-external-module.html.ini new file mode 100644 index 00000000000..849c9b3e60d --- /dev/null +++ b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/propagate-nonce-external-module.html.ini @@ -0,0 +1,2 @@ +[propagate-nonce-external-module.html] + expected: TIMEOUT diff --git a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/propagate-nonce-inline-classic.html.ini b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/propagate-nonce-inline-classic.html.ini new file mode 100644 index 00000000000..2874543423a --- /dev/null +++ b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/propagate-nonce-inline-classic.html.ini @@ -0,0 +1,2 @@ +[propagate-nonce-inline-classic.html] + expected: TIMEOUT diff --git a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/propagate-nonce-inline-module.html.ini b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/propagate-nonce-inline-module.html.ini new file mode 100644 index 00000000000..cb8c561fb65 --- /dev/null +++ b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/propagate-nonce-inline-module.html.ini @@ -0,0 +1,2 @@ +[propagate-nonce-inline-module.html] + expected: TIMEOUT diff --git a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/string-compilation-nonce-classic.html.ini b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/string-compilation-nonce-classic.html.ini index 6c4f4e4311b..48c8e4840d1 100644 --- a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/string-compilation-nonce-classic.html.ini +++ b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/string-compilation-nonce-classic.html.ini @@ -1,4 +1,5 @@ [string-compilation-nonce-classic.html] + expected: TIMEOUT [reflected inline event handlers must not inherit the nonce from the triggering script, thus fail] expected: FAIL diff --git a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/string-compilation-nonce-module.html.ini b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/string-compilation-nonce-module.html.ini index d01214d8061..0ef4435c360 100644 --- a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/string-compilation-nonce-module.html.ini +++ b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/string-compilation-nonce-module.html.ini @@ -1,4 +1,5 @@ [string-compilation-nonce-module.html] + expected: TIMEOUT [reflected inline event handlers must not inherit the nonce from the triggering script, thus fail] expected: FAIL diff --git a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/v8-code-cache.html.ini b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/v8-code-cache.html.ini new file mode 100644 index 00000000000..e8c2de6a972 --- /dev/null +++ b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/module/dynamic-import/v8-code-cache.html.ini @@ -0,0 +1,31 @@ +[v8-code-cache.html] + expected: ERROR + [text/javascript: Run #1] + expected: TIMEOUT + + [text/javascript: Run #2] + expected: NOTRUN + + [text/javascript: Run #3] + expected: NOTRUN + + [text/javascript: Run #4] + expected: NOTRUN + + [text/javascript: Run #5] + expected: NOTRUN + + [module: Run #1] + expected: NOTRUN + + [module: Run #2] + expected: NOTRUN + + [module: Run #3] + expected: NOTRUN + + [module: Run #4] + expected: NOTRUN + + [module: Run #5] + expected: NOTRUN diff --git a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-all-global-events.html.ini b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-all-global-events.html.ini index bcba06a84cf..6a781a5e0af 100644 --- a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-all-global-events.html.ini +++ b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-all-global-events.html.ini @@ -314,9 +314,6 @@ [onsecuritypolicyviolation: the default value must be null] expected: FAIL - [onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - [onseeked: must be on the appropriate locations for GlobalEventHandlers] expected: FAIL diff --git a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-body-window.html.ini b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-body-window.html.ini index 55b300bcfd8..b57975c29b5 100644 --- a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-body-window.html.ini +++ b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-body-window.html.ini @@ -8,9 +8,6 @@ [not shadowed contextrestored (document.body)] expected: FAIL - [not shadowed securitypolicyviolation (document.body)] - expected: FAIL - [not shadowed slotchange (document.body)] expected: FAIL @@ -44,9 +41,6 @@ [not shadowed contextrestored (document.createElement("body"))] expected: FAIL - [not shadowed securitypolicyviolation (document.createElement("body"))] - expected: FAIL - [not shadowed slotchange (document.createElement("body"))] expected: FAIL @@ -80,9 +74,6 @@ [not shadowed contextrestored (window)] expected: FAIL - [not shadowed securitypolicyviolation (window)] - expected: FAIL - [not shadowed slotchange (window)] expected: FAIL diff --git a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-frameset-window.html.ini b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-frameset-window.html.ini index 8629986643f..d5f481a86a8 100644 --- a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-frameset-window.html.ini +++ b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-frameset-window.html.ini @@ -8,9 +8,6 @@ [not shadowed contextrestored (document.body)] expected: FAIL - [not shadowed securitypolicyviolation (document.body)] - expected: FAIL - [not shadowed slotchange (document.body)] expected: FAIL @@ -44,9 +41,6 @@ [not shadowed contextrestored (document.createElement("frameset"))] expected: FAIL - [not shadowed securitypolicyviolation (document.createElement("frameset"))] - expected: FAIL - [not shadowed slotchange (document.createElement("frameset"))] expected: FAIL @@ -80,9 +74,6 @@ [not shadowed contextrestored (window)] expected: FAIL - [not shadowed securitypolicyviolation (window)] - expected: FAIL - [not shadowed slotchange (window)] expected: FAIL diff --git a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-windowless-body.html.ini b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-windowless-body.html.ini index adeee7fbca5..1745981a486 100644 --- a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-windowless-body.html.ini +++ b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-windowless-body.html.ini @@ -8,9 +8,6 @@ [contextrestored is unaffected on a windowless body] expected: FAIL - [securitypolicyviolation is unaffected on a windowless body] - expected: FAIL - [slotchange is unaffected on a windowless body] expected: FAIL @@ -35,9 +32,6 @@ [contextrestored is unaffected on a windowless frameset] expected: FAIL - [securitypolicyviolation is unaffected on a windowless frameset] - expected: FAIL - [slotchange is unaffected on a windowless frameset] expected: FAIL |