Closed Bug 217306 Opened 22 years ago Closed 22 years ago

Iframe # hall of mirrors effect

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: fuzzy, Unassigned)

Details

Attachments

(2 files)

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) Build Identifier: Mozilla/5.0 When placing a iframe on a page, and the src is set to # you get a verry interesting hall of mirrors effect Reproducible: Always Steps to Reproduce: 1.Create a Iframe 2.Set the src = to # 3.View the page Actual Results: The iframe referances the page containing it, wich referances the page containing it, wich referances the page containing it, as you see it loops infinatly Expected Results: Possibly catch for src="#" so the hallf of mirrors doesnt occur
Seen in Mozilla Suite 2003082404. Not reproducable in Internet Explorer 6 SP1.
This bug happens in Mozilla 1.5a but WFM in trunk 2003082522 linux. Nesting iframes stops at 3rd level.
Confirmed on WinXP SP1 trunk 2003082505. Is Browser/Layout: HTML Frames the right component ?
Assignee: general → frame
Status: UNCONFIRMED → NEW
Component: Browser-General → Layout: HTML Frames
Ever confirmed: true
QA Contact: general → madhur
can someone attach a screenshot ?
Attached image Screen shot
On second thought, I'm not sure this is a bug at all. <a href="#"> means 'top of current page', and so the iframes do have the right behavior. The only bug here, is that it 'only' copies it three levels deep. But that must be some check in order to not enter an infinite loop. So if noone objects, I will resolve as INVALID (Not a bug).
I agree. See bugs 98158 and 136580 about preventing infinite (i)frame recursion.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
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.

Attachment

General

Creator:
Created:
Updated:
Size: