Closed
Bug 1563597
Opened 7 years ago
Closed 7 years ago
[Fission] Can't observe "audio-playback" with JSWindowActor.
Categories
(Toolkit :: Video/Audio Controls, enhancement, P3)
Toolkit
Video/Audio Controls
Tracking
()
People
(Reporter: ablayelyfondou, Assigned: jdai)
References
Details
Attachments
(1 file)
I will just paste here what Neil found out after his investigation on this:
"The issue is that JSWindowActorProtocol::Observe is filtering out all notifications that don't have a nsPIDOMWindowInner as its subject. Yet, the audio-playback notification uses a nsPIDOMWindowOuter object. This is a slightly different window object."
One of these two solutions should be considered:
- support both nsPIDOMWindowInner and nsPIDOMWindowout in JSWindowActorProtocol.
- use an inner window object for the audio notification.
| Assignee | ||
Comment 2•7 years ago
•
|
||
It seems that there are some of jsm not use nsGlobalWindowInner as subject, I might release this constraint.
Flags: needinfo?(jdai)
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jdai
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•7 years ago
|
||
Pushed by jdai@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6bbe229bcc0c
Support nsGlobalWindowOuter as observer notification's subject; r=nika
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6a8467385888
Fix lint errors. r=jdai
Comment 6•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/6bbe229bcc0c
https://hg.mozilla.org/mozilla-central/rev/6a8467385888
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•