Closed Bug 1133583 Opened 9 years ago Closed 9 years ago

EME error notifications should pass the window to which they apply

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal
Points:
1

Tracking

()

RESOLVED FIXED
mozilla38
Iteration:
38.3 - 23 Feb
Tracking Status
firefox37 --- fixed
firefox38 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

Details

Attachments

(2 files)

Obviously I should have just noticed this in the review for bug 1111160. Sorry.

On the upside, I have a patch!
This seems to work in my local testing. Does this look right?
Attachment #8565149 - Flags: review?(cpearce)
Comment on attachment 8565149 [details] [diff] [review]
pass window in EME notifications instead of null subject,

Review of attachment 8565149 [details] [diff] [review]:
-----------------------------------------------------------------

I trust that passing a window reference across process boundaries will somehow magically work with e10s enabled?
Attachment #8565149 - Flags: review?(cpearce) → review+
(In reply to Chris Pearce (:cpearce) from comment #2)
> Comment on attachment 8565149 [details] [diff] [review]
> pass window in EME notifications instead of null subject,
> 
> Review of attachment 8565149 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> I trust that passing a window reference across process boundaries will
> somehow magically work with e10s enabled?

No, the observer service doesn't do anything cross-window boundaries, AIUI (ie the notification will only fire in the same process as where notifyObservers is called, being the content process in our case). The browser code takes care of lobbing the required info across to the parent process based on the message manager for the relevant window - it already does this. :-)
https://hg.mozilla.org/mozilla-central/rev/5b4a18aeb511
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Flags: qe-verify?
Flags: firefox-backlog+
Flags: qe-verify? → qe-verify-
Attached patch Beta patchSplinter Review
Patch for beta branch as part of EME platform uplift.
Comment on attachment 8572376 [details] [diff] [review]
Beta patch

Requesting retroactive approval for Beta landing as part of EME platform uplift.
Attachment #8572376 - Flags: approval-mozilla-beta?
Comment on attachment 8572376 [details] [diff] [review]
Beta patch

Approved for Beta as part of EME platform uplift.
Attachment #8572376 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: