Skip to content

Commit 932ed78

Browse files
ziransunlukewarlow
authored andcommitted
Resync web-platform-tests/trusted-types from upstream.
https://bugs.webkit.org/show_bug.cgi?id=273994 Reviewed by Tim Nguyen. Upstream commit: web-platform-tests/wpt@db7b1cf * LayoutTests/imported/w3c/web-platform-tests/trusted-types/Element-setAttribute-respects-Elements-node-documents-globals-CSP-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/trusted-types/Element-setAttribute-respects-Elements-node-documents-globals-CSP.html: * LayoutTests/imported/w3c/web-platform-tests/trusted-types/support/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/trusted-types/w3c-import.log: * LayoutTests/tests-options.json: Canonical link: https://commits.webkit.org/278750@main
1 parent c0163f6 commit 932ed78

File tree

5 files changed

+7
-17
lines changed

5 files changed

+7
-17
lines changed

LayoutTests/imported/w3c/web-platform-tests/trusted-types/Element-setAttribute-respects-Elements-node-documents-globals-CSP-expected.txt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,10 @@ FAIL setAttribute and setAttributeNode respect the element's node document's glo
55
Element=iframe; Parent=div; Attribute=srcdoc assert_throws_js: function "() => {
66
sourceElement.setAttributeNode(sourceAttr);
77
}" did not throw
8-
FAIL setAttribute and setAttributeNode respect the element's node document's global's CSP;
9-
Element=embed; Parent=div; Attribute=src assert_throws_js: function "() => {
10-
sourceElement.setAttributeNode(sourceAttr);
11-
}" did not throw
128
FAIL setAttribute and setAttributeNode respect the element's node document's global's CSP;
139
Element=script; Parent=div; Attribute=src assert_throws_js: function "() => {
1410
sourceElement.setAttributeNode(sourceAttr);
1511
}" did not throw
16-
FAIL setAttribute and setAttributeNode respect the element's node document's global's CSP;
17-
Element=object; Parent=div; Attribute=data assert_throws_js: function "() => {
18-
sourceElement.setAttributeNode(sourceAttr);
19-
}" did not throw
20-
FAIL setAttribute and setAttributeNode respect the element's node document's global's CSP;
21-
Element=object; Parent=div; Attribute=codebase assert_throws_js: function "() => {
22-
sourceElement.setAttributeNode(sourceAttr);
23-
}" did not throw
2412
FAIL setAttribute and setAttributeNode respect the element's node document's global's CSP;
2513
Element=script; Parent=svg; Attribute=href assert_throws_js: function "() => {
2614
sourceElement.setAttributeNode(sourceAttr);

LayoutTests/imported/w3c/web-platform-tests/trusted-types/Element-setAttribute-respects-Elements-node-documents-globals-CSP.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
<body>
1717
<div id="nonSVGTestElements">
1818
<iframe srcdoc="v"></iframe>
19-
<embed src="v" />
2019
<script src="v"></script>
21-
<object data="v"></object>
22-
<object codebase="v"></object>
2320
</div>
2421
<svg id="svgTestElements">
2522
<script href="v"></script>

LayoutTests/imported/w3c/web-platform-tests/trusted-types/support/w3c-import.log

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ List of files:
2626
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/support/navigation-report-only-support.html.headers
2727
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/support/navigation-support.html
2828
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/support/navigation-support.html.headers
29+
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/support/resolve-spv.js
2930
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/support/set-inner-html.js
3031
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/support/worker.js

LayoutTests/imported/w3c/web-platform-tests/trusted-types/w3c-import.log

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ List of files:
4949
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/TrustedTypePolicyFactory-defaultPolicy.html
5050
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/TrustedTypePolicyFactory-getAttributeType-namespace.html
5151
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/TrustedTypePolicyFactory-getAttributeType-svg.html
52-
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/TrustedTypePolicyFactory-getPropertyType.html
52+
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.html
5353
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/TrustedTypePolicyFactory-isXXX.html
54-
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/TrustedTypePolicyFactory-metadata.html
54+
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/TrustedTypePolicyFactory-metadata.tentative.html
5555
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/WEB_FEATURES.yml
5656
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/Window-TrustedTypes.html
5757
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/WorkerGlobalScope-eval.html
@@ -119,6 +119,7 @@ List of files:
119119
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-reporting.html
120120
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-reporting.html.headers
121121
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-source-file-path.html
122+
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-svg-script-set-href.html
122123
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-svg-script.html
123124
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-tojson.html
124125
/LayoutTests/imported/w3c/web-platform-tests/trusted-types/tt-block-eval.html

LayoutTests/tests-options.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5711,6 +5711,9 @@
57115711
"imported/w3c/web-platform-tests/trusted-types/TrustedTypePolicyFactory-metadata.html": [
57125712
"slow"
57135713
],
5714+
"imported/w3c/web-platform-tests/trusted-types/TrustedTypePolicyFactory-metadata.tentative.html": [
5715+
"slow"
5716+
],
57145717
"imported/w3c/web-platform-tests/trusted-types/trusted-types-reporting.html": [
57155718
"slow"
57165719
],

0 commit comments

Comments
 (0)