Closed Bug 296483 Opened 20 years ago Closed 20 years ago

getCellText, a xul tree method, no longer works

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 242010

People

(Reporter: conor, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+

Error: uncaught exception: [Exception... "Could not convert JavaScript argument
arg 1 [nsITreeView.getCellText]"  nsresult: "0x80570009
(NS_ERROR_XPC_BAD_CONVERT_JS)"  location: "JS frame ::
http://xulplanet.com/tutorials/xulqa/treeselect.xul :: doSelect :: line 22" 
data: no]

Works fine in Firefox 1.0x

Reproducible: Always

Steps to Reproduce:
1. go to XUL planet page
2. click view
3. in view, select any row in the tree

Actual Results:  
get exception - javascript won't work as it should

Expected Results:  
see firefox 1.0x: row selection should allow the javascript to get at the text
in the row's columns
The API changed, see the dupe for more info.

*** This bug has been marked as a duplicate of 242010 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.