Closed
Bug 769589
Opened 12 years ago
Closed 12 years ago
Remove deprecated GetOriginatingURI from nsICookiePermission
Categories
(Core :: Networking: Cookies, defect)
Core
Networking: Cookies
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: mounir, Assigned: mounir)
Details
Attachments
(1 file)
5.90 KB,
patch
|
mconnor
:
review+
Biesinger
:
superreview+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #637819 -
Flags: review?(mconnor)
Comment 1•12 years ago
|
||
Comment on attachment 637819 [details] [diff] [review] Patch r=me. I'd say r/sr, but there are far more active SRs than cookie peers...
Attachment #637819 -
Flags: review?(mconnor) → review+
Updated•12 years ago
|
Attachment #637819 -
Flags: superreview?(cbiesinger)
Comment 2•12 years ago
|
||
Comment on attachment 637819 [details] [diff] [review] Patch whee code removal
Attachment #637819 -
Flags: superreview?(cbiesinger) → superreview+
Assignee | ||
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e4c7a8c7fc65
Flags: in-testsuite-
Target Milestone: --- → mozilla18
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e4c7a8c7fc65
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 5•12 years ago
|
||
Today I found this ticket while I was looking for a reason why my extension is broken since Aurora. Now, is there an other option for me to get the originating URI of a 3rd party resource from extension land? I did not find any yet (and nobody on #extdev could help me either) but I need it as I am binding some 3rd party stuff to the domain of the originating page.
Assignee | ||
Comment 6•12 years ago
|
||
I'm assuming mozIThirdPartyUtil doesn't really help. Actually, I don't see anything that would obviously replace getOriginatingURI. Christian and Mike, do you have any idea if the deprecation of this method was correct? BTW, Georg, next time, if you use a deprecated method and can't find a replacement, better to let us know because, usually, deprecation is the first step before removal ;)
Comment 7•12 years ago
|
||
(In reply to Mounir Lamouri (:mounir) from comment #6) > I'm assuming mozIThirdPartyUtil doesn't really help. No, unfortunately not. > Actually, I don't see > anything that would obviously replace getOriginatingURI. Christian and Mike, > do you have any idea if the deprecation of this method was correct? > > BTW, Georg, next time, if you use a deprecated method and can't find a > replacement, better to let us know because, usually, deprecation is the > first step before removal ;) I would have done it, no doubt about that. But https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsICookiePermission doesn't say anything about that method being deprecated and, honestly, I am a bit reluctant to check the .idl files always in addition to the documentation on MDN.
Comment 8•12 years ago
|
||
Would a patch (in a new bug) be accepted which adds the getOriginatingURI functionality to ThirdPartyUtil (and exposes it in mozIThirdPartyUtil as well)?
Comment 9•11 years ago
|
||
Somewhat related: https://bugzilla.mozilla.org/show_bug.cgi?id=878311
You need to log in
before you can comment on or make changes to this bug.
Description
•