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)
Tracking
()
RESOLVED
INVALID
People
(Reporter: hushbeck, Unassigned)
References
Details
Attachments
(1 file)
|
1.06 KB,
text/html
|
Details |
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.
Updated•12 years ago
|
Attachment #719734 -
Attachment mime type: text/plain → text/html
Comment 1•12 years ago
|
||
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
| Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•