Open
Bug 1133154
Opened 10 years ago
Updated 3 years ago
Add a method to provide UUID strings without { } and the null terminator when using nsIUUIDGenerator
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: yrliou, Unassigned)
References
Details
|ToProvidedString| in nsID only provide UUID in {xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx} format, though in some use cases, what we need is a uuid string without {} and the null terminator.
For example,
https://dxr.mozilla.org/mozilla-central/source/dom/base/nsHostObjectProtocolHandler.cpp#373
https://dxr.mozilla.org/mozilla-central/source/netwerk/base/nsNetUtil.h#2463
Maybe it's worth to add a method to directly provide uuid strings without {} and the null terminator.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•