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-chrome-dev-results succeeded Oct 30, 2024 in 2m 8s

Community-TC (pull_request)

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

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2024-10-30T05:52:30.650Z
Resolved: 2024-10-30T05:54:37.879Z
Task Execution Time: 2 minutes, 7 seconds, 229 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
- public/results/wpt_report.json.gz
- public/results/wpt_screenshot.txt.gz

WPT Command: python3 ./wpt run --channel=dev --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 --enable-swiftshader --install-browser --install-webdriver chrome


[taskcluster 2024-10-30 05:52:30.697Z] Task ID: Kvbu4hnqQvWb8WPP8EToUg
[taskcluster 2024-10-30 05:52:30.697Z] Worker ID: 1709685518528938414
[taskcluster 2024-10-30 05:52:30.697Z] Worker Group: us-central1-f
[taskcluster 2024-10-30 05:52:30.697Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2024-10-30 05:52:30.697Z] Worker Pool: proj-wpt/ci
[taskcluster 2024-10-30 05:52:30.697Z] Worker Version: 46.1.0
[taskcluster 2024-10-30 05:52:30.697Z] Public IP: 34.69.227.177
[taskcluster 2024-10-30 05:52:30.697Z] Hostname: proj-wpt-ci-grzle4yxqfg4s7mcfd2ccq

[taskcluster 2024-10-30 05:52:31.385Z] === 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

...(370 lines hidden)...

Setting default value
Failed to read: session.screen0.allowRemoteActions
Setting default value
Failed to read: session.screen0.clientMenu.usePixmap
Setting default value
Failed to read: session.screen0.tabs.usePixmap
Setting default value
Failed to read: session.screen0.tabs.maxOver
Setting default value
Failed to read: session.screen0.tabs.intitlebar
Setting default value
Failed to read: session.screen0.focusModel
Setting default value
Failed to read: session.screen0.tabFocusModel
Setting default value
Failed to read: session.screen0.focusNewWindows
Setting default value
Failed to read: session.screen0.focusSameHead
Setting default value
Failed to read: session.screen0.rowPlacementDirection
Setting default value
Failed to read: session.screen0.colPlacementDirection
Setting default value
Failed to read: session.screen0.windowPlacement
Setting default value
Failed to read: session.screen0.slit.acceptKdeDockapps
Setting default value
Failed to read: session.screen0.slit.autoHide
Setting default value
Failed to read: session.screen0.slit.maxOver
Setting default value
Failed to read: session.screen0.slit.placement
Setting default value
Failed to read: session.screen0.slit.alpha
Setting default value
Failed to read: session.screen0.slit.onhead
Setting default value
Failed to read: session.screen0.slit.layer
Setting default value
Failed to read: session.screen0.toolbar.autoHide
Setting default value
Failed to read: session.screen0.toolbar.maxOver
Setting default value
Failed to read: session.screen0.toolbar.visible
Setting default value
Failed to read: session.screen0.toolbar.alpha
Setting default value
Failed to read: session.screen0.toolbar.layer
Setting default value
Failed to read: session.screen0.toolbar.onhead
Setting default value
Failed to read: session.screen0.toolbar.placement
Setting default value
Failed to read: session.screen0.toolbar.height
Setting default value
Failed to read: session.screen0.iconbar.mode
Setting default value
Failed to read: session.screen0.iconbar.alignment
Setting default value
Failed to read: session.screen0.iconbar.iconWidth
Setting default value
Failed to read: session.screen0.iconbar.iconTextPadding
Setting default value
Failed to read: session.screen0.iconbar.usePixmap
Setting default value
 0:00.00 INFO Set tests_root to /home/test/web-platform-tests
 0:00.00 INFO Set metadata_root to /home/test/web-platform-tests
 0:00.00 INFO Set manifest_update to True
 0:00.00 INFO Set manifest_download to True
 0:08.06 INFO Identified 3 affected tests
 0:08.06 INFO Installing browser
 0:08.14 INFO Downloading Chrome for Testing from https://storage.googleapis.com/chrome-for-testing-public/132.0.6793.2/linux64/chrome-linux64.zip
 0:11.23 INFO Downloading Mojo bindings from https://storage.googleapis.com/chrome-for-testing-public/132.0.6793.2/mojojs.zip
 0:11.30 INFO MojoJS enabled automatically (mojojs_path: /home/test/web-platform-tests/_venv3/mojojs/gen)
 0:11.32 INFO Download info for matching ChromeDriver version found.
 0:11.32 INFO Downloading ChromeDriver from https://storage.googleapis.com/chrome-for-testing-public/132.0.6793.2/linux64/chromedriver-linux64.zip
 0:11.64 INFO Automatically turning on experimental features for Chrome Dev/Canary or Chromium trunk
mem avail: 14710 of 15806 MiB (93 %), swap free:    0 of    0 MiB ( 0 %)
 0:16.95 INFO Installed font: Ahem.ttf
 0:17.67 wptserve INFO Starting http server on http://127.0.0.1:8002
 0:17.75 wptserve INFO Starting https server on https://127.0.0.1:8445
 0:17.82 wptserve INFO Starting http server on http://127.0.0.1:8000
 0:17.82 wptserve INFO Starting https server on https://127.0.0.1:8446
 0:17.82 wptserve INFO Starting http server on http://127.0.0.1:8001
 0:17.88 wptserve INFO Starting http server on http://127.0.0.1:8003
 0:17.89 wptserve INFO Starting https server on https://127.0.0.1:8443
 0:17.91 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:17.91 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:17.91 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:17.92 wptserve INFO Starting https server on https://127.0.0.1:8444
 0:17.93 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:17.93 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:17.93 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:17.93 wptserve INFO Starting http2 server on https://127.0.0.1:9000
 0:18.04 wptserve INFO Starting WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:18.38 SUITE_START: web-platform-test - running 3 tests
 0:24.30 INFO Using 1 child processes
 0:24.30 INFO Starting WebDriver: /home/test/web-platform-tests/_venv3/bin/chrome/chromedriver --port=40565 --ignore-explicit-port --url-base=/ --enable-chrome-logs --disable-build-check
 0:24.32 INFO Got WebDriver port 38223
 0:24.41 pid:2097 Full command: /home/test/web-platform-tests/_venv3/bin/chrome/chromedriver --port=40565 --ignore-explicit-port --url-base=/ --enable-chrome-logs --disable-build-check
pid:2097 Starting ChromeDriver 132.0.6793.2 (b39907d62aa9c705221c7f810277594a8fcda94b-refs/branch-heads/6793@{#5}) on port 0
 0:24.41 pid:2097 Only local connections are allowed.
 0:24.41 pid:2097 Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
 0:24.41 pid:2097 ChromeDriver was started successfully on port 38223.
 0:24.41 INFO Webdriver started successfully.
 0:24.41 INFO Starting runner
 0:25.10 pid:2097 [2114:2114:1030/055433.163016:WARNING:field_trial_util.cc(106)] Field trial config study skipped: CookieSameSiteConsidersRedirectChainDesktop.Enabled (some of its features are already overridden)
 0:25.23 pid:2097 [2144:2144:1030/055433.289558:WARNING:gpu_memory_buffer_support_x11.cc(49)] dri3 extension not supported.
 0:25.23 pid:2097 [2144:2144:1030/055433.291359:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
 0:25.23 pid:2097 [2144:2144:1030/055433.292572:WARNING:viz_main_impl.cc(85)] VizNullHypothesis is disabled (not a warning)
 0:25.79 pid:2097 
 0:25.79 pid:2097 DevTools listening on ws://127.0.0.1:46589/devtools/browser/b8e00622-8d4d-41d7-81b6-3363fc876237
Failed to read: session.screen0.titlebar.left
Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value
 0:26.12 pid:2097 [1730267674.177][WARNING]: You are using an unsupported command-line switch: --disable-build-check. Please don't report bugs that cannot be reproduced with this switch removed.
 0:26.24 pid:2097 [2114:2200:1030/055434.301655:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
 0:26.24 pid:2097 [2114:2200:1030/055434.301668:WARNING:property.cc(149)] DaemonVersion: GetAndBlock: failed.
 0:26.24 pid:2097 [2114:2200:1030/055434.302089:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
 0:26.24 pid:2097 [2114:2200:1030/055434.303477:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
 0:26.36 TEST_START: /html/semantics/interactive-elements/the-dialog-element/dialog-active-document.html
 0:26.45 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL showModal should throw when the document isn't active - assert_throws_dom: function "() => dialog.showModal()" did not throw
    at Test.<anonymous> (http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-active-document.html:13:5)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-active-document.html:9:3

 0:26.45 TEST_START: /html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html
 0:26.53 pid:2097 [2114:2114:1030/055434.592294:INFO:CONSOLE(85)] "The open attribute was removed from a dialog element while it was open. This is not recommended. Please close it using the dialog.close() method instead.", source: http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html (85)
 0:26.54 pid:2097 [2114:2114:1030/055434.597911:INFO:CONSOLE(165)] "The open attribute was removed from a dialog element while it was open. This is not recommended. Please close it using the dialog.close() method instead.", source: http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html (165)
 0:26.57 pid:2097 [2144:2144:1030/055434.628621:ERROR:shared_image_manager.cc(250)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
 0:26.62 TEST_END: Test OK. Subtests passed 9/10. Unexpected 1
FAIL When the document is not attached to any pages, showModal() should throw. - assert_throws_dom: function "() => d11.showModal()" did not throw
    at Test.<anonymous> (http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:184:5)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:175:3

 0:26.62 TEST_START: /html/semantics/popovers/popover-active-document.html
 0:26.75 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL showPopover should throw when the document isn't active - assert_throws_dom: function "() => popover.showPopover()" did not throw
    at Test.<anonymous> (http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:14:5)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:9:3

 0:26.75 INFO No more tests
 0:26.80 INFO Closing logging queue
 0:26.80 INFO queue closed
 0:26.85 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 15 checks (12 subtests, 3 tests)
Expected results: 12
Unexpected results: 3
  subtest: 3 (3 fail)

Unexpected Results
------------------
/html/semantics/interactive-elements/the-dialog-element/dialog-active-document.html
  FAIL showModal should throw when the document isn't active - assert_throws_dom: function "() => dialog.showModal()" did not throw
    at Test.<anonymous> (http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-active-document.html:13:5)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-active-document.html:9:3
/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html
  FAIL When the document is not attached to any pages, showModal() should throw. - assert_throws_dom: function "() => d11.showModal()" did not throw
    at Test.<anonymous> (http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:184:5)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html:175:3
/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
    at Test.<anonymous> (http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:14:5)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/html/semantics/popovers/popover-active-document.html:9:3
 0:26.85 INFO Got 3 unexpected results, with 0 unexpected passes
 0:26.86 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:26.89 wptserve INFO Stopped http server on 127.0.0.1:8443
 0:26.89 wptserve INFO Stopped http server on 127.0.0.1:8001
 0:26.89 wptserve INFO Stopped http server on 127.0.0.1:8445
 0:26.89 wptserve INFO Stopped http server on 127.0.0.1:8446
 0:26.89 wptserve INFO Stopped http server on 127.0.0.1:8002
 0:26.89 wptserve INFO Stopped http server on 127.0.0.1:8003
 0:26.89 wptserve INFO Stopped http server on 127.0.0.1:9000
 0:26.89 wptserve INFO Stopped http server on 127.0.0.1:8444
 0:26.89 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:26.89 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:27.20 wptserve INFO Stopped http server on 127.0.0.1:8000
 0:27.23 INFO Removed font: Ahem.ttf
 0:27.25 INFO Closing logging queue
 0:27.25 INFO queue closed
 0:27.26 INFO Tolerating 3 unexpected results
[taskcluster 2024-10-30 05:54:36.609Z] === Task Finished ===
[taskcluster 2024-10-30 05:54:37.293Z] Successful task run with exit code: 0 completed in 126.597 seconds