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-firefox-nightly-results succeeded Oct 20, 2023 in 7m 30s

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


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
 0:31.55 INFO Test prefs downloaded to /home/test/web-platform-tests/_venv3/profiles/nightly/120.0
 0:31.69 mozversion INFO application_buildid: 20231020091032
 0:31.69 mozversion INFO application_changeset: dc0d913ecc2486cafc7a005d2fe6705f2c7da222
 0:31.69 mozversion INFO application_display_name: Firefox Nightly
 0:31.69 mozversion INFO application_id: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
 0:31.69 mozversion INFO application_name: Firefox
 0:31.69 mozversion INFO application_remotingname: firefox-nightly
 0:31.69 mozversion INFO application_repository: https://hg.mozilla.org/mozilla-central
 0:31.69 mozversion INFO application_vendor: Mozilla
 0:31.69 mozversion INFO application_version: 120.0a1
 0:31.69 mozversion INFO platform_buildid: 20231020091032
 0:31.69 mozversion INFO platform_changeset: dc0d913ecc2486cafc7a005d2fe6705f2c7da222
 0:31.69 mozversion INFO platform_repository: https://hg.mozilla.org/mozilla-central
 0:31.69 mozversion INFO platform_version: 120.0a1
 0:36.87 INFO Installed font: Ahem.ttf
 0:37.62 wptserve INFO Starting http server on http://127.0.0.1:8000
 0:37.74 wptserve INFO Starting http server on http://127.0.0.1:8002
 0:37.74 wptserve INFO Starting http server on http://127.0.0.1:8001
 0:37.79 wptserve INFO Starting https server on https://127.0.0.1:8444
 0:37.79 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:37.79 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:37.80 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:37.80 wptserve INFO Starting https server on https://127.0.0.1:8445
 0:37.81 wptserve INFO Starting http server on http://127.0.0.1:8003
 0:37.82 wptserve INFO Starting https server on https://127.0.0.1:8446
 0:37.84 wptserve INFO Starting https server on https://127.0.0.1:8443
 0:37.84 wptserve INFO Starting http2 server on https://127.0.0.1:9000
 0:37.86 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:37.86 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:37.86 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:37.94 wptserve INFO Starting WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:38.76 SUITE_START: web-platform-test - running 4 tests
 0:44.11 INFO Using 1 child processes
 0:44.13 INFO Setting up ssl
 0:44.16 certutil Full command: /usr/bin/certutil -N -d /tmp/tmpeo1wi2vw.mozrunner -f /tmp/tmpeo1wi2vw.mozrunner/.crtdbpw
certutil b''
 0:44.19 certutil b''
 0:44.20 certutil b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \n'
 0:44.20 INFO Application command: /home/test/build/firefox/firefox --marionette about:blank -profile /tmp/tmp8rnp2gia
 0:44.21 INFO Starting runner
 0:44.69 pid:1363 Full command: /home/test/build/firefox/firefox --marionette about:blank
pid:1363 [GFX1-]: glxtest: libpci missingDRI_DRIVER
 0:44.69 pid:1363 ATTENTION: default value of option mesa_glthread overridden by environment.
 0:44.71 pid:1363 1697808549597	Marionette	INFO	Marionette enabled
 0:44.78 pid:1363 1697808549671	Marionette	INFO	Listening on port 46623
 0:45.02 pid:1363 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 0:45.02 pid:1363 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
Failed to read: session.screen0.titlebar.left
Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value
 0:46.86 pid:1363 console.error: ({})
 0:46.91 pid:1363 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 0:47.42 pid:1363 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 0:47.42 pid:1363 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 0:47.42 pid:1363 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 0:47.42 pid:1363 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 0:47.42 pid:1363 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 0:47.64 TEST_START: /html/canvas/offscreen/layers/2d.layer.unclosed-nested.w.html
 0:47.71 pid:1363 1697808552597	Marionette	INFO	Testing http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.unclosed-nested.w.html == http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.unclosed-nested-expected.html
 0:48.09 pid:1363 1697808552979	Marionette	INFO	Emitted TestRendered event
mem avail: 14041 of 15806 MiB (88 %), swap free:    0 of    0 MiB ( 0 %)
 1:08.44 TEST_END: TIMEOUT, expected PASS
 1:08.44 TEST_START: /html/canvas/offscreen/layers/2d.layer.unclosed.w.html
 1:08.50 pid:1363 1697808573389	Marionette	INFO	Testing http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.unclosed.w.html == http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.unclosed-expected.html
 1:08.54 pid:1363 JavaScript error: http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.unclosed-expected.html, line 17: TypeError: ctx.beginLayer is not a function
 1:08.66 pid:1363 1697808573541	Marionette	INFO	Emitted TestRendered event
 1:14.73 pid:1363 console.error: (new Error("Polling for changes failed: Unexpected content-type \"text/plain;charset=US-ASCII\".", "resource://services-settings/remote-settings.sys.mjs", 321))
 1:29.86 TEST_END: TIMEOUT, expected PASS
 1:29.86 INFO Restarting browser for new test type:testharness
 1:29.87 pid:1363 1697808594761	Marionette	INFO	Stopped listening on port 46623
 1:30.28 pid:1363 console.error: ({})
 1:30.44 INFO Browser exited with return code 0
 1:30.27 INFO Closing logging queue
 1:30.27 INFO queue closed
 1:30.46 INFO Setting up ssl
 1:30.49 certutil b''
 1:30.52 certutil b''
 1:30.53 certutil b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \n'
 1:30.53 INFO Application command: /home/test/build/firefox/firefox --marionette about:blank -profile /tmp/tmpq00vc2i9
 1:30.54 INFO Starting runner
 1:31.08 pid:1757 Full command: /home/test/build/firefox/firefox --marionette about:blank
pid:1757 [GFX1-]: glxtest: libpci missingDRI_DRIVER
 1:31.09 pid:1757 1697808595982	Marionette	INFO	Marionette enabled
 1:31.10 pid:1757 ATTENTION: default value of option mesa_glthread overridden by environment.
 1:31.15 pid:1757 ATTENTION: default value of option mesa_glthread overridden by environment.
 1:31.18 pid:1757 1697808596066	Marionette	INFO	Listening on port 39375
 1:31.42 pid:1757 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 1:31.54 pid:1757 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 1:32.24 pid:1757 console.error: ({})
 1:32.29 pid:1757 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 1:32.80 pid:1757 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 1:32.80 pid:1757 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 1:32.80 pid:1757 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 1:32.81 pid:1757 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 1:32.81 pid:1757 console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
 1:33.09 TEST_START: /html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.html
 1:33.19 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL Check that calling transferToImageBitmap in a layer throws an exception. - ctx.beginLayer is not a function
@http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.html:28:7
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2599:25
@http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.html:18:3

 1:33.19 TEST_START: /html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.worker.html
 1:33.19 INFO Closing window 0e021d4b-4183-4c30-8f59-aa0ff49056ac
 1:33.37 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL Check that calling transferToImageBitmap in a layer throws an exception. - ctx.beginLayer is not a function
@http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.worker.js:24:7
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2599:25
@http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.worker.js:14:3

 1:33.38 INFO No more tests
 1:33.38 INFO No more tests
 1:33.38 pid:1757 1697808598264	Marionette	INFO	Stopped listening on port 39375
 1:33.87 pid:1757 console.error: ({})
 1:34.23 INFO Browser exited with return code 0
 1:33.86 INFO Closing logging queue
 1:33.86 INFO queue closed
 1:34.24 SUITE_END

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

Unexpected Results
------------------
/html/canvas/offscreen/layers/2d.layer.unclosed-nested.w.html
  TIMEOUT /html/canvas/offscreen/layers/2d.layer.unclosed-nested.w.html
/html/canvas/offscreen/layers/2d.layer.unclosed.w.html
  TIMEOUT /html/canvas/offscreen/layers/2d.layer.unclosed.w.html
/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.html
  FAIL Check that calling transferToImageBitmap in a layer throws an exception. - ctx.beginLayer is not a function
@http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.html:28:7
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2599:25
@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. - ctx.beginLayer is not a function
@http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.worker.js:24:7
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2599:25
@http://web-platform.test:8000/html/canvas/offscreen/layers/2d.layer.transferToImageBitmap.worker.js:14:3
 1:34.24 INFO Got 4 unexpected results, with 0 unexpected passes
 1:34.24 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 1:34.37 wptserve INFO Stopped http server on 127.0.0.1:8000
 1:34.73 wptserve INFO Stopped http server on 127.0.0.1:8003
 1:34.73 wptserve INFO Stopped http server on 127.0.0.1:8002
 1:34.73 wptserve INFO Stopped http server on 127.0.0.1:8445
 1:34.73 wptserve INFO Stopped http server on 127.0.0.1:8444
 1:34.73 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 1:34.73 wptserve INFO Stopped http server on 127.0.0.1:9000
 1:34.73 wptserve INFO Stopped http server on 127.0.0.1:8001
 1:34.73 wptserve INFO Stopped http server on 127.0.0.1:8443
 1:34.73 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 1:34.73 wptserve INFO Stopped http server on 127.0.0.1:8446
 1:34.83 INFO Removed font: Ahem.ttf
 1:34.85 INFO Closing logging queue
 1:34.85 INFO queue closed
 1:34.85 INFO Tolerating 4 unexpected results
[taskcluster 2023-10-20 13:30:01.241Z] === Task Finished ===
[taskcluster 2023-10-20 13:30:02.101Z] Successful task run with exit code: 0 completed in 243.765 seconds