Closed Bug 349419 Opened 18 years ago Closed 18 years ago

"Unexpected load type value" assertion after entering a URL needing fixup

Categories

(Core :: DOM: Navigation, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: ajschult784, Assigned: Gavin)

References

Details

(Keywords: assertion)

Attachments

(2 files)

With the patch from bug 332668, I'm hitting the assertion from bug 341112,
###!!! ASSERTION: Unexpected load type value: 'Not Reached', file /build/andrew/moz-debug/mozilla/docshell/base/nsDocShell.cpp, line 646

I seem to get it anytime I enter a URL that needs fixup.  "fooby" and "mozilla.org" trigger the assertion, but "http://www.mozilla.org/" does not.  I also hit the assertion with a trunk build of firefox.
I'm not entirely familiar with this load type code, but this fixes the assertion for me...
Attachment #234708 - Flags: review?(cbiesinger)
OS: Linux → All
Hardware: PC → All
Comment on attachment 234708 [details] [diff] [review]
fixes the assertion by introducing a new nsIDocShellLoadInfo type

looks ok to me
Attachment #234708 - Flags: superreview?(bzbarsky)
Attachment #234708 - Flags: review?(cbiesinger)
Attachment #234708 - Flags: review+
Assignee: nobody → gavin.sharp
Status: NEW → ASSIGNED
Priority: -- → P3
Whiteboard: [patch-r?]
Target Milestone: --- → mozilla1.9alpha
Comment on attachment 234708 [details] [diff] [review]
fixes the assertion by introducing a new nsIDocShellLoadInfo type

Man.  We so need to fix this mess.  Can we find someone to do it for 1.9?

sr=bzbarsky
Attachment #234708 - Flags: superreview?(bzbarsky) → superreview+
Whiteboard: [patch-r?] → [checkin needed]
mozilla/docshell/base/nsDocShellLoadTypes.h 	1.3
mozilla/docshell/base/nsDocShell.cpp 	1.815
mozilla/docshell/base/nsIDocShellLoadInfo.idl 	1.22
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Depends on: 351777
Case in point -- this patch is actually wrong.  See bug 351777.  :(
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: