Closed Bug 315647 Opened 19 years ago Closed 6 years ago

tree.view property turns up null

Categories

(Core :: XUL, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: spasmoid, Assigned: janv)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5

Sometimes the "view" property of a XUL <tree> element **turns up null** after running the following code where ndTreCdt is a DOM node reference to a populated <tree>.

ndTreCdt.datasources = uriRequest;
ndTreCdt.builder.refresh();
ndTreCdt.builder.rebuild();

The is strange because I can see contents rendered in the tree based on my <template>

When I went to about:config and switched javascript.options.strict to "true", the problem went away and I haven't been able to reproduce this anomally since.

Nothing shows up in the JS console. This code exists in a try/catch block but no exceptions are thrown.


Reproducible: Couldn't Reproduce
Assignee: nobody → Jan.Varga
Component: General → XP Toolkit/Widgets: Trees
Product: Firefox → Core
QA Contact: general → xptoolkit.trees
Version: unspecified → 1.8 Branch
what do i do to get rid of the bugs and null and child properties on all my computers. one's i own. only me and i'm not the admin. thx, jbt23@nau.edu
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.trees → xptoolkit.widgets
I don't think anyone is going to work on this given the plan to remove the XUL "tree" widget (bug 1446335).
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.