Commit Graph

20261 Commits

Author SHA1 Message Date
Bob Silverberg
abd89e3894 Bug 1399176 - Make browserSettings an optional permission, r=mixedpuppy
MozReview-Commit-ID: AO0hQdETmvC

--HG--
extra : rebase_source : 7b7696826e74c779ac625dcc17032c90f9c9aa44
2017-09-12 12:19:45 -04:00
Bob Silverberg
7ab3a9f057 Bug 1366290 - Fix the ordering of tabs.onActivated and tabs.onRemoved, r=kmag
Currently tabs.onActivated (for the tab that becomes active after a tab is removed) fires before
tabs.onRemoved (for the tab that was removed). This is neither the order in which Chrome fires
these events, nor is it the order in which the internal TabSelect and TabClose happen in Firefox.
This bug fixes this so tabs.onActivated fires *after* tabs.onRemoved.

Note that this does introduce an issue in in-process mode, where window.close() will not
trigger a tabs.onRemoved event for the window, but Kris says "Meh" about that.

MozReview-Commit-ID: CrFR3jqL2u5

--HG--
extra : rebase_source : 5cc3d2a138bf812d13779e8ca1188b89ddbcdcc1
2017-05-31 12:01:58 -04:00
Sebastian Hengst
0cade6f3d3 merge mozilla-central to autoland. r=merge a=merge 2017-09-14 11:10:55 +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
Alessio Placitelli
848ec93801 Bug 1398811 - Document the edge cases for the 'update' ping. r=chutten
This additionally adds the edge cases that were found in bug 1397322
and bug 1397765.

MozReview-Commit-ID: 7CFEgePpOK1

--HG--
extra : rebase_source : 386741b3de775c1eb61f406364180e222e9f3011
2017-09-13 17:47:24 +02: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
Sebastian Hengst
7ebade7ca8 Backed out changeset 6c65c331b97f (bug 1367077) 2017-09-13 19:23:02 +02: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
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
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
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
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
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
Gijs Kruitbosch
0acbea23ac Bug 1397182 - stop expiring reader mode telemetry probes, r=rweiss+418169
MozReview-Commit-ID: 3Gjdfd3Byru

--HG--
extra : rebase_source : 0d9cfe916210e977bf6dd75fa22b55ebe803862a
2017-09-06 09:43:37 +01:00
ahillier
6d16f3b2dd Bug 1399200 - Don't stop loading thumbnail when image redirects r=Mardak
MozReview-Commit-ID: 1sADsZM6uYj

--HG--
extra : rebase_source : 4a6b1322e5301181beae4292ccd1f869b3815dc3
2017-09-12 14:07:33 -04:00
Wes Kocher
9eabfb255e Backed out 4 changesets (bug 1367077) for android mochitest failures in passwordmgr/ a=backout CLOSED TREE
Backed out changeset 0509b09c11fa (bug 1367077)
Backed out changeset 8df5e093dd92 (bug 1367077)
Backed out changeset c6300312d42a (bug 1367077)
Backed out changeset 83cf26e44284 (bug 1367077)

MozReview-Commit-ID: JFwOEdTq7bL
2017-09-12 16:41:19 -07:00
Jim Chen
e0330693a3 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 : f2e9d5e2be13156032d827ee67f960f96c87345c
2017-09-12 13:35:04 -04:00
Andrew Swan
e6a80af159 Bug 1398327 Part 1: Skip permission dialog access keys on Android r=zombie
MozReview-Commit-ID: 1rbludpEmdm

--HG--
extra : rebase_source : f38968efda8d0a90c91036607893e4576e73d7ef
2017-09-11 14:25:23 -07:00
Mark Striemer
4d92dcaec3 Bug 1354344 - Show extension controlling home page in preferences r=bsilverberg,jaws
MozReview-Commit-ID: 9mU3SvdK91c

--HG--
extra : rebase_source : 703e7248b8200efef8eb0342510c6d7da29016c7
2017-09-07 11:35:06 -05:00
Masatoshi Kimura
60816b85fa Bug 1398445 - Remove window._content. r=mystor,qdot
MozReview-Commit-ID: 13KovslzGnM

--HG--
extra : rebase_source : 801700a3dc0b1ca207e3b47e9f6433fbd2d00505
2017-09-09 10:47:48 +09:00
Sebastian Hengst
45bab258b7 merge mozilla-central to autoland. r=merge a=merge 2017-09-14 00:11:28 +02:00
Sebastian Hengst
b8159107fa Backed out changeset 3ad6c35d7220 (bug 1378834) 2017-09-13 14:53:57 +02:00
Sylvestre Ledru
09ed22d084 bug 1378834 - Update of the installers to reflect the nightly name change r=mhowell
BrandFullName is now defined in the branding files


MozReview-Commit-ID: 5wmInT9xbrT

--HG--
extra : rebase_source : e10448351ba4b1623c123eb87a1ddb69a1104cd0
2017-09-12 09:06:09 +02:00
Sebastian Hengst
be553422dd merge mozilla-central to autoland. r=merge a=merge 2017-09-13 11:30:55 +02:00
Francois Marier
5ca7093ed9 Bug 1399249 - Add .xhtml, .xhtm and .xht to Application Reputation checks. r=gcp
MozReview-Commit-ID: BP8bGNIcttB

--HG--
extra : rebase_source : 77a387f1a62a0bab70ca305ad46b9df08fcbd078
2017-09-12 15:01:38 -07:00
Sebastian Hengst
5a984f70f8 Backed out changeset 2b74ec6bb1d8 (bug 1350277) for failing browser-chrome's browser/base/content/test/webextensions/browser_permissions_addons_search.js. r=backout 2017-09-13 21:36:11 +02:00
Andy McKay
520285d103 Bug 1350277 remove duplicates when showing host permissons r=aswan
MozReview-Commit-ID: 2GzUwFHuEe6

--HG--
extra : rebase_source : de6f99773d740abb102006483e22d3107bb72f6f
2017-09-11 17:40:08 -07:00
Luca Greco
d83e387d9b Bug 1397196 - Fix pageAction icon loading when an extension has a cached browserAction theme-based icon. r=mixedpuppy
MozReview-Commit-ID: Lmi5pLerzul

--HG--
extra : rebase_source : 9c3eb11e65b03c43bb8f30f5f19a904770f82356
2017-09-06 12:40:45 +02:00
James Cheng
9fcb294cc3 Bug 1398628 - Remove VIDEO_CDM_CREATED telemetry and the related code. r=cpearce,francois
MozReview-Commit-ID: 3xDiz9S90bY

--HG--
extra : rebase_source : 78c88ef859fbf402cb7f1c168663c63f3eb5073d
2017-09-11 11:51:12 +08:00
Doug Thayer
d01cafd325 Bug 1397376 - Avoid copying on initializing histogram ranges r=gfritzsche
Since LinearHistogram and its descendants inherit ranges_ from
Histogram, and we wanted to replace the copying into a std::vec
for Histogram, the simplest approach seemed to just be to
precompute ranges for all histograms, exponential or otherwise.
This should have the added benefit of reducing the memory
footprint for those histograms, since they will benefit from the
deduplication work that the precomputing script already does.

MozReview-Commit-ID: JTV5Dej5ZIb

--HG--
extra : rebase_source : de942d54b3475be54c70d43d2fa8e772ee2e18c4
2017-09-08 12:13:44 -07:00
Doug Thayer
f8a04fc231 Bug 1397376 - Reduce size of gExponentialBucketLowerBoundIndex r=gfritzsche
This is a fairly small optimization - since the indices for this
array never exceed the size of an int16_t, let's just use that
instead to save a little bit of space.

MozReview-Commit-ID: 8bRokjlvZ9p

--HG--
extra : rebase_source : b74bd0d6c36ecbb83db8ce6659f1484bfa3b885e
2017-09-07 10:23:52 -07:00
Doug Thayer
8d764977c8 Bug 1397376 - Deduplicate histogram static bucket data r=gfritzsche
Since we already have the indices array, we can just point duplicate
ranges at the first occurrence's index.

MozReview-Commit-ID: 3f5os1xSp89

--HG--
extra : rebase_source : 68a859716aeafd3330b4b0b728f77c537a5020aa
2017-09-07 10:22:53 -07:00