Make ACStrings and AUTF8Strings voidable

ASSIGNED
Assigned to

Status

()

Core
XPConnect
ASSIGNED
16 years ago
11 years ago

People

(Reporter: Nisheeth Ranjan, Assigned: Nisheeth Ranjan)

Tracking

Trunk
Future
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

16 years ago
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.
(Assignee)

Updated

16 years ago
Target Milestone: --- → mozilla1.0
(Assignee)

Comment 1

15 years ago
-> 1.1

Not important right now.
Status: NEW → ASSIGNED
Target Milestone: mozilla1.0 → mozilla1.1
Target Milestone: mozilla1.1alpha → Future
Do we still want to do this? I believe we have more voidable strings now?
QA Contact: pschwartau → xpconnect
You need to log in before you can comment on or make changes to this bug.