Open
Bug 323782
Opened 19 years ago
Updated 2 years ago
<textbox> in <richlistbox> generates exception "permissions violation" in remote XUL
Categories
(Toolkit :: UI Widgets, defect)
Tracking
()
NEW
People
(Reporter: sigh, Unassigned)
References
Details
Attachments
(1 file)
2.41 KB,
application/octet-stream
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8) Gecko/20051111 Firefox/1.5
When running a remote XUL file, a richlistbox containing nothing but a <textbox>
generates the following JSconsole error and onclick event does not fire:
Error: uncaught exception: Permission denied to call method HTMLDivElement.getAttribute
Reproducible: Always
Steps to Reproduce:
1.make remote XUL file with richlistbox containing only <textbox>
2.click in text box
3.observe error in JSconsole
4.observe that onclick event handler for richlistbox does not fire
Actual Results:
onclick event handler does not fire for richlistbox
Expected Results:
onclick event handler SHOULD fire
Reporter | ||
Comment 2•19 years ago
|
||
permissions violation definitely happens but onclick event handler failing to fire was an artifact of my test script - please ignore that part.
Reporter | ||
Comment 3•19 years ago
|
||
These test cases files will generate a permissions violation on both PC/win2000/FF1.5 and Mac/10.4/FF1.5 when clicking in the text box, which renders
making event handlers to do anything useful pretty difficult :(
Comment 4•18 years ago
|
||
That's not one file, and it surely isn't minimal. Anyways, running it, I get the following on the Error Console:
Error: uncaught exception: Permission denied to call method XULControllers.getControllerCount
Error: uncaught exception: Permission denied to call method HTMLDivElement.getAttribute
Error: uncaught exception: Permission denied to get property HTMLDivElement.className
CONFIRMing.
The bug SUMMARY suggests that <richlistbox> doesn't work at all. From your description and the testcase, it seems that only the <textbox> when used in <richlistbox> has a little problem. It still works, though. Adjusting summary.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: richlistbox generates permissions violation in remote XUL → <textbox> in <richlistbox> generates exception "permissions violation" in remote XUL
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•