Closed
Bug 15459
Opened 25 years ago
Closed 25 years ago
[dogfood]going to from one named anchor to another causes real reload
Categories
(SeaMonkey :: General, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M12
People
(Reporter: dbaron, Assigned: radha)
Details
(Whiteboard: [PDT-])
Radha - I'm assigning this bug directly to you because I don't see a good
component for it and Browser-General is full of all sorts of things. I'm not
sure if it's yours...
DESCRIPTION: Going from one named anchor in a page to another one causes a
reload, not just movement in the page. (And therefore bug 15441 doesn't show
up, but it probably should once this is fixed if bug 15441 isn't fixed first.)
I'll give steps to reproduce and expected results after I attach the test case.
DOES NOT WORK CORRECTLY ON:
* Linux, apprunner, 1999-10-03-08-M11
ADDITIONAL INFORMATION:
See the testing information for bug 15441 if you don't notice that this reload
takes time. Click one of the anchors on that page,
http://www.fas.harvard.edu/~dbaron/links/Internet , and then scroll back to the
top and click another. That's a noticeable reload time (at least on Linux).
Reporter | ||
Comment 1•25 years ago
|
||
Well, I can't replicate this bug. So, before I lose it, here's the scrollback
buffer on the text window for where it happened. I *might* try going through
the whole thing to see if I cane replicate it. You can see that there's a
reload when going to ...Internet#Commercial and back to ...Internet#General
because of the "Document: Done" bits:
...the usual stuff...
Gtk-WARNING **: /usr/lib/libgdk_imlib.so.1: undefined symbol: gdk_display
Gtk-WARNING **: /usr/lib/libgdk_imlib.so.1: undefined symbol: gdk_display
Setting content window
browser.startup.page = 1
startpage = http://www.fas.harvard.edu/~dbaron/
sidebar = [object Object]
sidebar.resource = NC:SidebarRoot
sidebar.db = chrome://sidebar/content/sidebar.rdf
got observer service
added observer
run LoadDetectorsMenu()
sidebar = [object Object]
sidebar.resource = NC:SidebarRoot
sidebar.db = chrome://sidebar/content/sidebar.rdf
adding "http://cvs-mirror.mozilla.org/webtools/tinderbox/SeaMonkey/flash.rdf" to
the tree
http://cvs-mirror.mozilla.org/webtools/tinderbox/SeaMonkey/flash.rdf: setting
poll interval to 300sec.
adding "rdf:msgnotifications" to the tree
adding "rdf:xpinstall-update-notifier" to the tree
an exception occurred trying to load "rdf:xpinstall-update-notifier":
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)
[nsIRDFService.GetDataSource]" nsresult: "0x80004005 (NS_ERROR_FAILURE)"
location: "JS frame :: chrome://sidebar/content/flash.js :: flashInit :: line
78" data: no]
run LoadDetectorsMenu()
Document http://www.fas.harvard.edu/~dbaron/ loaded successfully
Document: Done (11.572 secs)
got observer service
added observer
failed to set the page title.
Document http://www.fas.harvard.edu/~dbaron/links/Internet loaded successfully
Document: Done (45.968 secs)
failed to set the page title.
Document http://www.fas.harvard.edu/~dbaron/links/Internet#Architecture loaded
successfully
Going Back
Document http://www.fas.harvard.edu/~dbaron/links/Internet loaded successfully
Going Back
Document http://www.fas.harvard.edu/~dbaron/ loaded successfully
Document: Done (3.399 secs)
Going Forward
Document http://www.fas.harvard.edu/~dbaron/links/Internet loaded successfully
Document: Done (4.231 secs)
Going Forward
Going Forward
JavaScript Error: ReferenceError: Reload is not defined
failed to set the page title.
Document http://www.fas.harvard.edu/~dbaron/links/Internet#General loaded
successfully
failed to set the page title.
Document http://www.internet2.edu/ loaded successfully
Document: Done (8.513 secs)
Going Back
Document http://www.fas.harvard.edu/~dbaron/links/Internet#General loaded
successfully
Document: Done (4.509 secs)
Going Back
Document http://www.fas.harvard.edu/~dbaron/links/Internet loaded successfully
Document http://www.fas.harvard.edu/~dbaron/links/Internet#General loaded
successfully
failed to set the page title.
Document http://www.fas.harvard.edu/~dbaron/links/Internet#Commercial loaded
successfully
Document: Done (4.435 secs)
Going Back
Document http://www.fas.harvard.edu/~dbaron/links/Internet#General loaded
successfully
Document: Done (4.339 secs)
Going Back
Document http://www.fas.harvard.edu/~dbaron/links/Internet loaded successfully
Going to reload
Document http://www.fas.harvard.edu/~dbaron/links/Internet loaded successfully
Document: Done (4.37 secs)
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M12
Assignee | ||
Comment 2•25 years ago
|
||
Look in to how this fits in the new webshell world.
Assignee | ||
Updated•25 years ago
|
Summary: going to from one named anchor to another causes real reload → [dogfood]going to from one named anchor to another causes real reload
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•25 years ago
|
||
I ran this thro' the debugger. Going from anchor to anchor does not cause
reloads, only the scroller is changed to the proper place. "Document Done"
message is printed out because, nsBrowserInstance::OnEndDocumentLoad() is
called.
Comment 7•25 years ago
|
||
Verify: Works as expected for me on yesterdays tip built locally.
Console shows one 'Done' message, no subsequent messages, while jumping between
bookmarks, and scrolling back up.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•