Closed Bug 1171409 Opened 10 years ago Closed 10 years ago

cross-frame links forget target when previously accesed url contains a framset and var name=""

Categories

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

38 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mircea_lutic, Unassigned)

Details

Attachments

(2 files)

Attached file cross-Frame-Href.zip
User Agent: Mozilla/5.0 (Windows NT 6.0; rv:38.0) Gecko/20100101 Firefox/38.0 Build ID: 20150525141253 Steps to reproduce: created a set of files that do the following: index.htm contains a frameset with menu.htm on the left and "parts" on the right menu.htm contains 3 links: part1.htm, part2.htm, part3.htm part1.htm, part2.htm are simple htm files part3.htm contains a frameset with 2 frames AND a script with var name see attached zip file Actual results: to reproduce: 1. open index.htm 2.clic part1 (all ok) 3.clic part2 (all ok) 4 clic part3 (all ok) 3.clic part2 again - it is opened in a new window :o Expected results: 1. open index.htm 2.clic part1 (all ok) 3.clic part2 (all ok) 4 clic part3 (all ok) 3.clic part2 again - should open as above
the problem is actualy with the var name="". It shows up even when the file is a regular html with body
Attachment #8615278 - Attachment mime type: application/octet-stream → application/x-zip-compressed
Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
> the problem is actualy with the var name="". That sets the window name, per spec. So after that targeting the window by its old name will no longer work, since its name is now different.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: