Closed
Bug 310994
Opened 19 years ago
Closed 19 years ago
Attempting to access contentDocument of <xul:iframe> fails: "Permission denied to create wrapper for object of class UnnamedClass"
Categories
(Core :: Security, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 209701
People
(Reporter: jruderman, Assigned: dveditz)
Details
Attachments
(1 file)
(deleted),
application/vnd.mozilla.xul+xml
|
Details |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20051003
Firefox/1.6a1
Attempting to access contentDocument of a <xul:iframe> fails with this exception:
Error: uncaught exception: Permission denied to create wrapper for object of
class UnnamedClass
Accessing the contentDocument of <html:iframe> works fine.
Reporter | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
The contentDocument property is called here:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/xpfe/global/resources/content/bindings/general.xml&rev=1.34&root=/cvsroot#228
<html:iframe> seems to have implemented this in c:
http://lxr.mozilla.org/seamonkey/source/dom/public/idl/html/nsIDOMHTMLIFrameElement.idl#66
Comment 3•19 years ago
|
||
I believe this bug to cover the same issue as bug 209701. Unlike this bug,
however, bug 209701 has at least an attempt at a patch. I am therefore resolving
this bug as a duplicate of bug 209701. Feel free to reopen if you disagree.
*** This bug has been marked as a duplicate of 209701 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•