mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
782cf5d3ad
In most situations, JSONWriter users already know string lengths (either directly, or through `nsCString` and friends), so we should keep this information through JSONWriter and not recompute it again. This also allows using JSONWriter with sub-strings (e.g., from a bigger buffer), without having to create null-terminated strings. Public JSONWriter functions have overloads that accept literal strings. Differential Revision: https://phabricator.services.mozilla.com/D86192 |
||
---|---|---|
.. | ||
new | ||
old | ||
test | ||
components.conf | ||
moz.build | ||
Notification.cpp | ||
Notification.h | ||
NotificationEvent.cpp | ||
NotificationEvent.h | ||
NotificationStorage.jsm |