Open Bug 1500782 Opened 6 years ago Updated 2 years ago

Should we remove the support for CanvasRenderingContext2D in CreateImageBitmap?

Categories

(Core :: Graphics: Canvas2D, task, P2)

task

Tracking

()

REOPENED

People

(Reporter: baku, Assigned: baku, NeedInfo)

References

Details

(Keywords: site-compat)

Attachments

(1 file)

This is not in the spec and it's not supported by other browsers.
Attached patch image5.patchSplinter Review
Attachment #9018897 - Flags: review?(aosmond)
Comment on attachment 9018897 [details] [diff] [review]
image5.patch

Review of attachment 9018897 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/webidl/ImageBitmap.webidl
@@ -18,5 @@
>           ImageBitmap) CanvasImageSourceExcludedSVG;
>  
>  typedef (CanvasImageSourceExcludedSVG or
>           Blob or
> -         CanvasRenderingContext2D or // This is out of spec.

It looks like this was not pref'd off, so we are currently shipping this. We probably need an intent to unship? Do we know how much this is used, if at all?
Priority: -- → P2
Depends on: 1502304
Comment on attachment 9018897 [details] [diff] [review]
image5.patch

Clearing myself of the review until we get the usage numbers from bug 1502304.
Attachment #9018897 - Flags: review?(aosmond)
Keywords: site-compat
Component: DOM → DOM: Core & HTML
Component: DOM: Core & HTML → Canvas: 2D
Type: enhancement → task
Flags: needinfo?(aosmond)

Should this be removed now? Three years old and causes a wpt failure.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(aosmond)
Resolution: --- → INVALID

Can you clarify why you marked this as invalid? https://searchfox.org/mozilla-central/source/dom/webidl/ImageBitmap.webidl#15 suggests this is still valid (at least partially).

Status: RESOLVED → REOPENED
Flags: needinfo?(aosmond)
Resolution: INVALID → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: