[wpt-sync] Sync PR 23998 - Check for first frame in CreateImageBitmap
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox79 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
269.24 KB,
text/plain
|
Details |
Sync web-platform-tests PR 23998 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23998
Details from upstream follow.
Thomas Guilbert <tguilbert@chromium.org> wrote:
Check for first frame in CreateImageBitmap
HTMLVideoElement::CreateImageBitmap is currently rejecting valid calls,
when we have an available first frame, but the ready state hasn't been
updated.This CL updates CreateImageBitmap to check for a valid frame, which
amounts to having a first frame available.This CL also updates some WPTs to use preload=auto, to allow video
elements to load without being visible, and yield expected results when
calling CreateImageBitmap.Bug: 1090960
Change-Id: I21302a9c3433bf8218a75c3f6918bc20f4d36ca3Reviewed-on: https://chromium-review.googlesource.com/2231453
WPT-Export-Revision: 66c3bf5e14ed270287643157cfd292e5066bd6cf
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
Comment 4•5 years ago
|
||
| bugherder | ||
Description
•