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 an exception in transferToImageBitmap if canvas layers are opened #42544

Merged
merged 1 commit into from
Oct 20, 2023

Throw an exception in transferToImageBitmap if canvas layers are opened

e658466
Select commit
Loading
Failed to load commit list.
Merged

Throw an exception in transferToImageBitmap if canvas layers are opened #42544

Throw an exception in transferToImageBitmap if canvas layers are opened
e658466
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-chrome-dev-results succeeded Oct 20, 2023 in 4m 4s

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

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 chrome


Setting default value
Failed to read: session.screen0.autoRaise
Setting default value
Failed to read: session.screen0.clickRaises
Setting default value
Failed to read: session.screen0.defaultDeco
Setting default value
Failed to read: session.screen0.tab.placement
Setting default value
Failed to read: session.screen0.windowMenu
Setting default value
Failed to read: session.screen0.noFocusWhileTypingDelay
Setting default value
Failed to read: session.screen0.workspaces
Setting default value
Failed to read: session.screen0.edgeSnapThreshold
Setting default value
Failed to read: session.screen0.window.focus.alpha
Setting default value
Failed to read: session.screen0.window.unfocus.alpha
Setting default value
Failed to read: session.screen0.menu.alpha
Setting default value
Failed to read: session.screen0.menuDelay
Setting default value
Failed to read: session.screen0.tab.width
Setting default value
Failed to read: session.screen0.tooltipDelay
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
  ERROR: Command errored out with exit status 1:
   command: /home/test/web-platform-tests/_venv3/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-9zgw633t/mozlog/setup.py'"'"'; __file__='"'"'/tmp/pip-install-9zgw633t/mozlog/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-rfxm11p5
       cwd: /tmp/pip-install-9zgw633t/mozlog/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for mozlog
 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:09.02 INFO Identified 4 affected tests
 0:09.13 INFO Downloading Mojo bindings from https://storage.googleapis.com/chrome-wpt-mojom/120.0.6073.0/linux64/mojojs.zip
 0:09.26 INFO MojoJS enabled automatically (mojojs_path: /home/test/web-platform-tests/_venv3/mojojs/gen)
 0:09.29 INFO Searching for ChromeDriver downloads for version 120.0.6073.0.
 0:09.37 INFO Downloading ChromeDriver from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6073.0/linux64/chromedriver-linux64.zip
 0:09.66 INFO Automatically turning on experimental features for Chrome Dev/Canary or Chromium trunk
 0:15.08 INFO Installed font: Ahem.ttf
 0:15.93 wptserve INFO Starting http server on http://127.0.0.1:8002
 0:15.97 wptserve INFO Starting http server on http://127.0.0.1:8000
 0:15.97 wptserve INFO Starting https server on https://127.0.0.1:8443
 0:16.01 wptserve INFO Starting http server on http://127.0.0.1:8003
 0:16.01 wptserve INFO Starting http server on http://127.0.0.1:8001
 0:16.08 wptserve INFO Starting https server on https://127.0.0.1:8446
 0:16.09 wptserve INFO Starting https server on https://127.0.0.1:8444
 0:16.10 wptserve INFO Starting http2 server on https://127.0.0.1:9000
 0:16.11 wptserve INFO Starting https server on https://127.0.0.1:8445
 0:16.12 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:16.12 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:16.12 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:16.13 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:16.13 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:16.13 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:16.18 wptserve INFO Starting WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:17.02 SUITE_START: web-platform-test - running 4 tests
 0:22.44 INFO Using 1 child processes
 0:22.96 pid:2177 Full command: /home/test/web-platform-tests/_venv3/bin/chrome/chromedriver --port=53257 --url-base=/ --enable-chrome-logs --disable-build-check
pid:2177 Starting ChromeDriver 120.0.6073.0 (b9a0baaa9d39b6608d67b343c78d06f7989ce7ac-refs/branch-heads/6073@{#1}) on port 53257
 0:22.96 pid:2177 Only local connections are allowed.
 0:22.96 pid:2177 Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
 0:22.96 pid:2177 ChromeDriver was started successfully.
 0:22.96 INFO Starting runner
 0:23.24 pid:2177 [2189:2189:1020/132628.515486:WARNING:chrome_main_delegate.cc(661)] This is Chrome version 120.0.6073.0 (not a warning)
 0:23.40 pid:2177 [2189:2189:1020/132628.674615:INFO:policy_logger.cc(146)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(168) Starting CBCM Controller Initialization
 0:23.40 pid:2177 [2189:2189:1020/132628.674939:INFO:policy_logger.cc(146)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(196) No machine level policy manager exists.
 0:23.44 pid:2177 
 0:23.44 pid:2177 DevTools listening on ws://127.0.0.1:38325/devtools/browser/1d64e143-7f66-499f-adb0-e0c4267aea8b
 0:23.47 pid:2177 [2226:2226:1020/132628.745857:WARNING:gpu_memory_buffer_support_x11.cc(49)] dri3 extension not supported.
 0:23.48 pid:2177 [2226:2226:1020/132628.750481:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process.
Failed to read: session.screen0.titlebar.left
Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value
 0:23.51 pid:2177 [2189:2189:1020/132628.786914:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
 0:23.52 pid:2177 [1697808388.799][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:23.55 pid:2177 [2189:2302:1020/132628.824242:ERROR:object_proxy.cc(577)] 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:23.55 pid:2177 [2189:2302:1020/132628.824260:WARNING:property.cc(144)] DaemonVersion: GetAndBlock: failed.
 0:23.56 pid:2177 [2189:2302:1020/132628.830500:ERROR:object_proxy.cc(577)] 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:23.56 pid:2177 [2189:2302:1020/132628.833574:ERROR:object_proxy.cc(577)] 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:23.66 TEST_START: /html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.html
 0:23.88 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL Check that calling transferToImageBitmap in a layer throws an exception. - assert_throws_dom: function "() => canvas.transferToImageBitmap()" did not throw
    at Test.<anonymous> (http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.html:29:3)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2599:25)
    at http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.html:18:3

 0:23.88 TEST_START: /html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.worker.html
 0:24.19 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL Check that calling transferToImageBitmap in a layer throws an exception. - assert_throws_dom: function "() => canvas.transferToImageBitmap()" did not throw
    at Test.<anonymous> (http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.worker.js:25:3)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2599:25)
    at http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.worker.js:14:3

 0:24.19 INFO Restarting browser for new test type:reftest
 0:24.20 INFO Closing logging queue
 0:24.20 INFO queue closed
 0:24.76 pid:2368 Full command: /home/test/web-platform-tests/_venv3/bin/chrome/chromedriver --port=52157 --url-base=/ --enable-chrome-logs --disable-build-check
pid:2368 Starting ChromeDriver 120.0.6073.0 (b9a0baaa9d39b6608d67b343c78d06f7989ce7ac-refs/branch-heads/6073@{#1}) on port 52157
 0:24.76 pid:2368 Only local connections are allowed.
 0:24.76 pid:2368 Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
 0:24.76 pid:2368 ChromeDriver was started successfully.
 0:24.76 INFO Starting runner
 0:25.05 pid:2368 [2381:2381:1020/132630.327674:WARNING:chrome_main_delegate.cc(661)] This is Chrome version 120.0.6073.0 (not a warning)
 0:25.15 pid:2368 [2381:2404:1020/132630.419714:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-wTBKhbrKxC: Connection refused
 0:25.15 pid:2368 [2381:2381:1020/132630.423863:INFO:policy_logger.cc(146)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(168) Starting CBCM Controller Initialization
 0:25.15 pid:2368 [2381:2381:1020/132630.424450:INFO:policy_logger.cc(146)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(196) No machine level policy manager exists.
 0:25.15 pid:2368 [2381:2404:1020/132630.425180:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-wTBKhbrKxC: Connection refused
 0:25.16 pid:2368 [2381:2404:1020/132630.431249:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-wTBKhbrKxC: Connection refused
 0:25.16 pid:2368 [2381:2404:1020/132630.437100:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-wTBKhbrKxC: Connection refused
 0:25.18 pid:2368 [2381:2404:1020/132630.450317:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-wTBKhbrKxC: Connection refused
 0:25.19 pid:2368 [2381:2404:1020/132630.461069:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-wTBKhbrKxC: Connection refused
 0:25.20 pid:2368 
 0:25.20 pid:2368 DevTools listening on ws://127.0.0.1:39599/devtools/browser/4dc475b2-b687-42e9-a2a0-55c0acf27ebb
 0:25.21 pid:2368 [2417:2417:1020/132630.489492:WARNING:gpu_memory_buffer_support_x11.cc(49)] dri3 extension not supported.
 0:25.22 pid:2368 [2417:2417:1020/132630.491448:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process.
 0:25.23 pid:2368 [2381:2404:1020/132630.499070:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-wTBKhbrKxC: Connection refused
 0:25.23 pid:2368 [2381:2404:1020/132630.503585:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-wTBKhbrKxC: Connection refused
 0:25.26 pid:2368 [2381:2381:1020/132630.530220:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
 0:25.27 pid:2368 [1697808390.547][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:25.28 pid:2368 [2381:2489:1020/132630.556380:ERROR:object_proxy.cc(577)] 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:25.28 pid:2368 [2381:2489:1020/132630.557031:WARNING:property.cc(144)] DaemonVersion: GetAndBlock: failed.
 0:25.28 pid:2368 [2381:2489:1020/132630.557772:ERROR:object_proxy.cc(577)] 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:25.28 pid:2368 [2381:2489:1020/132630.558541:ERROR:object_proxy.cc(577)] 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:25.39 TEST_START: /html/canvas/offscreen/layers/2d.layer.unclosed-nested.w.html
 0:26.38 TEST_END: PASS
 0:26.38 TEST_START: /html/canvas/offscreen/layers/2d.layer.unclosed.w.html
 0:27.35 TEST_END: PASS
 0:27.35 INFO No more tests
 0:27.35 INFO No more tests
 0:27.36 INFO Closing logging queue
 0:27.36 INFO queue closed
 0:27.41 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 6 checks (2 subtests, 4 tests)
Expected results: 4
Unexpected results: 2
  subtest: 2 (2 fail)

Unexpected Results
------------------
/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.html
  FAIL Check that calling transferToImageBitmap in a layer throws an exception. - assert_throws_dom: function "() => canvas.transferToImageBitmap()" did not throw
    at Test.<anonymous> (http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.html:29:3)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2599:25)
    at http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.html:18:3
/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.worker.html
  FAIL Check that calling transferToImageBitmap in a layer throws an exception. - assert_throws_dom: function "() => canvas.transferToImageBitmap()" did not throw
    at Test.<anonymous> (http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.worker.js:25:3)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2599:25)
    at http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.worker.js:14:3
 0:27.41 INFO Got 2 unexpected results, with 0 unexpected passes
 0:27.41 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:27.41 wptserve INFO Stopped http server on 127.0.0.1:8444
 0:27.41 wptserve INFO Stopped http server on 127.0.0.1:9000
 0:27.43 wptserve INFO Stopped http server on 127.0.0.1:8003
 0:27.43 wptserve INFO Stopped http server on 127.0.0.1:8002
 0:27.43 wptserve INFO Stopped http server on 127.0.0.1:8445
 0:27.43 wptserve INFO Stopped http server on 127.0.0.1:8443
 0:27.43 wptserve INFO Stopped http server on 127.0.0.1:8001
 0:27.43 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:27.43 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:27.43 wptserve INFO Stopped http server on 127.0.0.1:8446
 0:27.54 wptserve INFO Stopped http server on 127.0.0.1:8000
 0:27.59 INFO Removed font: Ahem.ttf
 0:27.61 INFO Closing logging queue
 0:27.61 INFO queue closed
 0:27.61 INFO Tolerating 2 unexpected results
[taskcluster 2023-10-20 13:26:35.338Z] === Task Finished ===
[taskcluster 2023-10-20 13:26:36.222Z] Successful task run with exit code: 0 completed in 185.92 seconds