Closed
Bug 1166140
Opened 9 years ago
Closed 9 years ago
gUM test framework tests MediaStream::CurrentTime == 0 before HTMLMediaElement::Play()
Categories
(Core :: WebRTC: Audio/Video, defect, P2)
Core
WebRTC: Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
backlog | webrtc/webaudio+ |
People
(Reporter: pehrsons, Assigned: pehrsons)
References
Details
(Whiteboard: [test])
Attachments
(1 file, 1 obsolete file)
There is nothing keeping the MediaStream's currentTime from progressing before a media element plays it. It's likely just a typo - we should be testing HTMLMediaElement::CurrentTime.
Per the spec: http://www.w3.org/TR/2015/WD-mediacapture-streams-20150414/#media-element-attributes-when-playing-a-mediastream
> The initial value is 0 and the values increments linearly in real time whenever the stream is playing.
MediaStream also does not have a currentTime attribute in the current version of the spec: http://www.w3.org/TR/2015/WD-mediacapture-streams-20150414/#attributes
Assignee | ||
Comment 1•9 years ago
|
||
/r/8985 - Bug 1166140 - Test media element currentTime before play() instead of stream's. r=drno
Pull down this commit:
hg pull -r 4119a508f89ed3e9c918eeb407c2d26c41aa00b0 https://reviewboard-hg.mozilla.org/gecko/
Attachment #8607324 -
Flags: review?(drno)
Updated•9 years ago
|
backlog: --- → webRTC+
Rank: 23
Priority: -- → P2
Whiteboard: [test]
Updated•9 years ago
|
Attachment #8607324 -
Flags: review?(drno) → review+
Comment 2•9 years ago
|
||
Comment on attachment 8607324 [details]
MozReview Request: bz://1166140/pehrsons
https://reviewboard.mozilla.org/r/8983/#review7677
Ship It!
Comment 3•9 years ago
|
||
FYI I think your try run is a little too much trimmed down. I don't really expect any real problems with this change, but I would prefer to see a try run across all platforms for a change like this.
Assignee | ||
Comment 4•9 years ago
|
||
(In reply to Nils Ohlmeier [:drno] from comment #3)
> FYI I think your try run is a little too much trimmed down. I don't really
> expect any real problems with this change, but I would prefer to see a try
> run across all platforms for a change like this.
Sure, I'll spin them up on all platforms. I'll see if I can get the tag syntax to work so I don't have to chase the M-chunk down across all platforms as well.
Assignee | ||
Comment 5•9 years ago
|
||
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to Andreas Pehrson [:pehrsons] (Telenor) from comment #5)
> https://treeherder.mozilla.org/#/jobs?repo=try&revision=041f089728fd
That wasn't pretty. At least it tested what I wanted.
Keywords: checkin-needed
Keywords: checkin-needed
Assignee: nobody → pehrsons
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Assignee | ||
Comment 9•9 years ago
|
||
Attachment #8607324 -
Attachment is obsolete: true
Attachment #8620320 -
Flags: review+
Assignee | ||
Comment 10•9 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•