Bug 1035557 - Migrate crash checkpoints with the session so that we don't appear to crash during reset. r=ttaubert, a=lmandel

(grafted from a93ff5caef5fb5edfe476b4e984db3605d47e8b3)

--HG--
extra : source : 07e19701c947cc02fd4b7d76810f57bfeddcb162
extra : histedit_source : 563d45c1eef02fa3191befa554cf6c47e140a0ef
Bug 1055670: Disable remote lookups (r=gcp,a=lmandel)
Bug 1055040 - Send mouse events base on canvas position and enable this test case on all B2G builds. r=ehsan, a=test-only
Bug 947574 - Switch browser_426329.js to use tasks to avoid intermittent failure. r=Gijs, a=test-only
Bug 1045977 - Clear heap allocated volatile buffers. r=njn, r=seth, a=sledru
Bug 1054425 - cache2: leak in CacheFileMetadata::WriteMetadata. r=jduell, a=sledru
Bug 1047340 - Fix annotation of marks by using the browser url rather than cannonical url. r=jaws, a=lmandel
Bug 1054813 - Add some missing MutexAutoLocks in nsZipReaderCache. r=mwu, a=lmandel
Bug 1013004 - Fix support for sampling intervals > 1 second. r=BenWa, a=lmandel
Bug 1055102 - Properly handle Unicode in Bagheera payloads. r=bsmedberg, a=lmandel

It was observed that FHR was sending invalid JSON payloads to the
server. Specifically, JSON payloads contained invalid Unicode strings.

Investigation revealed that the culprint was CommonUtils.convertString()
silently swallowing high bytes. When the Bagheera client went to gzip
the JSON payload, the input buffer into gzip was missing high bytes.

This patch changes the bagheera client to UTF-8 encode strings before
gzip, thus ensuring all data is preserved. A corresponding change was
also added to the mock bagheera server implementation.

Alternatively, we could have changed CommonUtils.convertString() to
be high byte aware. However, many consumers rely on this function.
This patch is written with the intent of being uplifted and the change
performed is targeted at the specific problem.

Tests for Unicode preserving behavior have been added to both the
generic Bagheera client and to FHR. The latter test is arguably
not necessary, but peace of mind is a good thing, especially with
FHR.

See also bug 915850.
Bug 1054418 - Rewrite AppCacheUtils.jsm to use HTTP Cache v2 APIs. r=michal, a=sledru
Bug 1054819 - Ensure that the dictionary is released on the main thread. r=ehsan, a=sledru
Bug 1053517 - Enable the new HTTP cache during automation testing. r=jduell, a=test-only
Bumping gaia.json for 2 gaia revision(s) a=gaia-bump

========

https://hg.mozilla.org/integration/gaia-2_0/rev/1d13c3fa180d
Author: Jim Porter <jporter@mozilla.com>
Desc: Merge pull request #22543 from jimporter/ringtones-mimetype

Bug 1045186 - [B2G][Ringtones] The user can not share ringtone through MMS

========

https://hg.mozilla.org/integration/gaia-2_0/rev/a6a538b74690
Author: Dominic Kuo <dkuo@mozilla.com>
Desc: Merge pull request #18926 from dominickuo/bug-998906

Bug 998906 - [Music] display the correct overlay after the enumeration in ListView, r=jimporter
Bumping manifests a=b2g-bump
Bug 1055361 - Disable overscrolling during panning. r=kats, a=2.0+
Bug 1052169 - Ignore decode-complete callbacks during OMX decoder shutdown. r=jhlin, a=2.0+
Bug 1052169 - Proxy thread destruction to avoid recursing event loops within OMX H264 shutdown. r=bsmedberg, a=2.0+
Bumping gaia.json for 1 gaia revision(s) a=gaia-bump

========

https://hg.mozilla.org/integration/gaia-2_0/rev/b692eb904b97
Author: Sergi Mansilla <sergi.mansilla@gmail.com>
Desc: Merge pull request #21831 from sergi/blank_screen

Bug 1038815 - Contacts can get into a 'frozen' state in some cases r=francisco
Bumping manifests a=b2g-bump