Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change namespace for Trusted-Types tests for setAttributeNS to null #44699

Change namespace for Trusted-Types tests for `setAttributeNS` to `null`

0282249
Select commit
Loading
Failed to load commit list.
Merged

Change namespace for Trusted-Types tests for setAttributeNS to null #44699

Change namespace for Trusted-Types tests for `setAttributeNS` to `null`
0282249
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-firefox-nightly-results succeeded Feb 21, 2024 in 42m 21s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in firefox.

Details

View task in Taskcluster
View logs in Taskcluster

WPT Command: python3 ./wpt run --channel=nightly --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --binary=/home/test/build/firefox/firefox firefox


test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-outerHTML.html:30:7
  FAIL `outerHTML = null` throws. - assert_throws_js: function "_ => {
      d.outerHTML = null;
    }" did not throw
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-outerHTML.html:45:21
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-outerHTML.html:42:7
  FAIL `outerHTML = string` assigned via default policy (successful HTML transformation). - can't access property "createPolicy", window.trustedTypes is undefined
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-outerHTML.html:55:13
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-outerHTML.html:54:7
  FAIL `outerHTML = null` assigned via default policy does not throw - assert_equals: expected "" but got "Fail."
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-outerHTML.html:71:18
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-outerHTML.html:67:7
/trusted-types/block-string-assignment-to-Element-setAttribute.html
  ERROR /trusted-types/block-string-assignment-to-Element-setAttribute.html - ReferenceError: trustedTypes is not defined
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setAttribute.html:12:22
/trusted-types/block-string-assignment-to-Element-setAttributeNS.html
  FAIL Element.setAttributeNS assigned via policy (successful HTML transformation) - can't access property "createPolicy", win.trustedTypes is undefined
createHTML_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:40:3
assert_element_accepts_trusted_html_set_ns@http://web-platform.test:8000/trusted-types/support/helper.sub.js:130:28
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setAttributeNS.html:13:49
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setAttributeNS.html:12:9
  FAIL Element.setAttributeNS assigned via policy (successful Script transformation) - can't access property "createPolicy", win.trustedTypes is undefined
createScript_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:44:3
assert_element_accepts_trusted_script_set_ns@http://web-platform.test:8000/trusted-types/support/helper.sub.js:136:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setAttributeNS.html:17:51
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setAttributeNS.html:16:9
  FAIL Element.setAttributeNS assigned via policy (successful ScriptURL transformation) - can't access property "createPolicy", win.trustedTypes is undefined
createScriptURL_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:48:3
assert_element_accepts_trusted_script_url_set_ns@http://web-platform.test:8000/trusted-types/support/helper.sub.js:142:33
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setAttributeNS.html:21:55
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setAttributeNS.html:20:9
  ERROR /trusted-types/block-string-assignment-to-Element-setAttributeNS.html - TypeError: can't access property "createPolicy", win.trustedTypes is undefined
createScriptURL_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:48:3
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setAttributeNS.html:34:46
/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html
  FAIL element.setHTMLUnsafe(html) assigned via policy (successful HTML transformation). - can't access property "createPolicy", win.trustedTypes is undefined
createHTML_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:40:3
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html:18:30
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html:17:7
  FAIL `element.setHTMLUnsafe(string)` throws. - assert_throws_js: function "_ => {
      d.setHTMLUnsafe("Fail");
    }" did not throw
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html:34:21
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html:31:7
  FAIL `element.setHTMLUnsafe(null)` throws. - assert_throws_js: function "_ => {
      d.outerHTML = null;
    }" did not throw
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html:46:21
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html:43:7
  FAIL `element.setHTMLUnsafe(string)` assigned via default policy (successful HTML transformation). - can't access property "createPolicy", window.trustedTypes is undefined
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html:56:13
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html:55:7
  FAIL `element.setHTMLUnsafe(string)` assigned via default policy does not throw - assert_equals: expected "null" but got "Fail\nnull"
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html:72:18
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html:68:7
/trusted-types/block-string-assignment-to-HTMLElement-generic.html
  FAIL embed.src accepts only TrustedScriptURL - can't access property "createPolicy", win.trustedTypes is undefined
createScriptURL_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:48:3
assert_element_accepts_trusted_script_url@http://web-platform.test:8000/trusted-types/support/helper.sub.js:64:33
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:24:48
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:23:9
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:22:22
  FAIL object.codeBase accepts only TrustedScriptURL - can't access property "createPolicy", win.trustedTypes is undefined
createScriptURL_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:48:3
assert_element_accepts_trusted_script_url@http://web-platform.test:8000/trusted-types/support/helper.sub.js:64:33
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:24:48
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:23:9
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:22:22
  FAIL object.data accepts only TrustedScriptURL - can't access property "createPolicy", win.trustedTypes is undefined
createScriptURL_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:48:3
assert_element_accepts_trusted_script_url@http://web-platform.test:8000/trusted-types/support/helper.sub.js:64:33
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:24:48
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:23:9
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:22:22
  FAIL script.src accepts only TrustedScriptURL - can't access property "createPolicy", win.trustedTypes is undefined
createScriptURL_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:48:3
assert_element_accepts_trusted_script_url@http://web-platform.test:8000/trusted-types/support/helper.sub.js:64:33
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:24:48
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:23:9
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:22:22
  FAIL div.innerHTML accepts only TrustedHTML - can't access property "createPolicy", win.trustedTypes is undefined
createHTML_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:40:3
assert_element_accepts_trusted_html@http://web-platform.test:8000/trusted-types/support/helper.sub.js:52:28
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:39:42
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:38:9
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:37:17
  FAIL iframe.srcdoc accepts only TrustedHTML - can't access property "createPolicy", win.trustedTypes is undefined
createHTML_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:40:3
assert_element_accepts_trusted_html@http://web-platform.test:8000/trusted-types/support/helper.sub.js:52:28
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:39:42
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:38:9
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:37:17
  ERROR /trusted-types/block-string-assignment-to-HTMLElement-generic.html - TypeError: can't access property "createPolicy", window.trustedTypes is undefined
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-HTMLElement-generic.html:46:11
/trusted-types/block-string-assignment-to-Range-createContextualFragment.html
  FAIL range.createContextualFragment assigned via policy (successful HTML transformation). - can't access property "createPolicy", win.trustedTypes is undefined
createHTML_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:40:3
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Range-createContextualFragment.html:11:30
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Range-createContextualFragment.html:10:7
  FAIL `range.createContextualFragment(string)` throws. - assert_throws_js: function "_ => {
      var result = range.createContextualFragment("A string");
    }" did not throw
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Range-createContextualFragment.html:23:21
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Range-createContextualFragment.html:20:7
  FAIL `range.createContextualFragment(null)` throws. - assert_throws_js: function "_ => {
      var result = range.createContextualFragment(null);
    }" did not throw
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Range-createContextualFragment.html:32:21
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Range-createContextualFragment.html:29:7
  FAIL `range.createContextualFragment(string)` assigned via default policy (successful HTML transformation). - can't access property "createPolicy", window.trustedTypes is undefined
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Range-createContextualFragment.html:39:13
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-Range-createContextualFragment.html:38:7
/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html
  FAIL shadowRoot.setHTMLUnsafe(html) assigned via policy (successful HTML transformation). - can't access property "createPolicy", win.trustedTypes is undefined
createHTML_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:40:3
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html:18:30
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html:17:7
  FAIL `shadowRoot.setHTMLUnsafe(string)` throws. - assert_throws_js: function "_ => {
      s.setHTMLUnsafe("Fail");
    }" did not throw
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html:36:21
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html:32:7
  FAIL `shadowRoot.setHTMLUnsafe(null)` throws. - assert_throws_js: function "_ => {
      s.setHTMLUnsafe(null);
    }" did not throw
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html:49:21
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html:45:7
  FAIL `shadowRoot.setHTMLUnsafe(string)` assigned via default policy (successful HTML transformation). - can't access property "createPolicy", window.trustedTypes is undefined
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html:59:13
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html:58:7
/trusted-types/csp-block-eval.html
  ERROR /trusted-types/csp-block-eval.html - TypeError: can't access property "createPolicy", win.trustedTypes is undefined
createScript_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:44:3
@http://web-platform.test:8000/trusted-types/csp-block-eval.html:13:32
/trusted-types/default-policy-report-only.html
  TIMEOUT Count SecurityPolicyViolation events. - Test timed out
  ERROR /trusted-types/default-policy-report-only.html - ReferenceError: trustedTypes is not defined
@http://web-platform.test:8000/trusted-types/default-policy-report-only.html:72:1
/trusted-types/default-policy.html
  TIMEOUT Count SecurityPolicyViolation events. - Test timed out
  FAIL script.src no default policy - assert_throws_js: function "_ => element[c[1]] = "nodefault"" did not throw
@http://web-platform.test:8000/trusted-types/default-policy.html:51:21
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/default-policy.html:49:7
@http://web-platform.test:8000/trusted-types/default-policy.html:48:11
  FAIL div.innerHTML no default policy - assert_throws_js: function "_ => element[c[1]] = "nodefault"" did not throw
@http://web-platform.test:8000/trusted-types/default-policy.html:51:21
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/default-policy.html:49:7
@http://web-platform.test:8000/trusted-types/default-policy.html:48:11
  FAIL script.text no default policy - assert_throws_js: function "_ => element[c[1]] = "nodefault"" did not throw
@http://web-platform.test:8000/trusted-types/default-policy.html:51:21
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/trusted-types/default-policy.html:49:7
@http://web-platform.test:8000/trusted-types/default-policy.html:48:11
  ERROR /trusted-types/default-policy.html - ReferenceError: trustedTypes is not defined
@http://web-platform.test:8000/trusted-types/default-policy.html:72:1
/trusted-types/eval-csp-no-tt.html
  ERROR /trusted-types/eval-csp-no-tt.html - ReferenceError: trustedTypes is not defined
@http://web-platform.test:8000/trusted-types/eval-csp-no-tt.html:11:13
/trusted-types/eval-csp-tt-default-policy.html
  ERROR /trusted-types/eval-csp-tt-default-policy.html - ReferenceError: trustedTypes is not defined
@http://web-platform.test:8000/trusted-types/eval-csp-tt-default-policy.html:11:3
/trusted-types/eval-csp-tt-no-default-policy.html
  ERROR /trusted-types/eval-csp-tt-no-default-policy.html - ReferenceError: trustedTypes is not defined
@http://web-platform.test:8000/trusted-types/eval-csp-tt-no-default-policy.html:11:13
/trusted-types/eval-no-csp-no-tt-default-policy.html
  ERROR /trusted-types/eval-no-csp-no-tt-default-policy.html - ReferenceError: trustedTypes is not defined
@http://web-platform.test:8000/trusted-types/eval-no-csp-no-tt-default-policy.html:11:3
/trusted-types/eval-no-csp-no-tt.html
  ERROR /trusted-types/eval-no-csp-no-tt.html - ReferenceError: trustedTypes is not defined
@http://web-platform.test:8000/trusted-types/eval-no-csp-no-tt.html:11:13
/trusted-types/eval-with-permissive-csp.html
  ERROR /trusted-types/eval-with-permissive-csp.html - TypeError: can't access property "createPolicy", win.trustedTypes is undefined
createScript_policy@http://web-platform.test:8000/trusted-types/support/helper.sub.js:44:3
@http://web-platform.test:8000/trusted-types/eval-with-permissive-csp.html:14:30
 1:55.36 INFO Got 48 unexpected results, with 0 unexpected passes
 1:55.36 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 1:55.47 wptserve INFO Stopped http server on 127.0.0.1:8446
 1:55.49 wptserve INFO Stopped http server on 127.0.0.1:8002
 1:55.49 wptserve INFO Stopped http server on 127.0.0.1:8001
 1:55.49 wptserve INFO Stopped http server on 127.0.0.1:8445
 1:55.49 wptserve INFO Stopped http server on 127.0.0.1:8003
 1:55.49 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 1:55.50 wptserve INFO Stopped http server on 127.0.0.1:8443
 1:55.50 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 1:55.50 wptserve INFO Stopped http server on 127.0.0.1:9000
 1:55.50 wptserve INFO Stopped http server on 127.0.0.1:8444
 1:55.72 wptserve INFO Stopped http server on 127.0.0.1:8000
 1:55.76 INFO Removed font: Ahem.ttf
 1:55.79 INFO Closing logging queue
 1:55.79 INFO queue closed
 1:55.79 INFO Tolerating 48 unexpected results
[taskcluster 2024-02-21 13:08:28.473Z] === Task Finished ===
[taskcluster 2024-02-21 13:08:29.339Z] Successful task run with exit code: 0 completed in 259.677 seconds