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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed

People

(Reporter: ckerschb, Assigned: ckerschb)

References

Details

Attachments

(1 file, 1 obsolete file)

No description provided.
Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Depends on: 949703
Attached patch bug_1144263_update_webrtc.patch (obsolete) — Splinter Review
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)
Blocks: 1087720
Attachment #8578811 - Flags: review?(docfaraday) → review+
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()).
(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 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+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: