Closed Bug 1401460 Opened 7 years ago Closed 7 years ago

ChannelMediaResource should update principals in OnStartRequest()

Categories

(Core :: Audio/Video: Playback, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

References

Details

Attachments

(1 file)

Per discussion with schien and roc, OnStartRequest() always happens after AsyncOnChannelRedirect() which is the last chance for a channel to change its domain and principal.

So we should update principals for the resource in OnStartRequest() instead of each OnDataAvailable() call.
Assignee: nobody → jwwang
Blocks: 1382978
Priority: -- → P3
Attachment #8910155 - Flags: review?(gsquelart)
Comment on attachment 8910155 [details]
Bug 1401460 - update principals in OnStartRequest().

https://reviewboard.mozilla.org/r/181648/#review187014
Attachment #8910155 - Flags: review?(gsquelart) → review+
Thanks!
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d74f41e43065
update principals in OnStartRequest(). r=gerald
https://hg.mozilla.org/mozilla-central/rev/d74f41e43065
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Blocks: 1428688
No longer blocks: 1428688
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: