Closed Bug 1593860 Opened 5 years ago Closed 4 years ago

Passing a video blob to createImageBitmap halts JS execution

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: mossop, Assigned: baku)

Details

Attachments

(1 file)

Given this code:

try {
  console.log(1);
  let bitmap = await createImageBitmap(blob);
  console.log(2);
} catch (e) {
  console.log(3);
}

where blob contains an mp4 video, execution halts at the createImageBitmap call, the promise neither resolves or rejects.

Component: DOM: Core & HTML → Canvas: 2D
Priority: -- → P3
Assignee: nobody → amarchesini
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/38c5042a680f
Correct error reporting when createImageBitmap() fails, r=smaug
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
QA Whiteboard: [qa-72b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: