Summary: | `window.parent.[frameName].location=' fails if the target frame has not yet loaded a document | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | rahul abrol <solushex> | ||||||
Component: | Frames | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | CLOSED FIXED | ||||||||
Severity: | Normal | CC: | ap, ian | ||||||
Priority: | P2 | Keywords: | HasReduction | ||||||
Version: | 420+ | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.4 | ||||||||
Attachments: |
|
Description
rahul abrol
2006-02-09 20:40:10 PST
Created attachment 6377 [details]
testcase (start.tgz)
the attached archive contains four files. open start.html.
the top frame (banner.htm) remains empty in safari (no js errors either), whereas other browsers seem to have no problems here.
Created attachment 6390 [details]
reduction.zip
Attached a more reduced reduction (reduction.zip).
The reduction will pass in Safari if and only if: (1) The target frame loads an initial document (even an empty document). (2) The target frame loads prior to the frame that tries to set its src value. Good testcase. Confirmed. |