Closed
Bug 1305336
Opened 8 years ago
Closed 8 years ago
Intermittent dom/media/test/test_streams_autoplay.html | TypeError: v.mozDumpDebugInfo is not a function
Categories
(Core :: Audio/Video: MediaStreamGraph, defect, P3)
Core
Audio/Video: MediaStreamGraph
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
Details
Attachments
(5 files)
58 bytes,
text/x-review-board-request
|
pehrsons
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
pehrsons
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
pehrsons
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
pehrsons
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
pehrsons
:
review+
|
Details |
test_streams_autoplay.html doesn't use MediaTestManager. We need to set the pref ["media.test.dumpDebugInfo", true] manually.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8794703 -
Flags: review?(pehrson)
Attachment #8794704 -
Flags: review?(pehrson)
Attachment #8794705 -
Flags: review?(pehrson)
Attachment #8794706 -
Flags: review?(pehrson)
Attachment #8794707 -
Flags: review?(pehrson)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jwwang
Priority: -- → P3
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8794703 [details] Bug 1305336. Part 1 - extract some code to a function. https://reviewboard.mozilla.org/r/81028/#review79662 Not sure I like the startTest definition indented like that, but it does help with reading.
Attachment #8794703 -
Flags: review?(pehrson) → review+
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8794704 [details] Bug 1305336. Part 2 - use 'once' handler to remove onPlayingEventFired. https://reviewboard.mozilla.org/r/81030/#review79664
Attachment #8794704 -
Flags: review?(pehrson) → review+
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8794705 [details] Bug 1305336. Part 3 - set prefs before running tests. https://reviewboard.mozilla.org/r/81032/#review79666
Attachment #8794705 -
Flags: review?(pehrson) → review+
Comment 9•8 years ago
|
||
mozreview-review |
Comment on attachment 8794706 [details] Bug 1305336. Part 4 - create elements dynamically because pref changes only take effect for those elements that are created later. https://reviewboard.mozilla.org/r/81034/#review79668 ::: dom/media/test/test_streams_autoplay.html:24 (Diff revision 1) > } else { > function startTest() { > - v1.src = media.name; > + var v1 = document.createElement('video'); > + var v2 = document.createElement('video'); > v1.preload = 'metadata'; > + v2.autoplay = true; This should use `v2.setAttribute` to be equivalent to the old code. Though we never change the source so it shouldn't matter.
Attachment #8794706 -
Flags: review?(pehrson) → review+
Comment 10•8 years ago
|
||
mozreview-review |
Comment on attachment 8794707 [details] Bug 1305336. Part 5 - use manifestVideo() so pref changes can take effect as expected. https://reviewboard.mozilla.org/r/81036/#review79670
Attachment #8794707 -
Flags: review?(pehrson) → review+
Assignee | ||
Comment 11•8 years ago
|
||
Thanks for the review!
Comment 12•8 years ago
|
||
Pushed by jwwang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/77f19f37b30c Part 1 - extract some code to a function. r=pehrsons https://hg.mozilla.org/integration/autoland/rev/f4e6468a9856 Part 2 - use 'once' handler to remove onPlayingEventFired. r=pehrsons https://hg.mozilla.org/integration/autoland/rev/6eaeadf49020 Part 3 - set prefs before running tests. r=pehrsons https://hg.mozilla.org/integration/autoland/rev/bbb609d92b20 Part 4 - create elements dynamically because pref changes only take effect for those elements that are created later. r=pehrsons https://hg.mozilla.org/integration/autoland/rev/719b68f344f5 Part 5 - use manifestVideo() so pref changes can take effect as expected. r=pehrsons
Comment 13•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/77f19f37b30c https://hg.mozilla.org/mozilla-central/rev/f4e6468a9856 https://hg.mozilla.org/mozilla-central/rev/6eaeadf49020 https://hg.mozilla.org/mozilla-central/rev/bbb609d92b20 https://hg.mozilla.org/mozilla-central/rev/719b68f344f5
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•