Closed Bug 846555 Opened 12 years ago Closed 12 years ago

Iframe with same URL as parent does not load content

Categories

(Core :: DOM: Core & HTML, defect)

22 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: hushbeck, Unassigned)

References

Details

Attachments

(1 file)

Attached file test.html
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20130228 Firefox/22.0 Build ID: 20130228100310 Steps to reproduce: Created an <iframe> on a page using JS that has the same URL as the parent window. Actual results: Content in <iframe> does not load Expected results: Content should load as expected.
Attachment #719734 - Attachment mime type: text/plain → text/html
Component: Untriaged → DOM
Product: Firefox → Core
This is done on purpose, to prevent against infinite recursion. Note the spec at http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#process-the-iframe-attributes which says: If there exists an ancestor browsing context whose active document's address, ignoring fragment identifiers, is equal to url, then abort these steps.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: