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)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME
Future

People

(Reporter: jud, Assigned: alecf)

References

Details

(Keywords: embed, topembed-, Whiteboard: fix in hand [T2])

Attachments

(3 files)

Currently AddTitle() initiates, via RDF notification, page title setting. This should be handled elswere as global history has nothing to do w/ page titles.
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
Blocks: 71511
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.
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
No longer blocks: 71511
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
Blocks: 58613
nav triage team: Moving out to mozilla1.2
Target Milestone: mozilla1.0 → mozilla1.2
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
Whiteboard: fix in hand
This patch removes the old dependency.
Attachment #60694 - Flags: review+
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?
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.
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.
no decision here, moving to 0.9.8
Target Milestone: mozilla0.9.7 → mozilla0.9.8
*sigh* 0.9.8 was way to short. moving all my bugs to 0.9.9
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Target Milestone: mozilla0.9.9 → mozilla1.0
Keywords: topembed
minusing to topembed- and adding embed as per edt triage. not related to a particular embedding customer.
Keywords: topembedembed, topembed-
not critical to 1.0, moving out for now.
Target Milestone: mozilla1.0 → mozilla1.1beta
moving bugs to mozilla 1.2alpha that missed 1.1beta
Target Milestone: mozilla1.1beta → mozilla1.2alpha
moving some stuff out to mozilla1.2beta that didn't make the mozilla1.2alpha train
Target Milestone: mozilla1.2alpha → mozilla1.2beta
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
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]
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
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
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: