If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

autoplay, not-in-document <video> element does not play

VERIFIED FIXED

Status

()

Core
Audio/Video
VERIFIED FIXED
9 years ago
9 years ago

People

(Reporter: roc, Assigned: roc)

Tracking

({verified1.9.1})

Trunk
x86
Mac OS X
verified1.9.1
Points:
---
Bug Flags:
blocking1.9.1 +
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

Load http://nerget.com/canvas/?paddy.ogg#abc. Nothing happens. The video should load and then play, being rendered with a JS filter in the canvas, but nothing seems to ever happen.
Flags: blocking1.9.1?
Flags: blocking1.9.1? → blocking1.9.1+
Created attachment 357294 [details] [diff] [review]
fix

We shouldn't mess with ElementUnavailable until the element actually dies.

But the main fix is to call UpdateMediaSize from Invalidate even if there's no frame.

This adds some reftests so that drawing video into canvas is actually tested...
Assignee: nobody → roc
Attachment #357294 - Flags: review?(chris.double)

Updated

9 years ago
Attachment #357294 - Flags: review?(chris.double) → review+
Whiteboard: [needs review]
Whiteboard: [needs review] → [needs landing]
Pushed d198affa5573
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [needs landing] → [needs 191 landing]
Whiteboard: [needs 191 landing] → [needs 1.9.1 landing]
Whiteboard: [needs 1.9.1 landing] → [needs 191 landing]
Patch pushed to 1.9.1 branch on behalf of roc.
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/d4d3bff78d9a
Keywords: fixed1.9.1
Whiteboard: [needs 191 landing]
Verified fixed on the 1.9.1 branch using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090206 Shiretoko/3.1b3pre, although the video does look a bit weird with the filter.

Verified fixed on the trunk using  Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090206 Minefield/3.2a1pre.
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
You need to log in before you can comment on or make changes to this bug.