Closed
Bug 54739
Opened 24 years ago
Closed 24 years ago
Assertion: NS_ENSURE_TRUE(mSessionHistory) failed
Categories
(Core :: DOM: Navigation, defect, P3)
Core
DOM: Navigation
Tracking
()
VERIFIED
FIXED
mozilla0.9
People
(Reporter: jesup, Assigned: radha)
References
()
Details
Attachments
(2 files)
13.37 KB,
text/plain
|
Details | |
11.10 KB,
patch
|
Details | Diff | Splinter Review |
FreeBSD 4.1 20000928xx At the site above (and various pages within it), you get this assertion. This might be a docshell thing, perhaps. It's trying to get the history length attribute from JS when this assertion kicks out. The JS is at http://www.avp.ee/Est/menu.html I don't know if this breaks the JS code, but I wouldn't be surprised. Backtrace/structure dump attached.
Reporter | ||
Comment 1•24 years ago
|
||
Assignee | ||
Comment 2•24 years ago
|
||
It looks like the history object is going to the wrong place in search of length. It should be going to nsHistory.cpp and calling in to docshell for history length. Instead it is calling nsJSHistory.cpp, which looks like is still hooked to nsWebShell's history object which is obsolete. cc'ing nisheeth, rpotts
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9
Assignee | ||
Comment 3•24 years ago
|
||
Assignee | ||
Comment 4•24 years ago
|
||
I have attached a patch that reroutes all history calls thro' Session History. I don't see the assertion with the new change. Shall try to get a review soon.
Comment 5•24 years ago
|
||
r=rpotts Hey radha, If I understand the patch correctly, it directs all of the javascript SH calls through nsISHistory rather than calling the DocShell (which could be a frame - without a SH instance)... Sounds good to me :-)
Assignee | ||
Comment 6•24 years ago
|
||
Rick, You understood it right. Also it ties all history related queries that comes from JS to SH. No more frame specific history navigations. Thanks,
Assignee | ||
Comment 7•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 8•22 years ago
|
||
mass-verifying claudius' Fixed bugs which haven't changed since 2001.12.31. if you think this particular bug is not fixed, please make sure of the following before reopening: a. retest with a *recent* trunk build. b. query bugzilla to see if there's an existing, open bug (new, reopened, assigned) that covers your issue. c. if this does need to be reopened, make sure there are specific steps to reproduce (unless already provided and up-to-date). thanks! [set your search string in mail to "AmbassadorKoshNaranek" to filter out these messages.]
Status: RESOLVED → VERIFIED
Component: History: Session → Document Navigation
QA Contact: claudius → docshell
You need to log in
before you can comment on or make changes to this bug.
Description
•