Closed
Bug 1274153
Opened 9 years ago
Closed 8 years ago
"media-showStatistics" event is leaked to content
Categories
(Toolkit :: Video/Audio Controls, defect)
Toolkit
Video/Audio Controls
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: xidorn, Unassigned)
References
Details
Attachments
(1 file)
284 bytes,
text/html
|
Details |
Steps to reproduce:
1. open the testcase
2. right click the video
3. click "Show Statistics"
Expected result:
the statistics information is displayed directly
Actual result:
there is a prompt shows "Got media-showStatistics" because it gets that event
This event is not defined in the spec, and thus should in general not be exposed to the content. At best, it should not be exposed to <video> element. I suppose dispatching it to some internal element should be fine.
Comment 1•9 years ago
|
||
Looks like we can dispatch to chrome only from JS using the domwindowutils: https://dxr.mozilla.org/mozilla-central/source/browser/modules/PluginContent.jsm#965-971
Comment 2•9 years ago
|
||
Except the video controls are not chrome.
Comment 3•9 years ago
|
||
(In reply to Justin Dolske [:Dolske] from comment #2)
> Except the video controls are not chrome.
Ugh, good point... Also, seems I was just confused by the relationship between this and bug 1270853 - if we're removing it all anyway, then there's not much point discussing how to do it better (just need to figure out how to not break whatever test was breaking). :-)
Reporter | ||
Comment 4•8 years ago
|
||
So given bug 1270853 gets fixed, this bug no longer presents. Mark as WORKSFORME.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•