========
https://hg.mozilla.org/integration/gaia-central/rev/256902cd6762
Author: Yi-Fan Liao <yliao@mozilla.com>
Desc: Merge pull request #33981 from begeeben/1241787_missing_browsers_toolbar
Bug 1241787 - [TV 2.5][Browser] Missing browser's toolbar after opening the link "Learn More" in "Private Browsing" page, r=dhuang
========
https://hg.mozilla.org/integration/gaia-central/rev/475a59c4337c
Author: yifan <yliao@mozilla.com>
Desc: Bug 1241787 - [TV 2.5][Browser] Missing browser's toolbar after opening the link "Learn More" in "Private Browsing" page
* Let TV browser open the page instead of handling the window.open in the smart-system.
Detecting if hardware decoding is available is an asynchronous operation/
The use of Promise allows the value displayed to be accurate on all platforms and not just windows.
========
https://hg.mozilla.org/integration/gaia-central/rev/a8bd6a034187
Author: danhuang1202 <dhuang@mozilla.com>
Desc: Merge pull request #33974 from danhuang1202/1241458_backspace_key_support_in_smartList_option
Bug 1241458 - add escape and backspace key support in browser smartList
========
https://hg.mozilla.org/integration/gaia-central/rev/cd4b50cc5fee
Author: danhuang1202 <danhuang1202@gmail.com>
Desc: Bug 1241458 - add escape and backspace key support
* add escape key support in awesomescreen to close option dialog
* add backspace key support in smartList to back to previous folder
========
https://hg.mozilla.org/integration/gaia-central/rev/8b6859e3d60c
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Revert "Merge pull request #33969 from scottwu/1131497-running-build-test-js-2"
This reverts commit 9819a191640d45379eaeacf9ace353fb7d169e67, reversing
changes made to cd8f75c5d30aa85d7d1c2d0ca54a817021ab9e10.
This commit makes the ByFilename census counter create its own owned copies of
script filenames. If we don't do this, and the heap graph we are analyzing is
the live heap, then the ScriptSource (from which we get the filename) could
disappear out from under us. We can't use a ScriptSourceHolder to keep the
ScriptSource alive because we might be analyzing an offline heap snapshot, in
which case there is no ScriptSource at all.
--HG--
extra : rebase_source : 538dd4aa7f89b3ddceb904e7e148c7d992883bd9
We can't use GuardObjects easily on the printf variant as va_list args and default args can't play together.
--HG--
extra : rebase_source : 418252aa8d1dcae56decd5ff99246d34578b9003
What it does:
Adds a new function, TelemetrySession.getChildThreadHangs(), which returns a promise resolving to an array of threadHangStats [1], one per process.
Note that processes that spawn or die while the function's promise is created but not resolved may be excluded from the final result.
How we do this:
1. Parent sends a MESSAGE_TELEMETRY_GET_CHILD_PAYLOAD message to each child, promising the results of these messages.
2. Child processes respond to parent with a MESSAGE_TELEMETRY_THREAD_HANGS, which contains BHR stats in the payload.
3. Parent combines all the child responses together and resolves the promise.
Plus a bunch of synchronization stuff and handling of edge cases since the number of child processes can change at any time.
Also, there is a 200ms timeout since we can't handle all of these cases. Specifically, when a child dies without responding, after all other child processes have responded.
Why we do this:
* We can technically get thread hang stats by retrieving Telemetry pings (see requestChildPayloads() in TelemetrySession for details), but this is very slow and can only be done for one process at a time.
* TelemetrySession is responsible for various Telemetry IPC-related tasks, and so is a natural place to expose this function (i.e., the function blends in well with the rest of the API).
* Statuser [2] uses this for quickly obtaining child process BHR stats. This allows us to get realtime hang monitoring for child processes.
[1]: https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/nsITelemetry.idl#146
[2]: https://github.com/chutten/statuser
--HG--
extra : rebase_source : d323afc3de716e5c978f1120f43af77f193f0b8a
Frequently, the mutator will modify nearly the same elements of an object
repeatedly. However, because the set of elements aren't exactly the same, the
single item buffer in front of MonoTypeBuffer can't de-duplicate these
edges. For example, in one CodeMirror test case, we would add 245 SlotsEdges
entries for almost the same 50,000 elements in an object, causing us to trace
these same 50,000 elements 245 times!
This patch makes `js::gc::StoreBuffer::putSlot` check to see if the new range is
overlapping with the last range added, and if so, merge the ranges rather than
adding partially duplicated elements into the store buffer.
This gives a 1000 point increase on Octane's pdf.js subsuite locally. The
CodeMirror test case mentioned above goes from ~10 seconds execution time to
~1.5 seconds, with the max minor gc pause dropping from up to 40 milliseconds,
down to 4 milliseconds.