Closed
Bug 462739
Opened 16 years ago
Closed 16 years ago
Send cookies as appropriate with xpinstall requests
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect)
Core Graveyard
Installer: XPInstall Engine
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9.1b3
People
(Reporter: mossop, Assigned: mossop)
References
Details
(Keywords: fixed1.9.0.9, fixed1.9.1, Whiteboard: (Fixes AMO sandbox w/ 3rd-party cookies turned off))
Attachments
(1 file, 2 obsolete files)
2.95 KB,
patch
|
mossop
:
review+
mossop
:
superreview+
mossop
:
approval1.9.1+
dveditz
:
approval1.9.0.9+
|
Details | Diff | Splinter Review |
Spun off from bug 437174, I don't think the right fix for xpinstall is just to blanket always or never send cookies. We should be sending cookies as appropriate according to the page initiating the request (the page that called InstallTrigger.install). This patch does that by making our requests in the same load group as the original page. This allows the cookie service to correctly compare the host we are requesting from to the host of the original page and so send or not send cookies.
Attachment #345937 -
Flags: review?(dveditz)
Comment 1•16 years ago
|
||
Comment on attachment 345937 [details] [diff] [review]
patch rev 1
r/sr=dveditz
Attachment #345937 -
Flags: superreview+
Attachment #345937 -
Flags: review?(dveditz)
Attachment #345937 -
Flags: review+
Assignee | ||
Comment 2•16 years ago
|
||
Comment on attachment 345937 [details] [diff] [review]
patch rev 1
I would like to land this for 1.9.1 to allow people to install AMO sandboxed add-ons when they have third party cookies off.
Attachment #345937 -
Flags: approval1.9.1?
Comment 3•16 years ago
|
||
Comment on attachment 345937 [details] [diff] [review]
patch rev 1
a191=beltzner
Attachment #345937 -
Flags: approval1.9.1? → approval1.9.1+
Assignee | ||
Comment 4•16 years ago
|
||
Attachment #345937 -
Attachment is obsolete: true
Attachment #350489 -
Flags: superreview+
Attachment #350489 -
Flags: review+
Attachment #350489 -
Flags: approval1.9.1+
Assignee | ||
Comment 5•16 years ago
|
||
Attachment #350489 -
Attachment is obsolete: true
Attachment #350490 -
Flags: superreview+
Attachment #350490 -
Flags: review+
Attachment #350490 -
Flags: approval1.9.1+
Comment 6•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b3
Comment 7•16 years ago
|
||
This seems appropriate and useful to take in a 3.0.x release
Flags: wanted1.9.0.x+
Flags: blocking1.9.0.7?
Whiteboard: (Fixes AMO sandbox w/ 3rd-party cookies turned off)
Comment 8•16 years ago
|
||
Mossop: Sam says I can't block on this, but I would like to fix this in 1.9.0. Will the patches here apply to 1.9.0 or could you come up with a 1.9.0 version?
Flags: blocking1.9.0.7?
Updated•16 years ago
|
Attachment #350490 -
Flags: approval1.9.0.7?
Assignee | ||
Comment 9•16 years ago
|
||
(In reply to comment #8)
> Mossop: Sam says I can't block on this, but I would like to fix this in 1.9.0.
> Will the patches here apply to 1.9.0 or could you come up with a 1.9.0 version?
We should not take this on 1.9.0.x until bug 473060 has been resolved. It is currently one of my top priorities but will still be early next week before I have a definite fix.
Updated•16 years ago
|
Attachment #350490 -
Flags: approval1.9.0.7?
Comment 10•16 years ago
|
||
Comment on attachment 350490 [details] [diff] [review]
patch for checkin
next time, then.
Assignee | ||
Updated•16 years ago
|
Flags: in-testsuite+
Assignee | ||
Comment 11•16 years ago
|
||
Comment on attachment 350490 [details] [diff] [review]
patch for checkin
We can take this on branch now so long as we also take bug 473060
Attachment #350490 -
Flags: approval1.9.0.8?
Comment 12•16 years ago
|
||
Where is the test that "in-testsuite+" refers to?
Assignee | ||
Comment 13•16 years ago
|
||
(In reply to comment #12)
> Where is the test that "in-testsuite+" refers to?
It was landed as part of bug 474763
Comment 14•16 years ago
|
||
Comment on attachment 350490 [details] [diff] [review]
patch for checkin
Approved for 1.9.0.8, a=dveditz for release-drivers
Attachment #350490 -
Flags: approval1.9.0.8? → approval1.9.0.8+
Assignee | ||
Comment 15•16 years ago
|
||
Landed on 1.9 branch:
Checking in xpinstall/src/nsXPInstallManager.cpp;
/cvsroot/mozilla/xpinstall/src/nsXPInstallManager.cpp,v <-- nsXPInstallManager.cpp
new revision: 1.166; previous revision: 1.165
done
Checking in xpinstall/src/nsXPInstallManager.h;
/cvsroot/mozilla/xpinstall/src/nsXPInstallManager.h,v <-- nsXPInstallManager.h
new revision: 1.48; previous revision: 1.47
done
Keywords: fixed1.9.0.8
Comment 16•16 years ago
|
||
The tests for this don't seem to exist in the 1.9.0 branch (from bug 474763). Is there a way for QA to verify this for 1.9.0.8?
Updated•16 years ago
|
Keywords: fixed1.9.1
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•