Closed Bug 590890 Opened 14 years ago Closed 14 years ago

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

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: dreadboom, Unassigned)

Details

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

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
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
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.