gecko-dev/dom/reporting
Gerald Squelart 782cf5d3ad Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj
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
2020-09-14 02:33:20 +00:00
..
tests Bug 1654553 - fix browser chrome tests to support Object.is instead of ==. r=gbrown,preferences-reviewers,Gijs,rpl 2020-07-27 17:02:35 +00:00
CrashReport.cpp Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj 2020-09-14 02:33:20 +00:00
CrashReport.h Bug 1607364 - CrashReporting API r=baku 2020-02-21 17:40:30 +00:00
DeprecationReportBody.cpp Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj 2020-09-14 02:33:20 +00:00
DeprecationReportBody.h Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug 2020-04-18 12:25:57 +00:00
EndpointForReportChild.cpp
EndpointForReportChild.h Bug 1615155 - Don't generate default `Recv__delete__` if there are args. r=nika 2020-02-18 20:46:21 +00:00
EndpointForReportParent.cpp
EndpointForReportParent.h
FeaturePolicyViolationReportBody.cpp Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj 2020-09-14 02:33:20 +00:00
FeaturePolicyViolationReportBody.h Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug 2020-04-18 12:25:57 +00:00
PEndpointForReport.ipdl
Report.cpp Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug 2020-04-18 12:25:57 +00:00
Report.h Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert 2020-07-22 15:12:10 +00:00
ReportBody.cpp Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug 2020-04-18 12:25:57 +00:00
ReportBody.h Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert 2020-07-22 15:12:10 +00:00
ReportDeliver.cpp Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj 2020-09-14 02:33:20 +00:00
ReportDeliver.h Bug 1607364 - CrashReporting API r=baku 2020-02-21 17:40:30 +00:00
ReportingHeader.cpp Bug 1656359 - eliminate needless string flattening when calling JS_ParseJSON; r=peterv 2020-08-04 14:17:37 +00:00
ReportingHeader.h Bug 1607364 - CrashReporting API r=baku 2020-02-21 17:40:30 +00:00
ReportingObserver.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
ReportingObserver.h Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert 2020-07-22 15:12:10 +00:00
ReportingUtils.cpp Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug 2020-04-18 12:25:57 +00:00
ReportingUtils.h Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug 2020-04-18 12:25:57 +00:00
TestingDeprecatedInterface.cpp
TestingDeprecatedInterface.h Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert 2020-07-22 15:12:10 +00:00
moz.build Bug 1607364 - CrashReporting API r=baku 2020-02-21 17:40:30 +00:00