Closed
Bug 544452
Opened 14 years ago
Closed 2 years ago
nsIGlobalHistory2::isVisited() should know the origin of the document
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ma1, Unassigned)
References
()
Details
(Keywords: privacy)
nsIGlobalHistory2::isVisited() should be changed to take a second (optional) "referrer" URI parameter, and the call from nsDocShell::GetLinkState() should pass it currentURI. This way an extension overriding the global history service could easily implement a SafeHistory-like policy, mitigating bug 147777 (per comment https://bugzilla.mozilla.org/show_bug.cgi?id=147777#c157 ) with limited usability impact.
Comment 1•14 years ago
|
||
We could expose the principal of the Link on the Link if we wanted to in the IHistory world, right?
Comment 2•14 years ago
|
||
(In reply to comment #1) > We could expose the principal of the Link on the Link if we wanted to in the > IHistory world, right? Or on nsIContent (since everything that implements Link should be QIable to nsIContent). Regardless, as requested, this bug is wontfix, right?
Comment 3•14 years ago
|
||
I'm just as happy if extension history impls don't have to pull in nsIContent. And I have no problem retitling this bug as needed.
Comment 4•2 years ago
|
||
nsIGlobalHistory doesn't exist.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•