Bug 19441 - iframe.src = something is ignored on reload
Summary: iframe.src = something is ignored on reload
Status: RESOLVED DUPLICATE of bug 3580
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2008-06-08 16:42 PDT by Francisco Tolmasky
Modified: 2008-06-10 08:39 PDT (History)
1 user (show)

See Also:

Reduction (451 bytes, text/plain)
2008-06-08 16:45 PDT, Francisco Tolmasky
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Tolmasky 2008-06-08 16:42:17 PDT
After the initial setting of src, each additional reload the src = is ignored.

I've attached a reduction.  Simply load the page, and then click on any link in the iframe.  Then, hit refresh.  You'll notice that the page loaded is the linked to page, not the original page, which is incorrect because the script is explicitly setting the src attribute.  The only way to fix this is to keep reseting the name attribute of the iframe.
Comment 1 Francisco Tolmasky 2008-06-08 16:45:22 PDT
Created attachment 21583 [details]

My initial comment for this bug describes how to use this reduction.
Comment 2 Alexey Proskuryakov 2008-06-10 08:39:00 PDT
I can reproduce this with shipping Safari, but not with ToT. Likely fixed with bug 3580.

*** This bug has been marked as a duplicate of 3580 ***