Closed
Bug 300668
Opened 20 years ago
Closed 19 years ago
XUL custom treeview throws a permission denied error when selecting a row (non-chrome XUL)
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 209701
People
(Reporter: deck_hockey, Assigned: janv)
References
()
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8b2) Gecko/20050623 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8b2) Gecko/20050623 Firefox/1.0+
See steps
Reproducible: Always
Steps to Reproduce:
1. Open the URL provided (a custom treeview example from XUL Planet)
2. Attempt to select a row
3. Notice that an exception is thrown:
Error: uncaught exception: Permission denied to create wrapper for object of
class UnnamedClass
The sample is not erring because of a TreeColumn being passed to the
"getCellText" method (instead of an ID-string), but due to some other factor.
Actual Results:
Error: uncaught exception: Permission denied to create wrapper for object of
class UnnamedClass
Expected Results:
The tree-view row should be selected, as in the default tree view control.
Comment 1•19 years ago
|
||
Code from the web site
Comment 2•19 years ago
|
||
first example had a syntax error.
I am getting the same effect in my own custom view backed trees, but only with
the ff 1.5 beta 1
Attachment #196209 -
Attachment is obsolete: true
Comment 3•19 years ago
|
||
So your problem is with non-chrome XUL trees, right?
Assignee: nobody → Jan.Varga
Status: UNCONFIRMED → NEW
Component: General → XP Toolkit/Widgets: Trees
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
QA Contact: general → xptoolkit.trees
Summary: XUL custom treeview throws an error when selecting a row → XUL custom treeview throws a permission denied error when selecting a row (non-chrome XUL)
Version: unspecified → 1.8 Branch
Comment 4•19 years ago
|
||
(In reply to comment #3)
> So your problem is with non-chrome XUL trees, right?
Yes it is, I haven't tried from chrome, but the UnnamedClass seems to only apply
to non-chrome xul.
Comment 5•19 years ago
|
||
This attachemnt is slightly modified to provide a nsISupports interface which
then reports that it supports nsITreeView. Code shamelessly stolen from:
http://www.xulplanet.com/tutorials/xulqa/q_treebview.html
Is this an intentional change, or a bug?
Comment 6•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
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.trees → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•