Open
Bug 36054
Opened 25 years ago
Updated 2 years ago
nsNavHistory::CanAddURI() hardcodes URL schema knowledge.
Categories
(Toolkit :: Places, task, P5)
Toolkit
Places
Tracking
()
NEW
People
(Reporter: bruce, Unassigned)
Details
(Keywords: embed, topembed-)
NS_IMETHODIMP nsDocShell::ShouldAddToGlobalHistory(nsIURI* aURI, PRBool*
aShouldAdd) centralizes all of the decision making for the process of deciding
whether or not some URL type should be added to the global history. Should
someone else come along and add a new type of URL, they have no means to decide
for themselves whether or not they want their URL type to be added to the Global
History unless they replace the nsDocShell with their own version.
Comment 1•25 years ago
|
||
At the same time we might want to say that action should be up to the embedder,
not the URI provider.
Comment 2•25 years ago
|
||
This kind of hardcoding was a source of maintenance and even security woes in
MozillaClassic. How about we get the list from some configuration file, or at
least allow supplementing of a hardwired list from such a resource? Cc'ing the
W-men for their resource/file expertise.
/be
Comment 3•25 years ago
|
||
I understand the design issue here, but I don't know the (current) rules about
which urls get added to history and which don't. Can someone state them?
Updated•24 years ago
|
Target Milestone: --- → M19
Comment 5•24 years ago
|
||
I'm thinking this piggybacks wherever the session history exposure stuff gets
exposed (current thinking based on porkjockey's notes is nsIWebNavigation).
nsIWebNavigation::Set|GetHistorySchemes(in|out wstring schemes);
Target Milestone: M19 → mozilla0.9
Comment 6•24 years ago
|
||
travis is no longer @netscape.com
changing qa contact to default for this component
QA Contact: travis → adamlock
Bumping off the mozilla0.9 train. If this needs to be in for mozilla0.9, please
nominate nsbeta1. Right now, it's something on the radar that I'm not sure Alec
is going to fix for 0.9. (At least, he hasn't told me so)
Target Milestone: mozilla0.9 → ---
Updated•24 years ago
|
Target Milestone: --- → mozilla1.0
Comment 10•23 years ago
|
||
nav triage team;
Sounds fairly straightforward to do, but not a high priority for nav team.
Pushing out to mozilla1.2
Target Milestone: mozilla1.0 → mozilla1.2
Updated•23 years ago
|
Updated•23 years ago
|
Updated•23 years ago
|
Target Milestone: mozilla1.2alpha → Future
Comment 11•22 years ago
|
||
*** This bug has been marked as a duplicate of 36867 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Comment 12•22 years ago
|
||
not a duplicate - I'm dumb.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Updated•22 years ago
|
Updated•22 years ago
|
Status: REOPENED → ASSIGNED
Target Milestone: Future → mozilla1.4alpha
Comment 13•22 years ago
|
||
mass moving lower risk 1.4alpha stuff to 1.4beta
Target Milestone: mozilla1.4alpha → mozilla1.4beta
Updated•22 years ago
|
Target Milestone: mozilla1.4beta → mozilla1.5alpha
Comment 14•22 years ago
|
||
5/5 EDT triage: minusing topembed+ status. Dropping this from the radar to
better focus on existing working set.
Comment 15•20 years ago
|
||
adjusting summary - code moved to nsGlobalHistory::AddURI in Bug 224829
Summary: nsDocShell::ShouldAddToGlobalHistory() hardcodes URL schema knowledge. → nsGlobalHistory::AddURI() hardcodes URL schema knowledge.
Updated•15 years ago
|
QA Contact: adamlock → docshell
Target Milestone: mozilla1.5alpha → ---
Comment 16•14 years ago
|
||
nsGlobalHistory::AddURI -> nsNavHistory::CanAddURI
I think Firefox/XULRunner should accept "imap" and "news" on history, if someone (a 3rd party developer) implemented those protocol handlers. Probably it won't conflict with SeaMonkey and Thunderbird.
Component: Document Navigation → History: Global
QA Contact: docshell → history.global
Summary: nsGlobalHistory::AddURI() hardcodes URL schema knowledge. → nsNavHistory::CanAddURI() hardcodes URL schema knowledge.
Updated•8 years ago
|
Component: History: Global → Places
Product: Core → Toolkit
Updated•3 years ago
|
Assignee: alecf → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Severity: S3 → S4
Type: defect → task
Priority: P3 → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•