summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/trusted-types
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/trusted-types')
-rw-r--r--testing/web-platform/meta/trusted-types/Document-write.html.ini3
-rw-r--r--testing/web-platform/meta/trusted-types/Element-outerHTML.html.ini3
-rw-r--r--testing/web-platform/meta/trusted-types/Element-setAttribute-respects-Elements-node-documents-globals-CSP.html.ini2
-rw-r--r--testing/web-platform/meta/trusted-types/Element-setAttribute.html.ini12
-rw-r--r--testing/web-platform/meta/trusted-types/Range-createContextualFragment.html.ini3
-rw-r--r--testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getPropertyType.html.ini75
-rw-r--r--testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.html.ini69
-rw-r--r--testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.html.ini2
-rw-r--r--testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.tentative.html.ini2
-rw-r--r--testing/web-platform/meta/trusted-types/block-string-assignment-to-HTMLElement-generic.html.ini9
-rw-r--r--testing/web-platform/meta/trusted-types/block-string-assignment-to-attribute-via-attribute-node.html.ini18
-rw-r--r--testing/web-platform/meta/trusted-types/modify-attributes-in-callback.html.ini2
-rw-r--r--testing/web-platform/meta/trusted-types/trusted-types-event-handlers.html.ini12
-rw-r--r--testing/web-platform/meta/trusted-types/trusted-types-svg-script-set-href.html.ini2
14 files changed, 93 insertions, 121 deletions
diff --git a/testing/web-platform/meta/trusted-types/Document-write.html.ini b/testing/web-platform/meta/trusted-types/Document-write.html.ini
index b8d9410eda..f41bafe432 100644
--- a/testing/web-platform/meta/trusted-types/Document-write.html.ini
+++ b/testing/web-platform/meta/trusted-types/Document-write.html.ini
@@ -1,3 +1,2 @@
[Document-write.html]
- [document.write with html assigned via policy (successful transformation).]
- expected: FAIL
+ prefs: [dom.security.trusted_types.enabled:true]
diff --git a/testing/web-platform/meta/trusted-types/Element-outerHTML.html.ini b/testing/web-platform/meta/trusted-types/Element-outerHTML.html.ini
index f92ced2339..eee47b47a3 100644
--- a/testing/web-platform/meta/trusted-types/Element-outerHTML.html.ini
+++ b/testing/web-platform/meta/trusted-types/Element-outerHTML.html.ini
@@ -1,3 +1,2 @@
[Element-outerHTML.html]
- [outerHTML with html assigned via policy (successful HTML transformation).]
- expected: FAIL
+ prefs: [dom.security.trusted_types.enabled:true]
diff --git a/testing/web-platform/meta/trusted-types/Element-setAttribute-respects-Elements-node-documents-globals-CSP.html.ini b/testing/web-platform/meta/trusted-types/Element-setAttribute-respects-Elements-node-documents-globals-CSP.html.ini
new file mode 100644
index 0000000000..77ec76bd76
--- /dev/null
+++ b/testing/web-platform/meta/trusted-types/Element-setAttribute-respects-Elements-node-documents-globals-CSP.html.ini
@@ -0,0 +1,2 @@
+[Element-setAttribute-respects-Elements-node-documents-globals-CSP.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/trusted-types/Element-setAttribute.html.ini b/testing/web-platform/meta/trusted-types/Element-setAttribute.html.ini
index 3324b89f0e..08606d521a 100644
--- a/testing/web-platform/meta/trusted-types/Element-setAttribute.html.ini
+++ b/testing/web-platform/meta/trusted-types/Element-setAttribute.html.ini
@@ -1,12 +1,2 @@
[Element-setAttribute.html]
- [embed.src assigned via policy (successful ScriptURL transformation)]
- expected: FAIL
-
- [script.src assigned via policy (successful ScriptURL transformation)]
- expected: FAIL
-
- [iframe.srcdoc assigned via policy (successful HTML transformation)]
- expected: FAIL
-
- [script.src assigned via policy (successful script transformation)]
- expected: FAIL
+ prefs: [dom.security.trusted_types.enabled:true]
diff --git a/testing/web-platform/meta/trusted-types/Range-createContextualFragment.html.ini b/testing/web-platform/meta/trusted-types/Range-createContextualFragment.html.ini
index b4a4624016..91b50e665d 100644
--- a/testing/web-platform/meta/trusted-types/Range-createContextualFragment.html.ini
+++ b/testing/web-platform/meta/trusted-types/Range-createContextualFragment.html.ini
@@ -1,3 +1,2 @@
[Range-createContextualFragment.html]
- [range.createContextualFragment assigned via policy (successful HTML transformation).]
- expected: FAIL
+ prefs: [dom.security.trusted_types.enabled:true]
diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getPropertyType.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getPropertyType.html.ini
deleted file mode 100644
index bb3fd7a633..0000000000
--- a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getPropertyType.html.ini
+++ /dev/null
@@ -1,75 +0,0 @@
-[TrustedTypePolicyFactory-getPropertyType.html]
- [sanity check trustedTypes.getPropertyType for the HTML script element.]
- expected: FAIL
-
- [sanity check trustedTypes.getAttributeType.]
- expected: FAIL
-
- [sanity check trustedTypes.getTypeMapping]
- expected: FAIL
-
- [getPropertyType tests adapted from w3c/trusted-types polyfill]
- expected: FAIL
-
- [getAttributeType tests adapted from w3c/trusted-types polyfill]
- expected: FAIL
-
- [getTypeMapping tests adapted from w3c/trusted-types polyfill]
- expected: FAIL
-
- [object[codeBase\] is defined]
- expected: FAIL
-
- [object.codeBase is maybe defined]
- expected: FAIL
-
- [OBJECT[codeBase\] is defined]
- expected: FAIL
-
- [OBJECT.codeBase is maybe defined]
- expected: FAIL
-
- [oBjEcT[codeBase\] is defined]
- expected: FAIL
-
- [oBjEcT.codeBase is maybe defined]
- expected: FAIL
-
- [object[CODEBASE\] is defined]
- expected: FAIL
-
- [object.CODEBASE is maybe defined]
- expected: FAIL
-
- [OBJECT[CODEBASE\] is defined]
- expected: FAIL
-
- [OBJECT.CODEBASE is maybe defined]
- expected: FAIL
-
- [oBjEcT[CODEBASE\] is defined]
- expected: FAIL
-
- [oBjEcT.CODEBASE is maybe defined]
- expected: FAIL
-
- [object[codebase\] is defined]
- expected: FAIL
-
- [object.codebase is maybe defined]
- expected: FAIL
-
- [OBJECT[codebase\] is defined]
- expected: FAIL
-
- [OBJECT.codebase is maybe defined]
- expected: FAIL
-
- [oBjEcT[codebase\] is defined]
- expected: FAIL
-
- [oBjEcT.codebase is maybe defined]
- expected: FAIL
-
- [getPropertyType vs getAttributeType for event handler.]
- expected: FAIL
diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.html.ini
new file mode 100644
index 0000000000..80c538a7d6
--- /dev/null
+++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.html.ini
@@ -0,0 +1,69 @@
+[TrustedTypePolicyFactory-getPropertyType.tentative.html]
+ [sanity check trustedTypes.getPropertyType for the HTML script element.]
+ expected: FAIL
+
+ [sanity check trustedTypes.getAttributeType.]
+ expected: FAIL
+
+ [getPropertyType tests adapted from w3c/trusted-types polyfill]
+ expected: FAIL
+
+ [getAttributeType tests adapted from w3c/trusted-types polyfill]
+ expected: FAIL
+
+ [iframe[srcDoc\] is defined]
+ expected: FAIL
+
+ [iframe.srcDoc is maybe defined]
+ expected: FAIL
+
+ [IFRAME[srcDoc\] is defined]
+ expected: FAIL
+
+ [IFRAME.srcDoc is maybe defined]
+ expected: FAIL
+
+ [iFrAmE[srcDoc\] is defined]
+ expected: FAIL
+
+ [iFrAmE.srcDoc is maybe defined]
+ expected: FAIL
+
+ [iframe[SRCDOC\] is defined]
+ expected: FAIL
+
+ [iframe.SRCDOC is maybe defined]
+ expected: FAIL
+
+ [IFRAME[SRCDOC\] is defined]
+ expected: FAIL
+
+ [IFRAME.SRCDOC is maybe defined]
+ expected: FAIL
+
+ [iFrAmE[SRCDOC\] is defined]
+ expected: FAIL
+
+ [iFrAmE.SRCDOC is maybe defined]
+ expected: FAIL
+
+ [iframe[srcdoc\] is defined]
+ expected: FAIL
+
+ [iframe.srcdoc is maybe defined]
+ expected: FAIL
+
+ [IFRAME[srcdoc\] is defined]
+ expected: FAIL
+
+ [IFRAME.srcdoc is maybe defined]
+ expected: FAIL
+
+ [iFrAmE[srcdoc\] is defined]
+ expected: FAIL
+
+ [iFrAmE.srcdoc is maybe defined]
+ expected: FAIL
+
+ [getPropertyType vs getAttributeType for event handler.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.html.ini
deleted file mode 100644
index 850dd1dbc3..0000000000
--- a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[TrustedTypePolicyFactory-metadata.html]
- expected: ERROR
diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.tentative.html.ini
new file mode 100644
index 0000000000..98e8d25b41
--- /dev/null
+++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.tentative.html.ini
@@ -0,0 +1,2 @@
+[TrustedTypePolicyFactory-metadata.tentative.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-HTMLElement-generic.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-HTMLElement-generic.html.ini
index 321aefbf62..5313f6b134 100644
--- a/testing/web-platform/meta/trusted-types/block-string-assignment-to-HTMLElement-generic.html.ini
+++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-HTMLElement-generic.html.ini
@@ -1,14 +1,5 @@
[block-string-assignment-to-HTMLElement-generic.html]
expected: ERROR
- [embed.src accepts only TrustedScriptURL]
- expected: FAIL
-
- [object.codeBase accepts only TrustedScriptURL]
- expected: FAIL
-
- [object.data accepts only TrustedScriptURL]
- expected: FAIL
-
[script.src accepts only TrustedScriptURL]
expected: FAIL
diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-attribute-via-attribute-node.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-attribute-via-attribute-node.html.ini
index 26021290bb..24bc8faca5 100644
--- a/testing/web-platform/meta/trusted-types/block-string-assignment-to-attribute-via-attribute-node.html.ini
+++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-attribute-via-attribute-node.html.ini
@@ -1,22 +1,4 @@
[block-string-assignment-to-attribute-via-attribute-node.html]
- [Set embed.src via textContent]
- expected: FAIL
-
- [Set embed.src via nodeValue]
- expected: FAIL
-
- [Set object.data via textContent]
- expected: FAIL
-
- [Set object.data via nodeValue]
- expected: FAIL
-
- [Set object.codebase via textContent]
- expected: FAIL
-
- [Set object.codebase via nodeValue]
- expected: FAIL
-
[Set script.src via textContent]
expected: FAIL
diff --git a/testing/web-platform/meta/trusted-types/modify-attributes-in-callback.html.ini b/testing/web-platform/meta/trusted-types/modify-attributes-in-callback.html.ini
new file mode 100644
index 0000000000..9eefbe0837
--- /dev/null
+++ b/testing/web-platform/meta/trusted-types/modify-attributes-in-callback.html.ini
@@ -0,0 +1,2 @@
+[modify-attributes-in-callback.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/trusted-types/trusted-types-event-handlers.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-event-handlers.html.ini
index 19d3ef57f3..7fa1663a5b 100644
--- a/testing/web-platform/meta/trusted-types/trusted-types-event-handlers.html.ini
+++ b/testing/web-platform/meta/trusted-types/trusted-types-event-handlers.html.ini
@@ -307,3 +307,15 @@
[Event handler div.oncontextlost should be blocked.]
expected: FAIL
+
+ [Event handler div.ontouchend should be blocked.]
+ expected: FAIL
+
+ [Event handler div.ontouchstart should be blocked.]
+ expected: FAIL
+
+ [Event handler div.ontouchmove should be blocked.]
+ expected: FAIL
+
+ [Event handler div.ontouchcancel should be blocked.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/trusted-types/trusted-types-svg-script-set-href.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-svg-script-set-href.html.ini
new file mode 100644
index 0000000000..115f2be20c
--- /dev/null
+++ b/testing/web-platform/meta/trusted-types/trusted-types-svg-script-set-href.html.ini
@@ -0,0 +1,2 @@
+[trusted-types-svg-script-set-href.html]
+ expected: ERROR