Closed Bug 159348 Opened 18 years ago Closed 18 years ago

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

Categories

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

x86
Linux
defect
Not set

Tracking

()

VERIFIED FIXED

People

(Reporter: tangivass, Assigned: sicking)

References

Details

Attachments

(1 file, 2 obsolete files)

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. ***
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+
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+
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 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
Closed: 18 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?
Today's build fixed the bug. 

Thanks everybody.
Status: RESOLVED → VERIFIED
*** Bug 161373 has been marked as a duplicate of this bug. ***
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.