Closed Bug 72342 Opened 23 years ago Closed 23 years ago

about:blank loaded twice when opening a blank new nav window!

Categories

(SeaMonkey :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla0.9

People

(Reporter: hyatt, Assigned: jag+mozbugs)

References

Details

(Keywords: perf)

Attachments

(4 files)

All new nav windows start off with about:blank loaded.  In the case where 
you've opened a new blank window, we load about:blank a second time!
Status: NEW → ASSIGNED
Keywords: perf
Target Milestone: --- → mozilla0.9
Related to bug 66034?
Wow.  There are two other code paths that cause this to happen.  The way box
interacts with iframe on a reflow causes a double-load, and the navigator JS
triggers a reload (which should never do anything for about:blank).

The following patch fixes all cases and ensures that about:blank is exempt from
all this madness.
r=jag
sr=scc (based on the notion that |SchemeIs| will be getting better, so playing
to its strengths is wise)
Turns out editor needs the double load... they have to monitor loads of docs,
even about:blank.  So I'm patching navigator only.  The fix is to navigator.js
instead of to docshell.
Need a fresh r and sr.
The change to navigator.js is also needed for bug 70682. r=jag on this.

What's the patch to BrowserInstance for? Accidentally included?
sr=hyatt
r=hwaara
Reassigning to jag.
Assignee: hyatt → disttsc
Status: ASSIGNED → NEW
a=asa on (behalf of drivers)
Checked in on both the trunk and the branch. Marking fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Blocks: 49141
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: