Commit Graph

42209 Commits

Author SHA1 Message Date
Ryan VanderMeulen
d229288071 Merge m-c to autoland. a=merge
CLOSED TREE

--HG--
extra : amend_source : 2ab51304cc7df444f22c3aac001a1aba61faee3a
2017-07-21 09:42:41 -04:00
Sebastian Hengst
367f0ac5a2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IWRTFZdtzaE
2017-07-21 12:56:44 +02:00
Wes Kocher
1bf802d260 Backed out 3 changesets (bug 1358670) for flake8 failures a=backout
Backed out changeset ab3693949c72 (bug 1358670)
Backed out changeset e04b9716ebad (bug 1358670)
Backed out changeset 0c5cf70baa50 (bug 1358670)

MozReview-Commit-ID: 2kVtLMvs9En
2017-07-20 11:20:00 -07:00
John Dorlus
16740243b3 Bug 1358670 - Implemented MarionetteHarness in telemetry-harness r=whimboo
Added changes to testcase.py for change server root
Added testvar to pass server_root from command line of telemetry-harness to testcase class.
Added argument.py and runner.py to implement MarionetteHarness in the test job
Changed test name in manifest.ini

MozReview-Commit-ID: 4XpBvq6Skz6

--HG--
extra : rebase_source : 15fafba89eecaa6347d29576ba55bf71296da31e
2017-06-22 18:18:24 -04:00
Blake Kaplan
4b11da56c9 Bug 1382711 - Don't respect a stale pref on Nightly. r=Felipe
This pref is only set and maintained on Release and Beta (via the e10srollout
addon). Respecting it on Beta might cause us to read stale values.

MozReview-Commit-ID: ZDFdM41hw4

--HG--
extra : rebase_source : 2d9e7264b843cc90108c96824f06dc7a228dca28
2017-07-20 09:22:17 -07:00
Sebastian Hengst
d5768897c3 Backed out changeset cf72ce758a61 (bug 1381554) for failing browser_ext_popup_corners.js, at least on OS X opt. r=backout 2017-07-20 18:28:20 +02:00
Johan Lorenzo
29cda0e191 Bug 1380628 - test_subprocess_environmentAppend fails on the new taskcluster windows instances r=kmag
MozReview-Commit-ID: CI6WGeWwBGo

--HG--
extra : rebase_source : 6b291e338c82a1e5f729a4f443fa0a546f2d14cf
2017-07-17 10:57:19 +02:00
darcese
3b48b858ec Bug 1381554 - Remove rounded corners in doorhangers. r=dao
MozReview-Commit-ID: 3EF2OEUJPgP

--HG--
extra : rebase_source : cfcb2fe5cc0a0eebbb2a531f19200de58a681875
2017-07-17 12:45:38 -04:00
Scott Wu
b9f9b49999 Bug 1382175 - Fix time picker step and min/max regressions. r=mconley
Bug 1363672 uses .getStep() to obtain the step size for an input element in ms,
so we won't need to do conversion anymore. Bug 1364026 uses .getMinimum() and
.getMaximum() to obtain min and max in ms, rather than strings.

MozReview-Commit-ID: pFNcsqEaC0

--HG--
extra : rebase_source : dcba3a0c537580e0675db4cbe17a8d3209395014
2017-07-19 18:44:23 +08:00
Benjamin Smedberg
9af8e4c688 Bug 1381591 merge bustage - purge removed histograms from the whitelist file, r=bustage on a CLOSED TREE 2017-07-20 09:40:01 -04:00
Benjamin Smedberg
cbb52b352c Bug 1381591 - Refactor plugin initialization/performance telemetry to measure the things we care about, r=qdot data-r=rweiss
MozReview-Commit-ID: CZ6AZ64RUt9

--HG--
extra : rebase_source : a2021cad0a33bae173fa1d4f1ba8ca9dabc13149
2017-07-17 16:31:45 -04:00
Alejandro Rodriguez Salamanca
eeeda23e0a Bug 1381843 - Use the prefs defined in TelemetryUtils.jsm in TelemetrySend.jsm. r=dexter 2017-07-19 02:12:00 +02:00
Alessio Placitelli
5d41424f05 Bug 1382556 - Fix loading the whitelist file from histogram_tools.py. r=chutten
This also fixes all the histogram definitions that landed
while the whitelist was broken.
2017-07-20 01:55:00 +02:00
Sebastian Hengst
303141cf04 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-20 11:02:11 +02:00
Sebastian Hengst
68c1933983 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2kKTSo87OJy
2017-07-20 10:56:34 +02:00
Kris Maglione
288e69595c Bug 1382501: Don't use NetUtil to parse URIs. r=trivial
MozReview-Commit-ID: BepyXBOOuv2
2017-07-19 18:26:41 -07:00
Nicholas Nethercote
20df43a549 Bug 1382099 - Remove MOZ_WIDGET_GONK from toolkit/. r=glandium.
--HG--
extra : rebase_source : 709744b24104b463c8dc4cbe215d2250e7c1a9f5
2017-07-19 18:38:48 +10:00
Shane Caraveo
6dc579b239 Bug 1380426 - Make nsWebRequestListener use NS_DECL_THREADSAFE_ISUPPORTS. r=kmag
--HG--
extra : rebase_source : ac8bc977087b7701084b06171c8601151841fb31
2017-07-19 19:25:43 -04:00
Alejandro Rodriguez Salamanca
d0e7a5b995 Bug 1344723 - Use the prefs defined in TelemetryUtils.jsm in TelemetryController.jsm. r=dexter 2017-07-19 01:14:00 +02:00
J. Ryan Stinnett
caec720392 Bug 1382090 - Test both prefs and build for Stylo in about:support. r=bholley
Avoid the confusing state of "Stylo: true (disabled by build)" by also checking
the build constant _and_ the pref / env var together.

MozReview-Commit-ID: jTK66cWcyv

--HG--
extra : rebase_source : 54e158ed4f3dbde27e410aa0a59fcac44c383db3
2017-07-19 16:32:40 -05:00
Ehsan Akhgari
a5d0162238 Bug 1382269 - Backout changeset 648169abf928 (bug 1356181) to remove the expired FORM_ISINDEX_USED telemetry probe 2017-07-19 20:39:17 -04:00
Wes Kocher
b5bcc4905e Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: CBL7SUEUGKV
2017-07-19 17:29:56 -07:00
Wes Kocher
f361e1638d Backed out 13 changesets (bug 1366294) for leaking base::Histogram::FactoryGet a=backout CLOSED TREE
Backed out changeset f2d79c13799a (bug 1366294)
Backed out changeset b722d638f6ed (bug 1366294)
Backed out changeset aee317b1445d (bug 1366294)
Backed out changeset 14f9f9521d4f (bug 1366294)
Backed out changeset beb5f00c4b19 (bug 1366294)
Backed out changeset 72635bc1ba25 (bug 1366294)
Backed out changeset c387459a798b (bug 1366294)
Backed out changeset 476daf9a5846 (bug 1366294)
Backed out changeset e7ce6a06c131 (bug 1366294)
Backed out changeset 1cc736607aab (bug 1366294)
Backed out changeset 175c3ccb0015 (bug 1366294)
Backed out changeset 96b594816a21 (bug 1366294)
Backed out changeset 57400dd449ad (bug 1366294)

MozReview-Commit-ID: J6PyVMGwJ74
2017-07-19 12:49:46 -07:00
Chris H-C
fe6f06412f bug 1366294 - Part 13 - Fix telemetry-using tests. r=Dexter
Some tests were using "secret" APIs to get at telemetry knowledge from various
processes in various ways. Adjust them so that they work with the new ways of
doing things.

MozReview-Commit-ID: 2iBL00HVGyg
2017-07-19 14:28:05 -04:00
Chris H-C
cc6cce9d00 bug 1366294 - Part 12 - Clean up after onesself. r=gfritzsche
Without the StatisticsRecorder cleaning up after us we need to now manually
delete the Histograms we create.

MozReview-Commit-ID: 8jrPPBQmU0Z
2017-07-19 14:28:00 -04:00
Chris H-C
0b1fa68b4d bug 1366294 - Part 10 - Nail down count histogram semantics. r=gfritzsche
Previously we assumed count histograms were always present in payloads.
This was an erroneous assumption as count histograms were only 0 if they were
session histograms, or if they were from subsession histograms from subsessions
_after_ a subsession when they held a non-0 value.

So let's just treat count histograms as normal histograms from now on, without
any of this "sometimes 0" nonsense. This simplifies the code, tests, and our
understanding... and _should_ have few/zero downstream effects since the
existing behaviour was so poorly-understood (though exactly tested).

MozReview-Commit-ID: BH108ksygGw
2017-07-19 14:27:51 -04:00
Chris H-C
f861b5fd74 bug 1366294 - Part 8 - Include a message on telemetry testfails. r=gfritzsche
I just added some short identifiable messages to help identify which part of
the test failed.

MozReview-Commit-ID: 3AX2iucGiRx
2017-07-19 14:27:39 -04:00
Chris H-C
f8c98f8101 bug 1366294 - Part 7 - Use keyed histogram snaphots to build payloads. r=gfritzsche
TelemetrySession's getKeyedHistograms asks for each keyed histogram
individually. This is inefficient and doesn't work well with the storage
refactor.

So, plumb through a subsession keyed histogram snapshot API and convert
TelemetrySession over to using it.

MozReview-Commit-ID: Af9dTqw99UA
2017-07-19 14:27:27 -04:00
Chris H-C
2deec510ba bug 1366294 - Part 6 - Update test_TelemetryHistograms for new snapshots format r=gfritzsche
MozReview-Commit-ID: FN6y1zTqFt4
2017-07-19 14:27:22 -04:00
Chris H-C
bb4128e1fa bug 1366294 - Part 5 - Send appropriately-structured Telemetry data to JS r=gfritzsche
Previously we were doing bad string manipulation nonsense. Now when asked for
snapshots C++ can return a properly-formated Object tree.

MozReview-Commit-ID: HAvIbgzUvMU
2017-07-19 14:27:16 -04:00
Chris H-C
52f84e096b bug 1366294 - Part 4 - Small cleanups to previous patches. r=gfritzsche
MozReview-Commit-ID: 7PioVNfUUNZ
2017-07-19 14:27:09 -04:00
Georg Fritzsche
c7cb5fcaa6 Bug 1366294 - Part 3 - Refactor TelemetryHistogram storage. r=chutten
Previously we used the base::StatisticsRecorder object for storage by name.
This is keyed by histogram name, which doesn't match our storage reality anymore.
Instead we use a name to refer to a set of histogram instances that record data from different processes, as well as separating session and subsession data.

In this re-write, we instead introduce the following lookup paths (managed in TelemetryHistogram.cpp):
- Main storage:
  - (histogramId, processId, sessionOrSubsession) -> Histogram*
  - (histogramId, processId) -> KeyedHistogram* (this handles subsessions internally)
- Lookup:
  - (histogramName) -> histogramId
  - (HistogramID) -> bool (is recording enabled for this histogram?)

This is wrapped with a few lookup functions.

This also allows us to keep HistogramIDs in the JS histogram instances now, instead of pointers to Histogram instances.
That means Histogram instance life-time management is now properly contained inside TelemetryHistogram.cpp.

MozReview-Commit-ID: 5yijGv7mc89
2017-07-19 14:27:06 -04:00
Georg Fritzsche
2932617587 Bug 1366294 - Part 1 - Remove base::StatisticsRecorder. r=chutten
The Chromium IPC histogram code used the StatisticsRecorder object for storage.
This is keyed by histogram name, which doesn't match our storage reality anymore.
Instead we use a name to refer to a set of histogram instances that record data from different processes, as well as separating session and subsession data.
Consequently we need to rewrite this storage, which means StatisticsRecorder is not used anymore.

MozReview-Commit-ID: 1LC7YubpKaD
2017-07-19 14:26:56 -04:00
Andrew Osmond
7deae0134b Bug 1359833 - Part 10. Add telemetry to track how often imgRequestProxy needs to dispatch. r=tnikkel data-r=bsmedberg 2017-07-19 14:15:12 -04:00
Andrew Swan
ce9ddc7e11 Bug 1374637 Don't show the Legacy Extensions pane in about:addons if it is empty r=rhelmer
MozReview-Commit-ID: LK3LezKArYm

--HG--
extra : rebase_source : b1503b57b3d0a6d2e6b94f152e9b17d54e89a99f
2017-07-18 19:11:55 -07:00
Jon Coppeard
4056892ff5 Bug 1381777 - Record how long we went over the time budget r=sfink data-r=bsmedberg 2017-07-19 09:37:18 +01:00
Ryan VanderMeulen
0cfb1d8460 Merge inbound to m-c. a=merge
CLOSED TREE
2017-07-19 10:00:35 -04:00
Yoshi Huang
3873b52a7c Bug 1380282: rewrite browser_ext_webRequest.js for the new data: URI inheritance model. r=kmag
When we turn on the pref security.data_uri.unique_opaque_origin, this
test failed because data: URI is treated as cross origin. So I replace
the data: URI as a seperate xul.
2017-07-19 14:41:46 +08:00
Yoshi Huang
d266dea535 Bug 1381769 - fix xpcshell failure when data: URI is unique origin. r=smaug
ExtensionXPCShellUtils.jsm uses a XUL window with data: URI, we replace
it with a XUL file to fix the xpcshell-test failures.
2017-07-19 14:41:24 +08:00
Eitan Isaacson
eafbb9b65a Bug 1381544 - Extend narrate probes to version 60. r=Gijs, data-r=bsmedberg
--HG--
extra : rebase_source : 0fd23ec72b438d9ffa4bec87ea877d113a20015c
2017-07-17 09:15:00 -04:00
Alessio Placitelli
6a79411181 Bug 1381617 - Enable stricter scalar, histogram and events expiration validation. r=chutten
MozReview-Commit-ID: 9q93hOYsNUo
2017-07-18 09:59:00 +02:00
Ryan VanderMeulen
a064d6dbfc Merge m-c to inbound. a=merge 2017-07-18 13:00:03 -04:00
Ryan VanderMeulen
366f48ad7e Merge inbound to m-c. a=merge 2017-07-18 12:14:50 -04:00
Wes Kocher
e58c76131e Backed out changeset 9b44720d645b (bug 1357902) for android xpcshell failures in test_ext_startup_cache.js a=backout
MozReview-Commit-ID: KzJWDUsEJoK
2017-07-17 23:28:33 -07:00
Marco Bonardo
3c6bd16b59 Bug 1347427 - Remove intermittent browser_bug248970.js test, cause it's not testing anything useful. r=standard8
MozReview-Commit-ID: 6P6UixK13Ns

--HG--
extra : rebase_source : 2f31ead6fc3f4d025296e1e409421558d410a6c7
2017-07-17 21:59:41 +02:00
Paolo Amadini
137d61ddbb Bug 1381409 - Part 3 - Use DownloadList notifications directly in front-end download views. r=mak
The DownloadList object now provides batch notifications directly, in preparation for linking front-end views to other types of download lists without having to use the DownloadsData indirection.

MozReview-Commit-ID: FOTz1YwGRE1

--HG--
extra : rebase_source : df2d50d50c45a98e257caaa6efa9d0da2fa79237
extra : source : 278858e3d78b5e371f865adac043d07b770f1d3f
2017-07-17 12:05:12 +01:00
Christoph Kerschbaumer
5c7ac7954b Bug 1337272: Convert tests within toolkit/ to not rely on principal inheritance for data: URIs. r=gijs 2017-07-18 15:18:00 +02:00
Sebastian Hengst
c80daf709f Backed out changeset b669da0374a2 (bug 1337272) for linting failure at test_mousecapture.xhtml:208: 'topPos' is assigned a value but never used. r=backout 2017-07-18 14:16:54 +02:00
Christoph Kerschbaumer
1e03699e83 Bug 1337272: Convert tests within toolkit/ to not rely on principal inheritance for data: URIs. r=gijs 2017-07-18 13:47:53 +02:00
Wes Kocher
8117ff8bd3 Backed out 3 changesets (bug 1197045) for failures in browser_Troubleshoot.js a=backout CLOSED TREE
Backed out changeset 78b66a4c6b7c (bug 1197045)
Backed out changeset feea60a002a7 (bug 1197045)
Backed out changeset 57842092a282 (bug 1197045)

MozReview-Commit-ID: J0KZDSSw4XQ
2017-07-18 22:54:15 -07:00