sandboxName needs to support non-ascii chars
Categories
(Core :: XPConnect, defect, P3)
Tracking
()
People
(Reporter: bugzilla, Unassigned, Mentored)
Details
(Whiteboard: [lang=c++])
Attachments
(1 file)
Comment 1•13 years ago
|
||
| Reporter | ||
Comment 2•13 years ago
|
||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Comment 8•12 years ago
|
||
Updated•11 years ago
|
Comment 9•9 years ago
|
||
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
Comment 12•9 years ago
|
||
Comment 13•9 years ago
|
||
Comment 14•9 years ago
|
||
Comment 15•9 years ago
|
||
Comment 16•9 years ago
|
||
Comment 17•9 years ago
|
||
Comment 18•9 years ago
|
||
Comment 19•9 years ago
|
||
Comment 20•9 years ago
|
||
Comment 21•8 years ago
|
||
Comment 22•8 years ago
|
||
Comment 23•8 years ago
|
||
Comment 24•8 years ago
|
||
Comment 25•8 years ago
|
||
Comment 26•8 years ago
|
||
Comment 27•8 years ago
|
||
Updated•8 years ago
|
Comment 28•8 years ago
|
||
Comment 29•8 years ago
|
||
Comment 30•8 years ago
|
||
| Comment hidden (mozreview-request) |
Comment 32•8 years ago
|
||
| mozreview-review | ||
| Comment hidden (mozreview-request) |
Updated•7 years ago
|
Comment 34•4 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Comment 35•4 years ago
|
||
The r+'d patch unfortunately appears lost to the sands of time, but it looks like the issue remains, although a few functions have been renamed in the meantime, so the code bz pointed at in comment 4 (from OptionsBase::ParseString in Sandbox.cpp) is now:
JS::UniqueChars tmp = JS_EncodeStringToLatin1(mCx, value.toString());
Updated•4 years ago
|
Comment 36•4 years ago
|
||
Given that we don't expose Sandbox to extension code anymore, I'm not sure this is a problem which we need to worry about, as we control all sandbox names used in firefox at this point, and none of them are unicode.
I believe these names are also only used for places like about:memory, so shouldn't be a big deal if they're lossy either.
If we do switch this to be unicode, we'll also need to update locations like https://searchfox.org/mozilla-central/rev/13d69189a8abfc5064fe44944550b9b6eb4544f5/js/xpconnect/idl/xpccomponents.idl#635-645 where it's read to support unicode text so that it's encoded correctly.
Description
•