Open
Bug 53501
Opened 25 years ago
Updated 3 years ago
nsPresShell:EndLoad() called on wrong presShell loading a document
Categories
(Core :: Layout, defect, P3)
Tracking
()
NEW
Future
People
(Reporter: mikepinkerton, Unassigned)
References
Details
(Whiteboard: [nsbeta3-])
- go to a long page, say your buglist
- click a link on there
nsScrollBoxFrame::SaveState() is called to save the scroll position. Note the
presShell that is on the stack.
then nsScrollBoxFrame::RestoreState() is mysteriously called from
nsDocument::EndLoad
PresShell::EndLoad
FrameMananager::RestoreFrameStateFor
and the PresShell on which the EndLoad is called is _the same_ as for the
document you just left. Now that really can't be good. It appears EndLoad is
being called for the wrong document/presShell
Who knows what bad things are caused because of this. It's mac-only, BTW.
Reporter | ||
Comment 1•25 years ago
|
||
attn pdt: this should be a stop-ship. It's bad bad bad.
Keywords: correctness,
nsbeta3
Reporter | ||
Comment 2•25 years ago
|
||
this could also mean that we're leaking presShells/documents on mac. have you
seen this beard?
Reporter | ||
Comment 3•25 years ago
|
||
clayton shouldn't have this, i give it to.....nisheeth!
Assignee: clayton → nisheeth
Comment 4•25 years ago
|
||
But why would this be mac-only? Does it happen in Modern skin too?
Comment 5•25 years ago
|
||
Nominating for rtm, marking nsbeta3+ and rtm+. I doubt if this will get a PDT
nsbeta3++ marker, but it should hopefully qualify for a rtm++ marker.
Comment 6•25 years ago
|
||
marking nsbeta3- as we won't be holding pr3 for this.
Whiteboard: [nsbeta3+][rtm+] → [nsbeta3-][rtm+]
Comment 7•25 years ago
|
||
Marking "needinfo". This seems like a bad thing, but we need a patch, review and
super review to clear for checkin.
Whiteboard: [nsbeta3-][rtm+] → [nsbeta3-][rtm+ needinfo]
Comment 8•25 years ago
|
||
Vidur checked in a fix to bugscape bug 2533 that fixed the timing of when end
load handlers are called. Mike, please check if this is still happening in the
latest Mac rtm branch build. If it is, please re-assign it to me and I'll take
a look. Thanks.
Assignee: nisheeth → pinkerton
Status: ASSIGNED → NEW
Reporter | ||
Comment 9•25 years ago
|
||
nope, it still calls endLoad on the presShell of the page you just came from
with a branch build from 10/2.
Assignee: pinkerton → nisheeth
Updated•25 years ago
|
Whiteboard: [nsbeta3-][rtm+ needinfo] → [nsbeta3-][rtm+ need info]
Reporter | ||
Comment 10•25 years ago
|
||
since i seem to see this with bugzilla bug pages, and they have some strange
multi-part mime troubles, perhaps this is just a dupe of those bugs...
Reporter | ||
Comment 11•25 years ago
|
||
yes, nisheeth and I verified this is only a problem with Bugzilla query pages
(probably because of the weird "multipart/x-mixed-replace", see bug #47350). We
also verified that the EndLoad is called on the correct presContext, in additon
to the wrong one, so nothing breaks, per se.
Since it's not as bad as we first thought, removing rtm nomination and
downgrading priority. We can ship with this.
Comment 14•24 years ago
|
||
Based on the analysis that pink and I did and our current bug lists, I think
this bug will need to stay futured. In what context are you seeing this bug,
Steve? If you have data that this bug is higher impact, we should re-evaluate.
![]() |
||
Comment 15•22 years ago
|
||
Is this still a problem?
Comment 16•22 years ago
|
||
I haven't looked this on a Mac for a long time. Also, not sure if we've ever
seen whether this behavior happens on OSX. I think pink was running OS 9 when
we tested for this bug back in early 2001.
I'll try to reproduce this on a recent OSX build and report back...
![]() |
||
Comment 17•21 years ago
|
||
Peter, can you reproduce this on OSX?
Updated•16 years ago
|
QA Contact: chrispetersen → layout
Updated•3 years ago
|
Assignee: nisheeth_mozilla → nobody
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•