No access to TITLE and other elements in HEAD of top window from frames

RESOLVED INCOMPLETE

Status

()

Firefox
General
--
major
RESOLVED INCOMPLETE
7 years ago
7 years ago

People

(Reporter: Vlad, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [needs a testcase from the reporter] [closeme 2010-10-08])

(Reporter)

Description

7 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

<html><head><data id='1a'/><title>hello</title><meta ..../>
</head>
<frameset><frame></frame>....
.... - is valid code

script from frames: 
 top.document.getElementById('1a') return null
 top.document.title returns empty string 
 top.document.getElementsByTagName('meta')[0] return undefined
 and title d't display on tab or window bar also

Reproducible: Always

Steps to Reproduce:
1.make page with rameset
2.run java-script from frames
3.
Actual Results:  
top.document.getElementById('1a') return null
top.document.title returns empty string 
top.document.getElementsByTagName('meta')[0] return undefined

Expected Results:  
top.document.getElementById('1a') return obj
 top.document.title returns TITLE
 top.document.getElementsByTagName('meta')[0] return obj

Comment 1

7 years ago
Please attach or link to a testcase that can be used to reproduce the problem.
Whiteboard: [needs a testcase from the reporter] [closeme 2010-10-08]
No reply, INCOMPLETE. Please retest with Firefox 3.6.x or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.