NS_ERROR_DOM_SECURITY_ERR when accessing to an iframe on same server but different port

VERIFIED FIXED

Status

()

VERIFIED FIXED
17 years ago
10 years ago

People

(Reporter: tangivass, Assigned: sicking)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 2 obsolete attachments)

(Reporter)

Description

17 years ago
With Mozilla 1.1b I can't anymore access in javascript the content of an iframe
pointing http://serverA:port1 from a page on http://serverA:port2. I get a
NS_ERROR_DOM_SECURITY_ERR on window.frames.myframe.document.body.innerHTML
though the two pages are on the same server and the document.domain properties
of both pages are correctly set to 'serverA'.
FYI, it works fine with Mozilla 1.1a/Linux and Netscape 7.0 french/Windows
(Gecko/20020512).

Thanks everybody for this great browser and its invaluable web development tools.
Jonas, this is yours... Is the original security-sensitive?  Or not reported?
Assignee: jst → sicking
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** Bug 159885 has been marked as a duplicate of this bug. ***
Created attachment 93198 [details] [diff] [review]
switch to use principles instead of URIs
Comment on attachment 93198 [details] [diff] [review]
switch to use principles instead of URIs

r=me with the comment changes we discussed
Attachment #93198 - Flags: review+
Created attachment 93204 [details] [diff] [review]
switch to use principles instead of URIs, v2

added comments and also added an NS_ENSURE_FALSE to make sure that noone
_changes_ the uri of XUL prototype documents
Attachment #93198 - Attachment is obsolete: true
Comment on attachment 93204 [details] [diff] [review]
switch to use principles instead of URIs, v2

carrying forward r=bz
Attachment #93204 - Flags: review+
Comment on attachment 93204 [details] [diff] [review]
switch to use principles instead of URIs, v2

sr=jst
Attachment #93204 - Flags: superreview+
Created attachment 93228 [details] [diff] [review]
switch to use principles instead of URIs, v3

Same as previous one except that it makes sure that we get system principals
for XUL document prototypes when loaded from chrome URIs
Attachment #93204 - Attachment is obsolete: true
Comment on attachment 93228 [details] [diff] [review]
switch to use principles instead of URIs, v3

sr=jst
Attachment #93228 - Flags: superreview+

Comment 10

16 years ago
Comment on attachment 93228 [details] [diff] [review]
switch to use principles instead of URIs, v3

a=asa (on behalf of drivers) for checkin to 1.1
Attachment #93228 - Flags: approval+
Comment on attachment 93228 [details] [diff] [review]
switch to use principles instead of URIs, v3

r=bzbarsky
Attachment #93228 - Flags: review+
checked in
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
tangi could you please download a nightly from today and see if this is fixed?
Or provide an URL where i can test it?
(Reporter)

Comment 14

16 years ago
Today's build fixed the bug. 

Thanks everybody.
Status: RESOLVED → VERIFIED
*** Bug 161373 has been marked as a duplicate of this bug. ***

Updated

10 years ago
Component: DOM: Core → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.