Closed Bug 462238 Opened 16 years ago Closed 7 years ago

Error: Permission denied for ... to get property Window.document from <moz-safe-about:blank> after giving universalxpconnect privileges

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: martijn.martijn, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file testcase
See testcase, you can test it online if you have the signed.applets.codebase_principal_support pref set to true. You need to have to have the 'Show windows and tabs from last time' option set. To reproduce: - load testcase, then close Firefox and restart. After restart, the designMode iframe is not editable and I see this js error in the error console: Error: Permission denied for <file://> to get property Window.document from <moz-safe-about:blank>. Source File: file:///C:/Documents%20and%20Settings/mw/Bureaublad/designmode_ctrldel.htm Line: 8
I got a similarly bogus error saying: "Permission denied for <http://localhost> to get property Window.document from <http://localhost>." I've tried to produce a minimal testcase, but that hasn't worked out so far. I'm using an iframe in designMode, and everything works fine except when Google's jsapi is loaded from www.google.com , which seems to trigger overzealous cross-domain restrictions (but that's just my guess).
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Status: REOPENED → RESOLVED
Closed: 8 years ago7 years ago
Resolution: --- → WONTFIX
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: