Closed Bug 9466 Opened 25 years ago Closed 25 years ago

Document loaded in iframe takes over its parent

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

VERIFIED INVALID

People

(Reporter: slamm, Assigned: karnaze)

Details

Attachments

(1 file)

I have an html page that look like this,

<body><iframe src="http://www.uiuc.edu/"/><body>

The iframe loads the document and when its done, the contents of the iframe
takes over the whole window.
Assignee: troy → karnaze
Yeah, that's pretty whacky. Assigning to Chris, but Cc'ing Eric because I forgot
who handles IFRAME
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
That's because the web sites you are visiting are greedy:

A la:
<BODY ONLOAD="if (top != self) top.location.href = self.location.href;">
<BODY ONLOAD="if(parent.frames.length!=0)top.location='http://cnn.com';">
Status: RESOLVED → VERIFIED
That's slick. I need to pick my test sites more carefully.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: