Closed
Bug 322774
Opened 20 years ago
Closed 17 years ago
<iframe src="bogus:"> triggers "ASSERTION: failed to load URL"
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: assertion, helpwanted, testcase)
Attachments
(1 file)
|
947 bytes,
patch
|
Details | Diff | Splinter Review |
To reproduce, load data:text/html,<iframe src="bogus:">.
###!!! ASSERTION: failed to load URL: 'NS_SUCCEEDED(rv)', file /Users/admin/trunk/mozilla/content/base/src/nsFrameLoader.cpp, line 184
Break: at file /Users/admin/trunk/mozilla/content/base/src/nsFrameLoader.cpp, line 184
I think this assertion is also triggered if an iframe points to a non-existent local file (and the page is allowed to reference file: URLs).
See also bug 155246, another way to trigger the same assertion message.
Comment 1•20 years ago
|
||
This assert should probably just be a warning... jst, what do you think?
Blocks: 155246
Keywords: helpwanted
Comment 2•20 years ago
|
||
This removes the assertion.
But there are also patches in bug 155246, one of which may be more correct than this one.
Comment 3•20 years ago
|
||
Given that necko errors can happen, I don't think asserting here is called for at all. Failure to load a subframe is not fatal and not automatically indicative of incorrect code in Gecko.
| Reporter | ||
Comment 4•18 years ago
|
||
mrbkap fixed this in bug 322773 by turning the assertion into a warning. That part of his patch was similar to Martijn's patch, but used #ifdef DEBUG.
in-testsuite- due to bug 292510.
Flags: in-testsuite-
| Reporter | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Core → Core Graveyard
| Assignee | ||
Updated•7 years ago
|
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•