Closed
Bug 299926
Opened 20 years ago
Closed 20 years ago
crash when pass undefined as column to getCellText() method
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 293717
People
(Reporter: surkov, Assigned: janv)
Details
Attachments
(1 file)
999 bytes,
application/vnd.mozilla.xul+xml
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050530
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050530
tree.view.getCellText(index, undefinded) crashs mozilla
Reproducible: Always
Comment 1•20 years ago
|
||
Can you provide a talkback ID or a stacktrace?
Reporter | ||
Comment 2•20 years ago
|
||
Talkback ID: TB7291868K
Comment 3•20 years ago
|
||
Could you give a code example?
Comment 4•20 years ago
|
||
hm, talkback has no symbols, only shows the crash is in gklayout
what kind of tree view is this?
Reporter | ||
Comment 5•20 years ago
|
||
I use content tree. I add treeitems as DOM nodes and then I get their cell text
by getCellText() method.
Reporter | ||
Comment 6•20 years ago
|
||
Comment 7•20 years ago
|
||
I don't crash with 2005-07-07-06.
The build you crashed with is old: 2005-05-30-06. Do you crash with a nightly
build?
Reporter | ||
Comment 8•20 years ago
|
||
I cannot download latest nightly build. If you can't get a crash with recent
build then mark this bug as invalid or worksforme.
Comment 9•20 years ago
|
||
I can get it to crash with a 2005-05-25 trunk build, but with a 2005-07-03
build, I get this js error with the testcase:
Error: uncaught exception: [Exception... "Component returned failure code:
0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsITreeView.getCellText]" nsresult:
"0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame ::
file:///C:/Documents%20and%20Settings/Martijn/Desktop/1.xul :: get :: line 17"
data: no]
I've used
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect
UniversalBrowserRead');
to get the testcase working on my local hard drive.
So I think this is already fixed somehow. I'm marking this WORKSFORME, if
someone can still reproduce with the latest build, then please reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Comment 10•20 years ago
|
||
oh, that's why I couldn't find an impl that would crash... because it's fixed
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Comment 11•20 years ago
|
||
*** This bug has been marked as a duplicate of 293717 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 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
•