tree.view property turns up null

UNCONFIRMED
Assigned to

Status

()

Core
XUL
UNCONFIRMED
13 years ago
10 years ago

People

(Reporter: Terence Kearns, Assigned: janv)

Tracking

1.8 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
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

Updated

13 years ago
Assignee: nobody → Jan.Varga
Component: General → XP Toolkit/Widgets: Trees
Product: Firefox → Core
QA Contact: general → xptoolkit.trees
Version: unspecified → 1.8 Branch

Comment 1

11 years ago
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

Updated

10 years ago
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.