Closed
Bug 1042377
Opened 10 years ago
Closed 10 years ago
[e10s] mozIThirdPartyUtil.isThirdPartyChannel isn't available in the parent process
Categories
(Core :: Networking, defect, P2)
Core
Networking
Tracking
()
RESOLVED
DUPLICATE
of bug 1049299
Tracking | Status | |
---|---|---|
e10s | m4+ | --- |
People
(Reporter: mmc, Assigned: mrbkap)
References
Details
Note: implementation is in content/base/src but idl is defined in netwerk. isThirdPartyChannel finds the channel's window and doesn't work in e10s windows. http://mxr.mozilla.org/mozilla-central/source/content/base/src/ThirdPartyUtil.cpp#153
Reporter | ||
Updated•10 years ago
|
tracking-e10s:
--- → ?
Updated•10 years ago
|
Reporter | ||
Comment 1•10 years ago
|
||
More generally I need a way to get the URI associated with the top window associated with an nsIChannel in the parent process.
Assignee | ||
Comment 2•10 years ago
|
||
Hey Monica, do you have any other uses for this than the third-party cookie setting code? I think that for that case, we should compute the "third-party-ness" of the request in the child and send the result up to the parent with the request and avoid having to do the computation in the parent at all. If you have other uses, then I'll take another look at this bug more specifically.
Flags: needinfo?(mmc)
Assignee | ||
Comment 3•10 years ago
|
||
Bug 1038756 paves the way for my proposal in comment 2.
Depends on: 1038756
Reporter | ||
Comment 4•10 years ago
|
||
(In reply to Blake Kaplan (:mrbkap) from comment #2) > Hey Monica, do you have any other uses for this than the third-party cookie > setting code? I think that for that case, we should compute the > "third-party-ness" of the request in the child and send the result up to the > parent with the request and avoid having to do the computation in the parent > at all. > > If you have other uses, then I'll take another look at this bug more > specifically. Yes, https://bugzilla.mozilla.org/show_bug.cgi?id=1039012 and https://bugzilla.mozilla.org/show_bug.cgi?id=1033871 rely on stuff from ThirdPartyUtil.
Flags: needinfo?(mmc)
Assignee | ||
Comment 5•10 years ago
|
||
That looks fine, actually. As long as we have a channel, we'll be able to get the "third-party-ness" that it was created with.
Updated•10 years ago
|
Updated•10 years ago
|
Summary: mozIThirdPartyUtil.isThirdPartyChannel isn't available in the parent process → [e10s] mozIThirdPartyUtil.isThirdPartyChannel isn't available in the parent process
Comment 6•10 years ago
|
||
Moving old M2 P2 bugs to M4.
Reporter | ||
Comment 9•10 years ago
|
||
:jimm or :mrbkap, what's the proposed solution for this bug? I may have time to work on it. Also, could you tell me what m4+ means? Thanks, Monica
Flags: needinfo?(mrbkap)
Flags: needinfo?(jmathies)
Comment 10•10 years ago
|
||
I don't fully understand the cookie problems we have, and we have about three bugs on them currently.. so I'll leave it to blake to explain that. 'm4' - milestone 4, this is the e10s teams way of tracking blocks of bugs. We're currently finishing up the m3 block: m3 - https://bugzilla.mozilla.org/buglist.cgi?f1=cf_tracking_e10s&o1=equals&resolution=---&query_format=advanced&v1=m3%2B&list_id=11389286 m4 - https://bugzilla.mozilla.org/buglist.cgi?f1=cf_tracking_e10s&o1=equals&resolution=---&query_format=advanced&v1=m4%2B&list_id=11389288
Flags: needinfo?(jmathies)
Assignee | ||
Comment 11•10 years ago
|
||
Hey Monica, My patch in bug 1049299 actually fixes this bug as well (it makes mozIThirdPartyUtil.isThirdPartyChannel work on channels opened for content processes by computing the parent information for the channel and passing it up to the parent).
Flags: needinfo?(mrbkap)
Reporter | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•