Closed
Bug 193334
Opened 23 years ago
Closed 23 years ago
Recursive iframe: bug or feature?
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Core
Layout: Images, Video, and HTML Frames
Tracking
()
RESOLVED
INVALID
People
(Reporter: biro.arpad, Unassigned)
Details
Attachments
(1 file)
123 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210
Mozilla renders recursive iframes, well, recursively.
Reproducible: Always
Steps to Reproduce:
Load the following code with Mozilla:
<html><head><title>Test</title></head>
<body>Test
<iframe width="100%" height="300" src="#"></iframe>
</body>
</html>
Actual Results:
Mozilla renders it recursively.
Reporter | ||
Comment 1•23 years ago
|
||
If anyone is interested, IE just renders an empty page (just an <html></html>
pair) in the inside box.
![]() |
||
Comment 3•23 years ago
|
||
jkeiser, didn't we have code to prevent this?
Comment 4•23 years ago
|
||
I thought we had some sort of frame nesting depth to prevent this...we
should make sure it's hooked up to <object>, too.
Comment 5•23 years ago
|
||
I can only get it to recurse itself about 32 times. The innermost frame is
completely black. Win2k, SP3, 1.3b.
Comment 6•23 years ago
|
||
-> All/All based on 1.3b/OS X
(I also vaguely remember this having no effect when I tried to break the browser
a long long long time ago. perhaps it was just frames tho)
OS: Windows 2000 → All
Hardware: PC → All
Updated•23 years ago
|
Attachment #114430 -
Attachment mime type: text/plain → text/html
Comment 7•23 years ago
|
||
If you ask for the iframe to be pointed at a "#" URL relative to the current
document, we happily do what you say. Doing what the programmer says is a
feature. :)
If recursion protection is not enabled, that's another thing altogether. But it
looks like it is. And <object> recursion protection probably works right now.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Updated•7 years ago
|
Product: Core → Core Graveyard
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
•