========
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.
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