gecko-dev/dom/performance
Nathan Froyd cfb8fb313f Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg
This patch was generated by running:

```
perl -p -i \
     -e 's/^(\s+)([a-zA-Z0-9.]+) = NS_ConvertUTF8toUTF16\((.*)\);/\1CopyUTF8toUTF16(\3, \2);/;' \
     -e 's/^(\s+)([a-zA-Z0-9.]+) = NS_ConvertUTF16toUTF8\((.*)\);/\1CopyUTF16toUTF8(\3, \2);/;' \
     $FILE
```

against every .cpp and .h in mozilla-central, and then fixing up the
inevitable errors that happen as a result of matching C++ expressions with
regexes.  The errors fell into three categories:

1. Calling the convert functions with `std::string::c_str()`; these were
   changed to simply pass the string instead, relying on implicit conversion
   to `mozilla::Span`.
2. Calling the convert functions with raw pointers, which is not permitted
   with the copy functions; these were changed to invoke `MakeStringSpan` first.
3. Other miscellaneous errors resulting from over-eager regexes and/or the
   replacement not being type-aware.  These changes were reverted.

Differential Revision: https://phabricator.services.mozilla.com/D88903
2020-09-02 09:54:37 +00:00
..
tests Backed out 7 changesets (bug 1518999) for causing browsertime failures. CLOSED TREE 2020-08-28 06:27:11 +03:00
moz.build Backed out 7 changesets (bug 1518999) for causing browsertime failures. CLOSED TREE 2020-08-28 06:27:11 +03:00
Performance.cpp Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg 2020-09-02 09:54:37 +00:00
Performance.h Bug 1662277 - Make IntersectionObserver entries have the same timestamp as other timestamp-returning things during the "update the rendering steps". r=sefeng 2020-09-01 15:02:54 +00:00
PerformanceEntry.cpp
PerformanceEntry.h
PerformanceMainThread.cpp Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg 2020-09-02 09:54:37 +00:00
PerformanceMainThread.h Backed out 7 changesets (bug 1518999) for causing browsertime failures. CLOSED TREE 2020-08-28 06:27:11 +03:00
PerformanceMark.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
PerformanceMark.h
PerformanceMeasure.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
PerformanceMeasure.h
PerformanceNavigation.cpp
PerformanceNavigation.h
PerformanceNavigationTiming.cpp Bug 1511941 - Don't expose PerformanceNavigationTiming in RFP mode r=tjr,baku 2020-05-07 16:33:38 +00:00
PerformanceNavigationTiming.h Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
PerformanceObserver.cpp Backed out 7 changesets (bug 1518999) for causing browsertime failures. CLOSED TREE 2020-08-28 06:27:11 +03:00
PerformanceObserver.h
PerformanceObserverEntryList.cpp
PerformanceObserverEntryList.h Bug 1626570 - Improve handling of copying arrays in dom/performance/. r=smaug 2020-05-05 14:15:00 +00:00
PerformanceResourceTiming.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
PerformanceResourceTiming.h
PerformanceServerTiming.cpp
PerformanceServerTiming.h
PerformanceService.cpp
PerformanceService.h
PerformanceStorage.h
PerformanceStorageWorker.cpp
PerformanceStorageWorker.h
PerformanceTiming.cpp Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg 2020-09-02 09:54:37 +00:00
PerformanceTiming.h Bug 1599160 - Stop synthesizing performance timing entries for cache sheets. r=mayhemer 2020-06-12 19:06:12 +00:00
PerformanceWorker.cpp Bug 1586761 - P3 - Use new methods in dom/performance; r=tjr,baku 2020-03-25 14:09:42 +00:00
PerformanceWorker.h Backed out 7 changesets (bug 1518999) for causing browsertime failures. CLOSED TREE 2020-08-28 06:27:11 +03:00