Closed Bug 1436036 Opened 7 years ago Closed 8 months ago

Tab crashes when using OffscreenCanvas in a worker

Categories

(Core :: Graphics: CanvasWebGL, defect, P5)

58 Branch
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox60 --- affected

People

(Reporter: michael.herzog, Unassigned)

Details

(Keywords: crash, testcase, Whiteboard: [gfx-noted])

Crash Data

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Steps to reproduce: 1. Set "gfx.offscreencanvas.enabled" to true in about:config 2. Navigate to https://rawgit.com/mrdoob/three.js/dev/examples/webgl_worker_offscreencanvas.html Actual results: The tab crashes. Tested with Firefox 58.0.1 (64-Bit) and Firefox Nightly 60.0a1 (2018-02-06) on mac OS 10.13.2. Expected results: You should see a rotating 3D box with a texture. It works in Chrome 64.0.3282.140 (with flag "Experimental Canvas Features" enabled)
In the linked test application, three.js runs in a worker and produces asynchronously frames for the canvas element in the main thread. The crash in Firefox might be related to bug 1342694, although it also happens if no texture is used.
Component: Untriaged → Canvas: WebGL
Keywords: crash, testcase
Product: Firefox → Core
I can confirm the crash on Mac. Adding the crash signature.
Status: UNCONFIRMED → NEW
Crash Signature: [@ mozilla::layers::ImageBridgeChild::Connect]
Ever confirmed: true
Jeff, is this related to bug 1342694? That bug also has a patch waiting for review from you :).
Flags: needinfo?(jgilbert)
Whiteboard: [gfx-noted]
This is expected behavior. We do not support OffscreenCanvas yet.
Flags: needinfo?(jgilbert)
Priority: P3 → P5
If so, Mozilla should improve the documentation. If you read the following page, you might think OffscreenCanvas is available by enabling the respective flag. https://developer.mozilla.org/de/docs/Web/API/OffscreenCanvas
Severity: normal → S3

OffscreenCanvas was enabled in Fx105 per https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas and I am able to view the webpage from comment 0 without problems in nightly. Resolving WFM.

Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.