Last Comment Bug 125841 - Make ACStrings and AUTF8Strings voidable
: Make ACStrings and AUTF8Strings voidable
Status: ASSIGNED
:
Product: Core
Classification: Components
Component: XPConnect (show other bugs)
: Trunk
: x86 Windows 2000
: -- normal with 1 vote (vote)
: Future
Assigned To: Nisheeth Ranjan
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2002-02-15 20:08 PST by Nisheeth Ranjan
Modified: 2006-11-03 11:14 PST (History)
5 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Nisheeth Ranjan 2002-02-15 20:08:40 PST
The DOMString type uses an XPCVoidableString class that inherits from
nsAutoString and adds the ability to store a JS null value. So, a boolean
comparison of a null DOMString with the null JS value yields TRUE. When the null
DOMString is passed into the JS print() method, it prints out "null".  We need
to replicate this behavior for ACStrings and AUTF8Strings.
Comment 1 Nisheeth Ranjan 2002-03-01 09:20:27 PST
-> 1.1

Not important right now.
Comment 2 Peter Van der Beken [:peterv] 2004-09-07 03:10:30 PDT
Do we still want to do this? I believe we have more voidable strings now?

Note You need to log in before you can comment on or make changes to this bug.