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)

enhancement

Tracking

()

RESOLVED FIXED
mozilla70
Fission Milestone M4
Tracking Status
firefox69 --- wontfix
firefox70 --- fixed

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:

  1. support both nsPIDOMWindowInner and nsPIDOMWindowout in JSWindowActorProtocol.
  2. use an inner window object for the audio notification.

John, could you please look into this?

Flags: needinfo?(jdai)

It seems that there are some of jsm not use nsGlobalWindowInner as subject, I might release this constraint.

Flags: needinfo?(jdai)
Assignee: nobody → jdai
Status: NEW → ASSIGNED
Blocks: 1467212
Pushed by jdai@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6bbe229bcc0c Support nsGlobalWindowOuter as observer notification's subject; r=nika
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: