Commit Graph

43741 Commits

Author SHA1 Message Date
Ryan VanderMeulen
e1d23c6fa7 Merge inbound to m-c. a=merge 2017-09-15 14:20:02 -04:00
Sebastian Hengst
49155b17af merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-15 11:12:04 +02:00
Sebastian Hengst
ec66bbd3e1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4dRrVdftJVy
2017-09-15 11:05:11 +02:00
Sebastian Hengst
09dd8ba13f merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : ee605ac050c0532521f96bdeda5ef20fb0099519
2017-09-15 00:18:43 +02:00
Sebastian Hengst
71720207e1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JHeyFz4rx1v
2017-09-14 23:58:56 +02:00
Jim Chen
f21881cfe9 Bug 1367077 - 4. Remove LoginManagerParent.login; r=kmag
Mobile code now loads LoginManagerParent lazily, similar to
nsBrowserGlue on desktop, so we no longer need LoginManagerParent.login.

MozReview-Commit-ID: 8tnWnev344
2017-09-14 17:50:57 -04:00
Michael Layzell
3cb7b23c33 Bug 1391126 - Guard use of shared-libraries.h in HangStack.cpp behind MOZ_GECKO_PROFILER, r=froydnj 2017-09-14 11:00:06 -04:00
Andy McKay
43c09b0525 Bug 1395720 fix Error calls to have just one argument r=mossop
MozReview-Commit-ID: i603CDTrmO

--HG--
extra : rebase_source : f2618a8e8881710b9eae1b91102a6e5d73598e69
2017-09-14 15:48:22 -07:00
Servo VCS Sync
92eb546f04 No bug - Revendor rust dependencies 2017-09-14 22:42:42 +00:00
Sebastian Hengst
65bd75b8f9 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6nttXoSo3Fh
2017-09-14 11:04:14 +02:00
Wes Kocher
ff68b95b87 Merge inbound to central, a=merge
MozReview-Commit-ID: ClVRh99eIUo
2017-09-14 00:03:28 -07:00
Thomas Nguyen
e70d76485c Bug 1394031 - Remove mCryptoHash members of nsUrlClassifierDBServiceWorker and ProtocolParser
The usage of cryptoHash consists of a complete set of Init, Update, and Finish, there's
no reason to keep it around

MozReview-Commit-ID: 7bT9IsWEM5m
2017-09-14 10:51:55 +08:00
Kris Maglione
52778e7212 Bug 1399646: Part 4 - Increase the extension shutdown blocker timeout. r=mixedpuppy
The current timeout was added to deal with some shutdown deadlocks that were
happining in the wild, but were hard to reproduce locally and therefore
diagnose. It's not clear whether the bulk of those have been fixed, so I'm
reluctant to remove the timeout entirely.

But the current 1s timeout is quite short, and doesn't allow for proper
cleanup in a lot of legitimate cases. The async shutdown service starts to
emit warnings at 10s, so 8s gives us enough time to avoid at least that.

MozReview-Commit-ID: 94zZjYUY8qZ

--HG--
extra : rebase_source : 980cce2af1117d6d46f6083910672e3ef8702981
extra : histedit_source : d8d9b2d7f6312b5d8801e4e26d2b0c0a32a538c2
2017-09-13 08:58:37 -07:00
Kris Maglione
ec733c4f49 Bug 1399646: Part 3 - Improve handling of StreamFilters at shutdown. r=mixedpuppy
The main change here is to disconnect stream filters immediately if we try to
send start or data events to a window that's already been destroyed.

It also fixes a race where we end up in the wrong state if a stop event
arrives while the channel is being disconnected.

MozReview-Commit-ID: LwxXxoRUDgQ

--HG--
extra : rebase_source : 8c04e4be2f74850f28d642350b9ff268ab3206e4
extra : histedit_source : d0c18c9a190179431b81fdb32262a0324dc35762
2017-09-13 13:40:08 -07:00
Kris Maglione
47159e662a Bug 1399646: Part 1 - Destroy BackgroundPageThumbs instance at shutdown. r=Gijs
During extremely short sessions (such as the ones triggered by many tests),
the code run by BackgroundPageThumbs during shutdown can trigger
hard-to-diagnose issues, among the most serious being a deadlock in the
service worker registrar.

Calling the (currently unused) _destroy() method at the start of shutdown
seems to prevent the majority of these problems.

MozReview-Commit-ID: Go7OLzVM24G

--HG--
extra : rebase_source : 7e5f619f8eed0e0ce3f1b94e8285d12a4be29d51
extra : histedit_source : 8b9c73b9e85a430381e2e1ee48e7fef5b56ab6e3
2017-09-13 13:34:57 -07:00
Kris Maglione
a444efbbd7 Bug 1399346: Make sure channel is QIed to nsIChannel before wrapping. r=trivial
MozReview-Commit-ID: EyKcc9irD8H

--HG--
extra : rebase_source : 792b380f82b018328e7f1745874f4189961001da
extra : amend_source : 853be08c5463d550280f6e1f55e87f4858b24647
2017-09-11 21:44:30 -07:00
Sebastian Hengst
123fb86836 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-14 00:15:34 +02:00
Simon Lindholm
3f46120d3c Bug 1392263 - Make TELEMETRY_1ST_RESULT count results of all types. r=mak
MozReview-Commit-ID: 82jJDZZG7kb
2017-09-14 00:06:54 +02:00
Sebastian Hengst
006a58c35d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2iVDKexRjxu
2017-09-13 23:58:43 +02:00
Michael Layzell
6e8114439a Bug 1389235 - Submit the bhr ping at least once a day, r=froydnj 2017-09-13 11:45:48 -04:00
Chris H-C
53f3caf373 bug 1399082 - about:telemetry l10n fixes r=flod
We were reusing "all sections" in more than one way, which isn't a globally-
permissable language use. Embedding the substring directly takes care of it
while at the same time embedding it within its context.

MozReview-Commit-ID: CTQhFWEajRo

--HG--
extra : rebase_source : 03b79c5bb19ad690b4ccba27c96bcc6a9f7f17a7
2017-09-12 14:12:55 -04:00
Sebastian Hengst
7ebade7ca8 Backed out changeset 6c65c331b97f (bug 1367077) 2017-09-13 19:23:02 +02:00
Wes Kocher
f71fc83625 Backed out changeset b061a65e51d7 (bug 1399082) for failures in browser_misused_characters_in_strings.js a=backout
MozReview-Commit-ID: 3pIsd3pvXrq
2017-09-13 10:12:19 -07:00
Ryan VanderMeulen
f3089ed96b Backed out changeset a3b2778fa597 (bug 1389470) for leaks. 2017-09-13 12:36:18 -04:00
Georg Fritzsche
a935bd75f2 Bug 1398851 - Part 3: Re-enable test_TelemetrySend.js on Window 64bit debug. r=Dexter
--HG--
extra : rebase_source : 6e95f24c0cc7513821133d934da5ac3c7f6c1ff9
2017-09-13 03:21:00 -04:00
Georg Fritzsche
717862843d Bug 1398851 - Part 2: Fix fragile TelemetrySend test. r=Dexter
--HG--
extra : rebase_source : c191007c899136cf2fa1c06f3c18f95205ff7ae0
2017-09-12 06:55:00 -04:00
Georg Fritzsche
8a7f5d347f Bug 1398851 - Part 1: Add test logging for Telemetry PingServer requests. r=Dexter
--HG--
extra : rebase_source : ac2cbb991cd32cb9961bbc62e995c9c46c124bc5
2017-09-12 06:55:00 -04:00
Kartikaya Gupta
44c1104873 Bug 1398885 - Extend various APZ telemetry probes out for a few more releases. r=botond, data-r=liuche
Not all of these probes are expiring in 58, but they are all (with the exception
of CONTENT_RESPONSE_DURATION) metrics that might be affected by WebRender, and
so are useful to continue measuring until WebRender is "done". The CONTENT_RESPONSE_DURATION
probe is indicating durations have dropped over the past few releases and it would be
useful to continue to measure this for a few more releases.

MozReview-Commit-ID: CTsOGuMS5f3
2017-09-13 08:21:55 -04:00
Sebastian Hengst
7dd2b068b5 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-13 13:35:21 +02:00
Sebastian Hengst
e4a2f44531 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9SALJlvWgoZ
2017-09-13 13:32:44 +02:00
Sebastian Hengst
1fbe7771e8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GUc4LEY8qp4
2017-09-13 11:27:47 +02:00
Nicolas B. Pierron
de48fe1e0f Bug 1397355 - Bump JSBC telemetry to end in 62. dr=francois 2017-09-13 09:50:39 +00:00
Sebastian Hengst
a3ed708553 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-13 11:44:38 +02:00
Joel Maher
63d32e678e Bug 1328351 - annotate rest of testing and toolkit. r=gps 2017-09-13 05:19:00 -04:00
Kris Maglione
270a894712 Bug 1398974: Follow-up: Disconnect StreamFilters when closing extension context. r=me
If we don't do this explicitly, the channel is automatically disconnected when
it's GCed. However, if we start shutdown while a stream is being processed,
the stream may not be GCed before we shut down the parent process's message
loop. In that case, we get a shutdown crash because the StreamFilterParent's
data channel is still open when we shut down its message loop.

Explicitly disconnecting the StreamFilter when the context is closed prevents
this, since app shutdown is automatically blocked on extension shutdown, and
extension shutdown explicitly closes all extant contexts.

MozReview-Commit-ID: 5JPrSUooq1j

--HG--
extra : rebase_source : d9af8c6b1c2107a726fead2aa0bbf9cc6f7b72e2
2017-09-12 18:55:24 -07:00
Kartikaya Gupta
b4ad327a0e Bug 1390488 - Pass the childProcessTmpDir from the parent process to the GPU process. r=froydnj
The GPU process doesn't have the directory service enabled, so it can't find
a tmp dir to put its .extra files for crash reports. Even if we do enable the
directory service, we still don't get the correct "content process tmp dir" in
the GPU process, because the UUID baked into that folder is passed via the
preferences service, and that isn't initialized in the GPU process either.
Rather than unneccessarily initialize all this stuff in the GPU process just
to get one folder name, we can pass that folder name directly in the argv list.

See comments 12-19 on the bug for further discussion of the various solutions
attempted/explored.

MozReview-Commit-ID: 1sFg27hIe7S

--HG--
extra : rebase_source : 78eb600a58fed45800b9df8303cc4d6898d96ae9
2017-09-13 11:26:25 -04:00
Jim Chen
c96d204fcd Bug 1367077 - 4. Remove LoginManagerParent.login; r=kmag
Mobile code now loads LoginManagerParent lazily, similar to
nsBrowserGlue on desktop, so we no longer need LoginManagerParent.login.

MozReview-Commit-ID: 8tnWnev344

--HG--
extra : rebase_source : fd963f1afd4a303a115466189b2044b4668ee0a3
2017-09-13 11:52:04 -04:00
Chris H-C
d6a171a85c bug 1399082 - about:telemetry l10n fixes r=flod
We were reusing "all sections" in more than one way, which isn't a globally-
permissable language use. Embedding the substring directly takes care of it
while at the same time embedding it within its context.

MozReview-Commit-ID: CTQhFWEajRo

--HG--
extra : rebase_source : 4a4e25137086f112eeae8152b4867553e372ce03
2017-09-12 14:12:55 -04:00
Chris H-C
2a7054c197 bug 1398431 - Don't let off-thread CCs get you down r=Dexter
Since we don't atomically retrieve session and subsession snapshots, there's
a possibility that off-thread accumulations can happen in between the two
getPayload calls in test_checkSubsessionHistograms.

CYCLE_COLLECTOR_WORKER* are the obvious first choice.

MozReview-Commit-ID: 5lseRAJ1Rg6

--HG--
extra : rebase_source : 219ed38e526483627792ed4c177f49c1537c3f07
2017-09-13 10:44:22 -04:00
Sebastian Hengst
3066457971 Backed out changeset b80e267bdf30 (bug 1390488) 2017-09-13 16:36:56 +02:00
Kartikaya Gupta
36b2d6e26d Bug 1390488 - Pass the childProcessTmpDir from the parent process to the GPU process. r=froydnj
The GPU process doesn't have the directory service enabled, so it can't find
a tmp dir to put its .extra files for crash reports. Even if we do enable the
directory service, we still don't get the correct "content process tmp dir" in
the GPU process, because the UUID baked into that folder is passed via the
preferences service, and that isn't initialized in the GPU process either.
Rather than unneccessarily initialize all this stuff in the GPU process just
to get one folder name, we can pass that folder name directly in the argv list.

See comments 12-19 on the bug for further discussion of the various solutions
attempted/explored.

MozReview-Commit-ID: 1sFg27hIe7S

--HG--
extra : rebase_source : 62ff819c5b03f642cd4b9af7c89c84b790397372
2017-09-13 10:18:15 -04:00
Sebastian Hengst
0987151cd8 merge mozilla-central to autoland. r=merge a=merge 2017-09-12 11:36:32 +02:00
Sebastian Hengst
ecf716b8bb merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Bob Owen
6b4635da55 Bug 1395952: Enhance telemetry for failed launch of Windows sandboxed process by process type/error code key. r=jimm, data-r=rweiss
Only one telemetry accumlation will occur for each key per session.
2017-09-12 07:53:52 +01:00
Kris Maglione
6a54373b00 Bug 1398642: Bustage fix bustage fix. r=me CLOSED TREE
MozReview-Commit-ID: 4jTSVg6L3is

--HG--
extra : amend_source : 0b56c8b05f5b44cfb30e47a8561ed251bc9201c4
2017-09-11 21:59:15 -07:00
Kris Maglione
e3f6c844ae Bug 1391707: Follow-up: Skip idle in more places that incorrectly expect strict timing. r=me CLOSED TREE
MozReview-Commit-ID: BbMB5qk4F4e
2017-09-11 21:26:04 -07:00
Kris Maglione
82c8480c2b Bug 1398642: Follow-up: Fix terrible error checking code. r=me CLOSED TREE
MozReview-Commit-ID: 1xQNYwZiqsj

--HG--
extra : rebase_source : a32457e8b1078978623657c2ad0587eb7eda4765
2017-09-11 21:18:42 -07:00
Gabriele Svelto
d91b14fc7a Bug 1393716 - Don't run minidump analysis on content crashes if the browser is quitting r=ted.mielczarek
When a content crash is detected we run the minidump analyzer on it to extract
a stack trace that will be sent with the crash ping. Since this operation can
potentially take a long time this patch prevents it from happening if the
browser is already quitting. Already running instances of the minidump
analyzer are also killed. The patch includes test coverage for both the new
codepaths.

MozReview-Commit-ID: 4CQBp0v5KxE

--HG--
extra : rebase_source : 430d4ddad0780fe8fa0adfc8dd6728ab2eadbeaf
extra : amend_source : 3468542ab80d29cf98dfe9e10185215fedbe03b8
2017-09-03 10:48:18 +02:00
Ed Lee
02f10c7eab Bug 1398955 - Include url with RemotePage messages. r=mossop
MozReview-Commit-ID: CkwHOpTAvUw

--HG--
extra : rebase_source : bd4b6bd66d2c922bdf082c74284e0e197a89a86a
2017-09-11 15:17:38 -07:00
Servo VCS Sync
e9cda07026 No bug - Revendor rust dependencies 2017-09-12 04:31:42 +00:00