Bug 1720653 [wpt PR 29673] - Update wpt metadata, a=testonly
☠☠ backed out by dec0a179f851 ☠ ☠
authormoz-wptsync-bot <wptsync@mozilla.com>
Fri, 16 Jul 2021 14:11:00 +0000
changeset 585880 a163466c7f99e6211f4c192a5cc97a02b6a70a60
parent 585879 a00b068f8045c547a0cbf979040c2eaf749b2bbe
child 585881 836c9f7cb430f112cedbdbebb83750ec182a3f7a
push id38620
push usercsabou@mozilla.com
push dateSun, 18 Jul 2021 09:08:29 +0000
treeherdermozilla-central@cc4e5ea0c986 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1720653, 29673
milestone92.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1720653 [wpt PR 29673] - Update wpt metadata, a=testonly wpt-pr: 29673 wpt-type: metadata
testing/web-platform/meta/sanitizer-api/element-set-sanitized-html.https.tentative.html.ini
testing/web-platform/meta/sanitizer-api/sanitizer-query-config.https.tenative.html.ini
testing/web-platform/meta/sanitizer-api/sanitizer-sanitize.https.tentative.html.ini
testing/web-platform/meta/sanitizer-api/sanitizer-sanitizeFor.https.tentative.html.ini
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/sanitizer-api/element-set-sanitized-html.https.tentative.html.ini
@@ -0,0 +1,4 @@
+[element-set-sanitized-html.https.tentative.html]
+  expected: ERROR
+  [div.setHTML should pass.]
+    expected: FAIL
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/sanitizer-api/sanitizer-query-config.https.tenative.html.ini
@@ -0,0 +1,9 @@
+[sanitizer-query-config.https.tenative.html]
+  [SanitizerAPI getDefaultConfiguration()]
+    expected: FAIL
+
+  [SanitizerAPI getConfiguration() on default created Sanitizer]
+    expected: FAIL
+
+  [SanitizerAPI getConfiguration() reflects creation config.]
+    expected: FAIL
--- a/testing/web-platform/meta/sanitizer-api/sanitizer-sanitize.https.tentative.html.ini
+++ b/testing/web-platform/meta/sanitizer-api/sanitizer-sanitize.https.tentative.html.ini
@@ -141,8 +141,71 @@
   [SanitizerAPI with config: empty dropAttributes list with id attribute, sanitize from document fragment function for empty dropAttributes list with id attribute]
     expected: FAIL
 
   [SanitizerAPI sanitize function shouldn't load the image.]
     expected: FAIL
 
   [Sanitizer.sanitize(null).]
     expected: FAIL
+
+  [SanitizerAPI with config: HTMLInputElement, sanitize from string function for HTMLInputElement]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTMLButtonElement, sanitize from string function for HTMLButtonElement]
+    expected: FAIL
+
+  [SanitizerAPI with config: malformed HTML, sanitize from string function for malformed HTML]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTML with comments; comments not allowed, sanitize from string function for HTML with comments; comments not allowed]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTML with comments; !allowComments, sanitize from string function for HTML with comments; !allowComments]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTML with comments deeper in the tree, sanitize from string function for HTML with comments deeper in the tree]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTML with comments deeper in the tree, !allowComments, sanitize from string function for HTML with comments deeper in the tree, !allowComments]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTMLInputElement, sanitize from document function for HTMLInputElement]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTMLButtonElement, sanitize from document function for HTMLButtonElement]
+    expected: FAIL
+
+  [SanitizerAPI with config: malformed HTML, sanitize from document function for malformed HTML]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTML with comments; comments not allowed, sanitize from document function for HTML with comments; comments not allowed]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTML with comments; !allowComments, sanitize from document function for HTML with comments; !allowComments]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTML with comments deeper in the tree, sanitize from document function for HTML with comments deeper in the tree]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTML with comments deeper in the tree, !allowComments, sanitize from document function for HTML with comments deeper in the tree, !allowComments]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTMLInputElement, sanitize from document fragment function for HTMLInputElement]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTMLButtonElement, sanitize from document fragment function for HTMLButtonElement]
+    expected: FAIL
+
+  [SanitizerAPI with config: malformed HTML, sanitize from document fragment function for malformed HTML]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTML with comments; comments not allowed, sanitize from document fragment function for HTML with comments; comments not allowed]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTML with comments; !allowComments, sanitize from document fragment function for HTML with comments; !allowComments]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTML with comments deeper in the tree, sanitize from document fragment function for HTML with comments deeper in the tree]
+    expected: FAIL
+
+  [SanitizerAPI with config: HTML with comments deeper in the tree, !allowComments, sanitize from document fragment function for HTML with comments deeper in the tree, !allowComments]
+    expected: FAIL
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/sanitizer-api/sanitizer-sanitizeFor.https.tentative.html.ini
@@ -0,0 +1,228 @@
+[sanitizer-sanitizeFor.https.tentative.html]
+  [Sanitizer.sanitizeFor("script", ...) should fail.]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor("iframe", ...) should fail.]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor("object", ...) should fail.]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor("div", ...) should pass.]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor(element, ..)]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor("div", "<em>Hello</em>") obeys parse context.]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor("div", "<td>data</td>") obeys parse context.]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor("template", "<em>Hello</em>") obeys parse context.]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor("template", "<td>data</td>") obeys parse context.]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor("table", "<em>Hello</em>") obeys parse context.]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor("table", "<td>data</td>") obeys parse context.]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: string]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: html fragment]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: broken html]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: empty object]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: number]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: zeros]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: arithmetic]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: empty string]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: undefined]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: document]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: html without close tag]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: scripts for default configs]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: onclick scripts]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: plaintext]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: xmp]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: invalid config_input]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: empty dropElements list]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: test html without close tag with dropElements list ['div'\]]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: default behavior for custom elements]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: allow custom elements]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: allow custom elements with allow elements]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: disallow custom elements]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: allow custom elements with drop list contains ["custom-element"\]]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: test script with ["script"\] as dropElements list]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: dropElements list ["test-element", "i"\]}]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: dropElements list ["I", "DL"\]}]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: dropElements list ["dl", "p"\]}]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: dropElements list with invalid values]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: blockElements list with invalid values]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: allowElements list ["p"\]]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: allowElements list ["p", "test"\]]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: allowElements list has no influence to dropElements]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: dropAttributes list {"style": ["p"\]} with style attribute]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: dropAttributes list {"*": ["a"\]} with style attribute]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: empty dropAttributes list with id attribute]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: dropAttributes list {"id": ["*"\]} with id attribute]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: dropAttributes list {"ID": ["*"\]} with id attribute]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: dropAttributes list {"data-attribute-with-dashes": ["*"\]} with dom dataset js access]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: allowAttributes list {"id": ["div"\]} with id attribute]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: allowAttributes list {"id": ["*"\]} with id attribute and onclick scripts]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: allowAttributes list {"*": ["a"\]} with style attribute]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: allowAttributes list has no influence to dropAttributes]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: Template element]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLAnchorElement with javascript protocal]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLAnchorElement with javascript protocal start with space]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLAnchorElement]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLAreaElement with javascript protocal]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLAreaElement with javascript protocal start with space]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLAreaElement]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLFormElement with javascript action]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLFormElement with javascript action start with space]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLFormElement]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLInputElement with javascript formaction]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLInputElement with javascript formaction start with space]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLInputElement]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLButtonElement with javascript formaction]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLButtonElement with javascript formaction start with space]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTMLButtonElement]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: malformed HTML]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTML with comments; comments not allowed]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTML with comments; allowComments]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTML with comments; !allowComments]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTML with comments deeper in the tree]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTML with comments deeper in the tree, allowComments]
+    expected: FAIL
+
+  [Sanitizer.sanitizeFor with config: HTML with comments deeper in the tree, !allowComments]
+    expected: FAIL