Closed Bug 414283 Opened 17 years ago Closed 17 years ago

Permission denied to get property window.x - local frames error.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 404822

People

(Reporter: ice, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008012604 Minefield/3.0b3pre

Similar bug is bug 410791; eg. 3.0b3pre and local files  
(see https://bugzilla.mozilla.org/show_bug.cgi?id=410791)

Document A in frame 1 in local subfolder is denied permission to get object properties and run scripts in document B in frame 2 in local parent folder.


Reproducible: Always

Steps to Reproduce:
1. start frames.htm
2. open Error console
3. click link to test.htm
4. click link to index.htm

Actual Results:  
test.htm loads:
1. test.htm does not return hvariable (defined in frame 2).
2. location of test.htm does not display (in frame 2).


Expected Results:  
1. test.htm should return true (hvariable).
2. location of test.htm should display (in frame 2).


mainframe => index.htm (Index) => frame 1 => parent folder
mainframe => test.htm (Test) => frame 1 => subfolder
helpframe => helpbar.htm (Help Bar) => frame 2 => parent folder
frameset => frames.htm (Frames) => parent frame => parent folder

!!! Bug is a must-fix because it breaks local browsing in frames.
Version: unspecified → Trunk
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: