Closed
Bug 159348
Opened 23 years ago
Closed 23 years ago
NS_ERROR_DOM_SECURITY_ERR when accessing to an iframe on same server but different port
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: tangivass, Assigned: sicking)
References
Details
Attachments
(1 file, 2 obsolete files)
23.69 KB,
patch
|
bzbarsky
:
review+
jst
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
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.
![]() |
||
Comment 1•23 years ago
|
||
Jonas, this is yours... Is the original security-sensitive? Or not reported?
Assignee: jst → sicking
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 2•23 years ago
|
||
*** Bug 159885 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 3•23 years ago
|
||
![]() |
||
Comment 4•23 years ago
|
||
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+
Assignee | ||
Comment 5•23 years ago
|
||
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
Assignee | ||
Comment 6•23 years ago
|
||
Comment on attachment 93204 [details] [diff] [review]
switch to use principles instead of URIs, v2
carrying forward r=bz
Attachment #93204 -
Flags: review+
Comment 7•23 years ago
|
||
Comment on attachment 93204 [details] [diff] [review]
switch to use principles instead of URIs, v2
sr=jst
Attachment #93204 -
Flags: superreview+
Assignee | ||
Comment 8•23 years ago
|
||
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 9•23 years ago
|
||
Comment on attachment 93228 [details] [diff] [review]
switch to use principles instead of URIs, v3
sr=jst
Attachment #93228 -
Flags: superreview+
Comment 10•23 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 11•23 years ago
|
||
Comment on attachment 93228 [details] [diff] [review]
switch to use principles instead of URIs, v3
r=bzbarsky
Attachment #93228 -
Flags: review+
Assignee | ||
Comment 12•23 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 13•23 years ago
|
||
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•23 years ago
|
||
Today's build fixed the bug.
Thanks everybody.
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 15•23 years ago
|
||
*** 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.
Description
•