Closed
Bug 50500
Opened 25 years ago
Closed 2 years ago
event stops firing after XUL template rebuild
Categories
(Core Graveyard :: RDF, defect, P3)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
Future
People
(Reporter: myk, Unassigned)
Details
Attachments
(1 file)
|
2.77 KB,
application/vnd.mozilla.xul+xml
|
Details |
Overview Description:
A "select" handler for a tree populated by a XUL template stops working after
rebuilding the tree. If I add back the handler it works fine again. I have
reduced this problem down to a minimal test case which I will attach.
Steps Code Takes in Test Case:
1. Adds "select" handler to tree.
2. Loads a remote datasource with the RDF service's GetDataSource() method.
Watches the progress of the load via nsIRDFXMLSink.
3. When datasource is loaded, adds it to the tree with database.AddDataSource()
and rebuilds the tree with builder.rebuild().
Steps to Observe Problem in Test Case:
1. Click on the items in the tree. Notice that nothing happens.
2. Click on the "Add Select Handler" button to re-add the event to the tree.
3. Click on the items in the tree. Notice that an alert message appears.
Actual Results: Select handler doesn't fire (no alert message).
Expected Results: Select handler fires (alert message).
Build Date & Platform Bug Found:
All Windows and Linux nightly builds which I have tried from August 8 to present
time (August 27).
| Reporter | ||
Comment 1•25 years ago
|
||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Updated•22 years ago
|
Attachment #13600 -
Attachment mime type: text/xul → application/vnd.mozilla.xul+xml
Comment 3•22 years ago
|
||
waterson left the building
Assignee: waterson → nobody
Status: ASSIGNED → NEW
QA Contact: nobody → core.rdf
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•