Closed
Bug 1144263
Opened 10 years ago
Closed 10 years ago
Update remaining calles of newChannel to newChannel2 in media/webrtc
Categories
(Core :: DOM: Security, defect)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: ckerschb, Assigned: ckerschb)
References
Details
Attachments
(1 file, 1 obsolete file)
2.48 KB,
patch
|
bwc
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 1•10 years ago
|
||
Byron,
we are about to attach a LoadInfo object to every channel that holds information like who initiated the load (the loadingPrincipal) or what content type the channel is about to load. Please find a detailed description of all the arguments here:
http://mxr.mozilla.org/mozilla-central/source/netwerk/base/nsNetUtil.h#190
My current patch uses the systemPrincipal as the loadingPrincipal which is obviously not that great for webrtc - we can discuss in person and hopefully find a better solution.
Attachment #8578811 -
Flags: review?(docfaraday)
Updated•10 years ago
|
Attachment #8578811 -
Flags: review?(docfaraday) → review+
Comment 2•10 years ago
|
||
If you want to use something other than the systemPrincipal, you'll have to get it from PeerConnectionImpl (PeerConnectionMedia::GetPC()), and use that to get the window (GetWindow()).
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Byron Campen [:bwc] from comment #2)
> If you want to use something other than the systemPrincipal, you'll have to
> get it from PeerConnectionImpl (PeerConnectionMedia::GetPC()), and use that
> to get the window (GetWindow()).
As discussed in person, this is exactly what we want :-)
Thanks for your help, but you still have to sign off on it!
Attachment #8578811 -
Attachment is obsolete: true
Attachment #8578919 -
Flags: review?(docfaraday)
Comment 4•10 years ago
|
||
Comment on attachment 8578919 [details] [diff] [review]
bug_1144263_update_webrtc.patch
Review of attachment 8578919 [details] [diff] [review]:
-----------------------------------------------------------------
Hey, one less line of code. Cool.
Attachment #8578919 -
Flags: review?(docfaraday) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Target Milestone: --- → mozilla39
Comment 6•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•