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

Add test for Trusted Types that mutation observers receive the default policy value when setAttribute is called #44673

Add test that mutation observers receive the default policy value whe…

b523d7b
Select commit
Loading
Failed to load commit list.
Merged

Add test for Trusted Types that mutation observers receive the default policy value when setAttribute is called #44673

Add test that mutation observers receive the default policy value whe…
b523d7b
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-firefox-nightly-stability succeeded Feb 20, 2024 in 6m 35s

Community-TC (pull_request)

Verify that all tests affected by a pull request are stable when executed in firefox.

Details

View task in Taskcluster
View logs in Taskcluster

WPT Command: python3 ./wpt run --channel=nightly --verify --verify-no-chaos-mode --verify-repeat-loop=0 --verify-repeat-restart=10 --github-checks-text-file=/home/test/artifacts/checkrun.md --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


 0:59.92 INFO Starting runner
 1:00.61 pid:3287 Full command: /home/test/build/firefox/firefox --marionette about:blank
pid:3287 [GFX1-]: glxtest: libpci missing
 1:00.64 pid:3287 ATTENTION: default value of option mesa_glthread overridden by environment.
 1:00.72 pid:3287 1708431027502	Marionette	INFO	Marionette enabled
 1:00.80 pid:3287 ATTENTION: default value of option mesa_glthread overridden by environment.
 1:00.87 pid:3287 1708431027644	Marionette	INFO	Listening on port 55687
 1:01.77 pid:3287 console.error: ({})
 1:02.66 pid:3287 [ERROR error_support::handling] suggest-unexpected: Error from Remote Settings: Error parsing URL: relative URL with a cannot-be-a-base base
 1:03.03 TEST_START: /trusted-types/block-string-assignment-to-Element-setAttribute.html
 1:03.18 pid:3287 JavaScript error: http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setAttribute.html, line 12: ReferenceError: trustedTypes is not defined
 1:03.19 TEST_END: ERROR, expected OK
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
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
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
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
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
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
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
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

 1:03.20 INFO No more tests
 1:03.20 INFO No more tests
 1:03.20 pid:3287 1708431029976	Marionette	INFO	Stopped listening on port 55687
 1:03.88 pid:3287 console.error: ({})
 1:04.14 INFO Browser exited with return code 0
 1:03.86 INFO Closing logging queue
 1:03.86 INFO queue closed
 1:04.16 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 8 checks (8 tests)
Expected results: 0
Unexpected results: 8
  test: 8 (8 error)

Unexpected Results
------------------
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
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
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
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
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
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
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
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
 1:04.16 INFO Got 8 unexpected results, with 0 unexpected passes
 1:04.16 INFO Repetition 9 / 10
 1:04.16 SUITE_START: web-platform-test - running 1 tests
 1:04.16 INFO Using 1 child processes
 1:04.18 INFO Setting up ssl
 1:04.22 certutil b''
 1:04.26 certutil b''
 1:04.28 certutil b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \n'
 1:04.28 INFO Application command: /home/test/build/firefox/firefox --marionette about:blank -profile /tmp/tmp7_y6j3td
 1:04.29 INFO Starting runner
 1:04.93 pid:3562 Full command: /home/test/build/firefox/firefox --marionette about:blank
pid:3562 [GFX1-]: glxtest: libpci missing
 1:04.96 pid:3562 ATTENTION: default value of option mesa_glthread overridden by environment.
 1:05.05 pid:3562 1708431031825	Marionette	INFO	Marionette enabled
 1:05.12 pid:3562 ATTENTION: default value of option mesa_glthread overridden by environment.
 1:05.17 pid:3562 1708431031947	Marionette	INFO	Listening on port 44367
 1:06.07 pid:3562 console.error: ({})
 1:06.98 pid:3562 [ERROR error_support::handling] suggest-unexpected: Error from Remote Settings: Error parsing URL: relative URL with a cannot-be-a-base base
 1:07.38 TEST_START: /trusted-types/block-string-assignment-to-Element-setAttribute.html
 1:07.57 pid:3562 JavaScript error: http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setAttribute.html, line 12: ReferenceError: trustedTypes is not defined
 1:07.60 TEST_END: ERROR, expected OK
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
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
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
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
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
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
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
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
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

 1:07.60 INFO No more tests
 1:07.60 INFO No more tests
 1:07.61 pid:3562 1708431034383	Marionette	INFO	Stopped listening on port 44367
 1:08.20 pid:3562 console.error: ({})
 1:08.48 INFO Browser exited with return code 0
 1:08.18 INFO Closing logging queue
 1:08.18 INFO queue closed
 1:08.50 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 9 checks (9 tests)
Expected results: 0
Unexpected results: 9
  test: 9 (9 error)

Unexpected Results
------------------
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
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
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
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
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
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
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
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
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
 1:08.50 INFO Got 9 unexpected results, with 0 unexpected passes
 1:08.50 INFO Repetition 10 / 10
 1:08.50 SUITE_START: web-platform-test - running 1 tests
 1:08.50 INFO Using 1 child processes
 1:08.51 INFO Setting up ssl
 1:08.56 certutil b''
 1:08.60 certutil b''
 1:08.61 certutil b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \n'
 1:08.62 INFO Application command: /home/test/build/firefox/firefox --marionette about:blank -profile /tmp/tmpa2pvay3x
 1:08.63 INFO Starting runner
 1:09.21 pid:3838 Full command: /home/test/build/firefox/firefox --marionette about:blank
pid:3838 [GFX1-]: glxtest: libpci missing
 1:09.24 pid:3838 ATTENTION: default value of option mesa_glthread overridden by environment.
 1:09.32 pid:3838 1708431036093	Marionette	INFO	Marionette enabled
 1:09.38 pid:3838 ATTENTION: default value of option mesa_glthread overridden by environment.
 1:09.44 pid:3838 1708431036223	Marionette	INFO	Listening on port 45515
 1:10.26 pid:3838 console.error: ({})
 1:11.10 pid:3838 [ERROR error_support::handling] suggest-unexpected: Error from Remote Settings: Error parsing URL: relative URL with a cannot-be-a-base base
 1:11.46 TEST_START: /trusted-types/block-string-assignment-to-Element-setAttribute.html
 1:11.65 pid:3838 JavaScript error: http://web-platform.test:8000/trusted-types/block-string-assignment-to-Element-setAttribute.html, line 12: ReferenceError: trustedTypes is not defined
 1:11.68 TEST_END: ERROR, expected OK
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
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
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
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
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
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
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
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
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
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

 1:11.69 INFO No more tests
 1:11.69 INFO No more tests
 1:11.69 pid:3838 1708431038470	Marionette	INFO	Stopped listening on port 45515
 1:12.36 pid:3838 console.error: ({})
 1:12.65 INFO Browser exited with return code 0
 1:12.34 INFO Closing logging queue
 1:12.34 INFO queue closed
 1:12.66 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 10 checks (10 tests)
Expected results: 0
Unexpected results: 10
  test: 10 (10 error)

Unexpected Results
------------------
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
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
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
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
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
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
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
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
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
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
 1:12.66 INFO Got 10 unexpected results, with 0 unexpected passes
 1:12.67 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 1:13.08 wptserve INFO Stopped http server on 127.0.0.1:8001
 1:13.08 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 1:13.08 wptserve INFO Stopped http server on 127.0.0.1:8003
 1:13.08 wptserve INFO Stopped http server on 127.0.0.1:8444
 1:13.10 wptserve INFO Stopped http server on 127.0.0.1:8443
 1:13.10 wptserve INFO Stopped http server on 127.0.0.1:9000
 1:13.11 wptserve INFO Stopped http server on 127.0.0.1:8446
 1:13.11 wptserve INFO Stopped http server on 127.0.0.1:8445
 1:13.11 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 1:13.11 wptserve INFO Stopped http server on 127.0.0.1:8002
 1:13.14 wptserve INFO Stopped http server on 127.0.0.1:8000
 1:13.31 INFO Removed font: Ahem.ttf
 1:13.34 INFO Closing logging queue
 1:13.35 INFO queue closed
 1:13.36 INFO ::: Ran 10 of expected 10 iterations.
 1:13.36 INFO ## All results ##

 1:13.36 INFO ### /trusted-types/block-string-assignment-to-Element-setAttribute.html ###
 1:13.36 INFO | Subtest | Results | Messages |
 1:13.36 INFO |---------|---------|----------|
 1:13.36 INFO |         | ERROR   |          |
 1:13.36 INFO 
 1:13.36 INFO ::: Running tests in a loop with restarts 10 times : PASS
 1:13.36 INFO :::
 1:13.36 INFO ::: Test verification PASS
 1:13.36 INFO :::
[taskcluster 2024-02-20 12:10:42.242Z] === Task Finished ===
[taskcluster 2024-02-20 12:10:42.636Z] Successful task run with exit code: 0 completed in 217.752 seconds