Closed
Bug 71482
Opened 24 years ago
Closed 15 years ago
page title setting should not rely on global history
Categories
(Core Graveyard :: History: Global, defect, P2)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
Future
People
(Reporter: jud, Assigned: alecf)
References
Details
(Keywords: embed, topembed-, Whiteboard: fix in hand [T2])
Attachments
(3 files)
2.95 KB,
patch
|
Details | Diff | Splinter Review | |
1.91 KB,
patch
|
jud
:
review+
|
Details | Diff | Splinter Review |
8.67 KB,
patch
|
Details | Diff | Splinter Review |
Currently AddTitle() initiates, via RDF notification, page title setting. This should be handled elswere as global history has nothing to do w/ page titles.
Assignee | ||
Comment 1•24 years ago
|
||
it looks like we should be using nsIDocumentLoaderObsever, though that brings in a ton of dependancies. I'm going to see what other options are available.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9
Reporter | ||
Comment 2•24 years ago
|
||
yea, that's the iface I was thinking of, but I didn't know what it would drag in. Are the dependencies worth dragging it in to break the ugliness of haning AddTitle() off of globahist? So, currently nsGlobalHistory uses RDF as the notification mechanism. So, when globalhist gets a titleSet(), it modifies RDF and someone higher up in the UI chain listens to a titleChange() notification (or whatever it is in RDF land), and updates the title appropriately. What if that UI RDF listener/observer were triggered by layout doing it's notify that the <title> tag came in? The UI hunk currently registering for RDF notification would need to register for layout title notification. That would remove global hist from the loop completely.
Assignee | ||
Comment 3•23 years ago
|
||
as much as I'd like to fix this in mozilla 0.9, I am overloaded and must push this back a milestone. Sorry!
Target Milestone: mozilla0.9 → mozilla0.9.1
Comment 4•23 years ago
|
||
nav triage: moving to mozilla1.0 milestone in light of Alec's other deliverables for mozilla0.9.1.
Target Milestone: mozilla0.9.1 → mozilla1.0
nav triage team: Moving out to mozilla1.2
Target Milestone: mozilla1.0 → mozilla1.2
Assignee | ||
Comment 6•23 years ago
|
||
in this, we should make sure we also rip out the code I added to nsDocShell.cpp as a part of bug 102043
Target Milestone: mozilla1.2 → mozilla0.9.7
Assignee | ||
Comment 7•23 years ago
|
||
I've checked in most the history load listener into: http://lxr.mozilla.org/seamonkey/source/xpfe/components/history/src/nsHistoryLoadListener.cpp http://lxr.mozilla.org/seamonkey/source/xpfe/components/history/src/nsHistoryLoadListener.h I need to remove the printf()s and then this will be ready to check in.
Assignee | ||
Updated•23 years ago
|
Whiteboard: fix in hand
Assignee | ||
Comment 8•23 years ago
|
||
This patch removes the old dependency.
Reporter | ||
Updated•23 years ago
|
Attachment #60694 -
Flags: review+
Assignee | ||
Comment 9•23 years ago
|
||
you know what? I think I've completely changed my stance here. I think I would now like a new interface, nsIGlobalHistory2, that embeddors can implement, and we'll call methods on that to hide the page and set the title. thoughts?
Assignee | ||
Comment 10•23 years ago
|
||
This is what the alternate approach would look like Another option is to call this nsIGlobalHistoryPresentation or something, and make it a totally seperate interface, not even deriving from nsIGlobalHistory.
Assignee | ||
Comment 11•23 years ago
|
||
does anyone have any opinions on the two approaches? I'm leaning towards the latter solution (nsIGlobalHistory2) because it provides a far easier method of getting page titles and hiding 302-redirects.
Assignee | ||
Comment 12•23 years ago
|
||
no decision here, moving to 0.9.8
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Assignee | ||
Comment 13•23 years ago
|
||
*sigh* 0.9.8 was way to short. moving all my bugs to 0.9.9
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.9 → mozilla1.0
Comment 14•22 years ago
|
||
minusing to topembed- and adding embed as per edt triage. not related to a particular embedding customer.
Assignee | ||
Comment 15•22 years ago
|
||
not critical to 1.0, moving out for now.
Target Milestone: mozilla1.0 → mozilla1.1beta
Assignee | ||
Comment 16•22 years ago
|
||
moving bugs to mozilla 1.2alpha that missed 1.1beta
Target Milestone: mozilla1.1beta → mozilla1.2alpha
Assignee | ||
Comment 17•22 years ago
|
||
moving some stuff out to mozilla1.2beta that didn't make the mozilla1.2alpha train
Target Milestone: mozilla1.2alpha → mozilla1.2beta
Assignee | ||
Comment 18•22 years ago
|
||
mozilla 1.1alpha is more or less done, so I'm moving non-critical mozilla1.2beta bugs out to the next milestone to make room for the mozilla1.1alpha bugs that didn't make it.
Target Milestone: mozilla1.2beta → mozilla1.3alpha
Comment 19•22 years ago
|
||
Corfirming topembed- [T2] per EDT triage. alecf: should the "fix in hand" comment in the whiteboard be removed?
Whiteboard: fix in hand → fix in hand [T2]
Assignee | ||
Comment 20•22 years ago
|
||
Furturing bugs that keep getting knocked from milestone to milestone...if you feel this is in error, please nominate this bug using the appropriate keyword.
Target Milestone: mozilla1.3alpha → Future
Comment 21•15 years ago
|
||
This was filed against the old history implementation, and is no longer relevant to the new one AFAICT.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•