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

Throw exception for popovers/dialogs in non-active documents #48854

Merged
merged 1 commit into from
Oct 30, 2024

Throw exception for popovers/dialogs in non-active documents

bdf8f40
Select commit
Loading
Failed to load commit list.
Merged

Throw exception for popovers/dialogs in non-active documents #48854

Throw exception for popovers/dialogs in non-active documents
bdf8f40
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-firefox-nightly-stability succeeded Oct 30, 2024 in 6m 1s

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 | View task group in Taskcluster

Task Status

Started: 2024-10-30T05:54:38.021Z
Resolved: 2024-10-30T05:58:31.069Z
Task Execution Time: 3 minutes, 53 seconds, 48 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md

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


[taskcluster 2024-10-30 05:54:38.073Z] Task ID: YosTUkHTTYaszqoVD8SNjw
[taskcluster 2024-10-30 05:54:38.073Z] Worker ID: 164125396576270581
[taskcluster 2024-10-30 05:54:38.073Z] Worker Group: us-east4-c
[taskcluster 2024-10-30 05:54:38.073Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2024-10-30 05:54:38.073Z] Worker Pool: proj-wpt/ci
[taskcluster 2024-10-30 05:54:38.073Z] Worker Version: 46.1.0
[taskcluster 2024-10-30 05:54:38.073Z] Public IP: 34.21.13.47
[taskcluster 2024-10-30 05:54:38.073Z] Hostname: proj-wpt-ci-wqrnwl7hsbepwnr3wrocuw

[taskcluster 2024-10-30 05:54:38.891Z] === Task Starting ===
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/01-locale-fix.sh ']'
+ . /etc/profile.d/01-locale-fix.sh
+++ /usr/bin/locale-check C.UTF-8
++ eval
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/libvirt-uri.sh ']'
+ . /etc/profile.d/libvirt-uri.sh

...(3168 lines hidden)...

@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:138:7
  FAIL When the document is not attached to any pages, showModal() should throw. - assert_throws_dom: function "() => d11.showModal()" did not throw
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:184:22
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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:175:7
  FAIL when opening multiple dialogs, the most recently opened is rendered on top - assert_equals: expected Element node <dialog id="d10" open=""></dialog> but got Element node <dialog id="d11" open=""></dialog>
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:168: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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:138:7
  FAIL When the document is not attached to any pages, showModal() should throw. - assert_throws_dom: function "() => d11.showModal()" did not throw
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:184:22
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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:175:7
  FAIL when opening multiple dialogs, the most recently opened is rendered on top - assert_equals: expected Element node <dialog id="d10" open=""></dialog> but got Element node <dialog id="d11" open=""></dialog>
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:168: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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:138:7
  FAIL When the document is not attached to any pages, showModal() should throw. - assert_throws_dom: function "() => d11.showModal()" did not throw
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:184:22
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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:175:7
  FAIL when opening multiple dialogs, the most recently opened is rendered on top - assert_equals: expected Element node <dialog id="d10" open=""></dialog> but got Element node <dialog id="d11" open=""></dialog>
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:168: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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:138:7
  FAIL When the document is not attached to any pages, showModal() should throw. - assert_throws_dom: function "() => d11.showModal()" did not throw
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:184:22
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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:175:7
  FAIL when opening multiple dialogs, the most recently opened is rendered on top - assert_equals: expected Element node <dialog id="d10" open=""></dialog> but got Element node <dialog id="d11" open=""></dialog>
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:168: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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:138:7
  FAIL When the document is not attached to any pages, showModal() should throw. - assert_throws_dom: function "() => d11.showModal()" did not throw
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:184:22
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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:175:7
  FAIL when opening multiple dialogs, the most recently opened is rendered on top - assert_equals: expected Element node <dialog id="d10" open=""></dialog> but got Element node <dialog id="d11" open=""></dialog>
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:168: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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:138:7
  FAIL When the document is not attached to any pages, showModal() should throw. - assert_throws_dom: function "() => d11.showModal()" did not throw
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:184:22
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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:175:7
  FAIL when opening multiple dialogs, the most recently opened is rendered on top - assert_equals: expected Element node <dialog id="d10" open=""></dialog> but got Element node <dialog id="d11" open=""></dialog>
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:168: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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:138:7
  FAIL When the document is not attached to any pages, showModal() should throw. - assert_throws_dom: function "() => d11.showModal()" did not throw
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:184:22
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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:175:7
  FAIL when opening multiple dialogs, the most recently opened is rendered on top - assert_equals: expected Element node <dialog id="d10" open=""></dialog> but got Element node <dialog id="d11" open=""></dialog>
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:168: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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:138:7
  FAIL When the document is not attached to any pages, showModal() should throw. - assert_throws_dom: function "() => d11.showModal()" did not throw
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:184:22
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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:175:7
  FAIL when opening multiple dialogs, the most recently opened is rendered on top - assert_equals: expected Element node <dialog id="d10" open=""></dialog> but got Element node <dialog id="d11" open=""></dialog>
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:168: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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:138:7
  FAIL When the document is not attached to any pages, showModal() should throw. - assert_throws_dom: function "() => d11.showModal()" did not throw
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:184:22
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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:175:7
  FAIL when opening multiple dialogs, the most recently opened is rendered on top - assert_equals: expected Element node <dialog id="d10" open=""></dialog> but got Element node <dialog id="d11" open=""></dialog>
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:168: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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:138:7
  FAIL When the document is not attached to any pages, showModal() should throw. - assert_throws_dom: function "() => d11.showModal()" did not throw
@http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:184:22
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/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:175:7
/html/semantics/popovers/popover-active-document.html
  FAIL showPopover should throw when the document isn't active - assert_throws_dom: function "() => popover.showPopover()" did not throw
@http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:14:22
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/html/semantics/popovers/popover-active-document.html:9:7
  FAIL showPopover should throw when the document isn't active - assert_throws_dom: function "() => popover.showPopover()" did not throw
@http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:14:22
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/html/semantics/popovers/popover-active-document.html:9:7
  FAIL showPopover should throw when the document isn't active - assert_throws_dom: function "() => popover.showPopover()" did not throw
@http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:14:22
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/html/semantics/popovers/popover-active-document.html:9:7
  FAIL showPopover should throw when the document isn't active - assert_throws_dom: function "() => popover.showPopover()" did not throw
@http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:14:22
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/html/semantics/popovers/popover-active-document.html:9:7
  FAIL showPopover should throw when the document isn't active - assert_throws_dom: function "() => popover.showPopover()" did not throw
@http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:14:22
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/html/semantics/popovers/popover-active-document.html:9:7
  FAIL showPopover should throw when the document isn't active - assert_throws_dom: function "() => popover.showPopover()" did not throw
@http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:14:22
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/html/semantics/popovers/popover-active-document.html:9:7
  FAIL showPopover should throw when the document isn't active - assert_throws_dom: function "() => popover.showPopover()" did not throw
@http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:14:22
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/html/semantics/popovers/popover-active-document.html:9:7
  FAIL showPopover should throw when the document isn't active - assert_throws_dom: function "() => popover.showPopover()" did not throw
@http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:14:22
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/html/semantics/popovers/popover-active-document.html:9:7
  FAIL showPopover should throw when the document isn't active - assert_throws_dom: function "() => popover.showPopover()" did not throw
@http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:14:22
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/html/semantics/popovers/popover-active-document.html:9:7
  FAIL showPopover should throw when the document isn't active - assert_throws_dom: function "() => popover.showPopover()" did not throw
@http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:14:22
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/html/semantics/popovers/popover-active-document.html:9:7
 1:40.48 INFO Got 30 unexpected results, with 0 unexpected passes
 1:40.49 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 1:40.67 wptserve INFO Stopped http server on 127.0.0.1:8001
 1:40.67 wptserve INFO Stopped http server on 127.0.0.1:8443
 1:40.67 wptserve INFO Stopped http server on 127.0.0.1:8446
 1:40.67 wptserve INFO Stopped http server on 127.0.0.1:8002
 1:40.67 wptserve INFO Stopped http server on 127.0.0.1:8444
 1:40.67 wptserve INFO Stopped http server on 127.0.0.1:8003
 1:40.67 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 1:40.67 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 1:40.67 wptserve INFO Stopped http server on 127.0.0.1:9000
 1:40.68 wptserve INFO Stopped http server on 127.0.0.1:8445
 1:40.80 wptserve INFO Stopped http server on 127.0.0.1:8000
 1:40.83 INFO Removed font: Ahem.ttf
 1:40.86 INFO Closing logging queue
 1:40.86 INFO queue closed
 1:40.86 INFO ::: Ran 10 of expected 10 iterations.
 1:40.86 INFO ## All results ##

 1:40.87 INFO ### /html/semantics/interactive-elements/the-dialog-element/dialog-active-document.html ###
 1:40.87 INFO |                         Subtest                         | Results |                                Messages                                |
 1:40.87 INFO |---------------------------------------------------------|---------|------------------------------------------------------------------------|
 1:40.87 INFO |                                                         | OK      |                                                                        |
 1:40.87 INFO | `showModal should throw when the document isn't active` | FAIL    | `assert_throws_dom: function "() => dialog.showModal()" did not throw` |
 1:40.87 INFO 
 1:40.87 INFO ### /html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html ###
 1:40.87 INFO |                                               Subtest                                                | Results |                                                              Messages                                                             |
 1:40.87 INFO |------------------------------------------------------------------------------------------------------|---------|-----------------------------------------------------------------------------------------------------------------------------------|
 1:40.87 INFO |                                                                                                      | OK      |                                                                                                                                   |
 1:40.87 INFO | `dialog element: showModal()`                                                                        | PASS    |                                                                                                                                   |
 1:40.87 INFO | `showModal() on a <dialog> that already has an open attribute throws an InvalidStateError exception` | PASS    |                                                                                                                                   |
 1:40.87 INFO | `showModal() on a <dialog> after initial showModal() and removing the open attribute`                | PASS    |                                                                                                                                   |
 1:40.87 INFO | `showModal() on a <dialog> not in a Document throws an InvalidStateError exception`                  | PASS    |                                                                                                                                   |
 1:40.87 INFO | `when opening multiple dialogs, only the newest one is non-inert`                                    | PASS    |                                                                                                                                   |
 1:40.87 INFO | `opening dialog without focusable children`                                                          | PASS    |                                                                                                                                   |
 1:40.87 INFO | `opening dialog with multiple focusable children`                                                    | PASS    |                                                                                                                                   |
 1:40.87 INFO | `opening dialog with multiple focusable children, one having the autofocus attribute`                | PASS    |                                                                                                                                   |
 1:40.87 INFO | `when opening multiple dialogs, the most recently opened is rendered on top`                         | FAIL    | `assert_equals: expected Element node <dialog id="d10" open=""></dialog> but got Element node <dialog id="d11" open=""></dialog>` |
 1:40.87 INFO | `When the document is not attached to any pages, showModal() should throw.`                          | FAIL    | `assert_throws_dom: function "() => d11.showModal()" did not throw`                                                               |
 1:40.87 INFO 
 1:40.87 INFO ### /html/semantics/popovers/popover-active-document.html ###
 1:40.87 INFO |                          Subtest                          | Results |                                  Messages                                 |
 1:40.87 INFO |-----------------------------------------------------------|---------|---------------------------------------------------------------------------|
 1:40.87 INFO |                                                           | OK      |                                                                           |
 1:40.87 INFO | `showPopover should throw when the document isn't active` | FAIL    | `assert_throws_dom: function "() => popover.showPopover()" did not throw` |
 1:40.87 INFO 
 1:40.87 INFO ::: Running tests in a loop with restarts 10 times : PASS
 1:40.87 INFO :::
 1:40.87 INFO ::: Test verification PASS
 1:40.87 INFO :::
[taskcluster 2024-10-30 05:58:29.199Z] === Task Finished ===
[taskcluster 2024-10-30 05:58:29.533Z] Successful task run with exit code: 0 completed in 231.461 seconds