Closed
Bug 343940
Opened 18 years ago
Closed 18 years ago
Uncatchable "Permission denied to set property Window.String" involving javascript: URL as a background image
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: testcase)
Attachments
(2 files)
Testcase 1 causes an uncatchable exception. I imagine there are several things going wrong: 1) The javascript: URL set as a td's background is evaluated at a strange time -- during or right after an appendChild call. 2) When the javascript: URL is evaluated, it's given an incorrect principal or context, resulting in a simple String.fromCharCode call giving "Permission denied to set property Window.String". 3) That error is allowed to affect the execution of a separate, already-running script. I could be way off, of course -- I don't know Gecko that well ;) Testcase 2 uses a <xul:vbox> where testcase 1 uses a <xul:textbox>, and somehow that makes the exception catchable.
Reporter | ||
Updated•18 years ago
|
Summary: Uncatchable "Permission denied to set property Window.String" and other strangeness → Uncatchable "Permission denied to set property Window.String" involving javascript: URL as a background image
Reporter | ||
Comment 1•18 years ago
|
||
Reporter | ||
Comment 2•18 years ago
|
||
Reporter | ||
Comment 3•18 years ago
|
||
These testcases put pass/fail information in the status bar using JavaScript, so they'll make the most sense if you allow JavaScript to set status bar text (Firefox disallows it by default).
![]() |
||
Comment 4•18 years ago
|
||
Is this still an issue?
Reporter | ||
Comment 5•18 years ago
|
||
WFM, both testcases say "pass" in the status bar.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•