Closed
Bug 1333289
Opened 7 years ago
Closed 7 years ago
Add a web API to retrieve debugging data from the media element in an asynchronous way
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(2 files)
This is an asyn version of bug 1236703 because some media objects (ex: MDSM) can only be accessed off the main thread.
Assignee | ||
Updated•7 years ago
|
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8829751 [details] Bug 1333289. Part 2 - retrieve debugging data from MediaDecoder/MDSM. https://reviewboard.mozilla.org/r/106758/#review107776
Attachment #8829751 -
Flags: review?(jyavenard) → review+
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8829750 [details] Bug 1333289. Part 1 - add a function to the webidl to retrieve debugging data in an asynchronous way. https://reviewboard.mozilla.org/r/106756/#review108010 ::: dom/html/HTMLMediaElement.cpp:1480 (Diff revision 1) > +HTMLMediaElement::MozRequestDebugInfo() > +{ > + ErrorResult rv; > + RefPtr<Promise> promise = CreateDOMPromise(rv); > + if (NS_WARN_IF(rv.Failed())) { > + return nullptr; r-, returns null without saying so in the IDL. What you _probably_ wanted was to mark it [NewObject] and then throw on the incoming ErrorResult...
Attachment #8829750 -
Flags: review?(bzbarsky) → review-
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8829750 [details] Bug 1333289. Part 1 - add a function to the webidl to retrieve debugging data in an asynchronous way. https://reviewboard.mozilla.org/r/106756/#review108122 r=me
Attachment #8829750 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 8•7 years ago
|
||
Thanks for the reviews!
Pushed by jwwang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5a910c074e14 Part 1 - add a function to the webidl to retrieve debugging data in an asynchronous way. r=bz https://hg.mozilla.org/integration/autoland/rev/e72c737ab6ed Part 2 - retrieve debugging data from MediaDecoder/MDSM. r=jya
Comment 10•7 years ago
|
||
Backed out in https://hg.mozilla.org/integration/autoland/rev/95df6209f125 for ASan mda thread-related leaks, https://treeherder.mozilla.org/logviewer.html#?job_id=71765321&repo=autoland
Assignee | ||
Comment 11•7 years ago
|
||
(In reply to Phil Ringnalda (:philor) from comment #10) > Backed out in https://hg.mozilla.org/integration/autoland/rev/95df6209f125 > for ASan mda thread-related leaks, > https://treeherder.mozilla.org/logviewer.html#?job_id=71765321&repo=autoland I don't think my patches are responsible for the leaks which are produced by webrtc. Furthermore, the code added by this bug will only be called by the about:media plug-in.
Comment 12•7 years ago
|
||
Well, https://treeherder.mozilla.org/#/jobs?repo=autoland&tochange=95df6209f125277b6db62402897dd125f4fda5ae&fromchange=5346a3afb0364d70861dc732e66e087dc42b5e81&filter-searchStr=41d5f9ef579931d7a8ed9ede19057d71458c3baf&group_state=expanded seems to say there was a 10% chance of hitting that leak while your patches were in the tree, and a 0% chance of hitting it while they weren't.
Comment 13•7 years ago
|
||
Or, maybe you made a new flavor of the bug 1326399 leak more common, or, maybe it was pure coincidence that it was more common right then, dunno.
Assignee | ||
Comment 14•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=203d11285cd7068435e021897e449fdb5edc3b53 5/121 failures with my patches. https://treeherder.mozilla.org/#/jobs?repo=try&revision=bfbc3a54f08485c58b5b7a5cf0aea60e22d3b1f4 4/121 failures without my patches. I don't really see a significant difference.
Comment 15•7 years ago
|
||
Pushed by jwwang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b68c0c1ae045 Part 1 - add a function to the webidl to retrieve debugging data in an asynchronous way. r=bz https://hg.mozilla.org/integration/autoland/rev/0f69481eb5ad Part 2 - retrieve debugging data from MediaDecoder/MDSM. r=jya
Comment 16•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b68c0c1ae045 https://hg.mozilla.org/mozilla-central/rev/0f69481eb5ad
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•