Closed Bug 1642216 Opened 4 years ago Closed 3 years ago

gfx.offscreencanvas.enabled does not enable transferControlToOffscreen()

Categories

(Core :: Graphics: Canvas2D, defect, P3)

77 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1736177

People

(Reporter: barsimp47, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Steps to reproduce:

  1. In about:config, enable gfx.offscreencanvas.enabled.
  2. Restart browser even though I'm not sure it's required.
  3. Open JS Console.
  4. Type document.createElement('canvas').transferControlToOffscreen()

Actual results:

[Exception... "Method not implemented" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: debugger eval code :: <TOP_LEVEL> :: line 1" data: no]

Expected results:

Should have evaluated to an OffscreenCanvas object.

Actual Firefox useragent is "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0"

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Debugger
Product: Firefox → DevTools

The severity field is not set for this bug.
:jlast, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jlaster)
Component: Debugger → Console
Flags: needinfo?(jlaster)

Not sure what's happening/expected, the DOM team will know better than I do

Component: Console → DOM: Core & HTML
Product: DevTools → Core
Component: DOM: Core & HTML → Canvas: 2D
Severity: -- → S3
Priority: -- → P3

This will be fixed by bug 1736177.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.