Commit Graph

18223 Commits

Author SHA1 Message Date
Sebastian Hengst
28ffbe6bfe Backed out changeset a3ed5ad1bc33 (bug 1350522) 2017-04-01 12:38:28 +02:00
Sebastian Hengst
e1d8f0eaba Backed out changeset 8f8891e51936 (bug 1350522) 2017-04-01 12:38:14 +02:00
Sebastian Hengst
02b4fcf1a1 Backed out changeset 650808cfe044 (bug 1350522) 2017-04-01 12:38:09 +02:00
Sebastian Hengst
f351d18447 Backed out changeset 069dbaa8300e (bug 1350522) 2017-04-01 12:38:05 +02:00
Wes Kocher
fa165c1239 Merge m-c to inbound a=merge 2017-03-31 17:53:52 -07:00
Mike de Boer
8f70b61135 Bug 1319821 - Themes should allow for multiple background images in the toolbar. r=jaws,mattw
This patch also changes the 'headerURL' and 'theme_frame' properties to be of type
ExtensionURL, instead of strings. This improves validation robustness.
Alignment and tiling properties for the additional background images can be
specified in the newly introduced 'properties' section of the manifest.

MozReview-Commit-ID: BzvS3eHmDCY
2017-03-31 14:48:44 +02:00
Carsten "Tomcat" Book
419c827506 merge mozilla-inbound to mozilla-central a=merge 2017-03-31 14:45:33 +02:00
Ryan VanderMeulen
27d4872cfd Merge m-c to inbound. a=merge 2017-03-30 15:21:27 -04:00
Carsten "Tomcat" Book
408f6b144c Merge mozilla-central to autoland on a CLOSED TREE 2017-03-30 16:48:10 +02:00
Kris Maglione
2b0e101e48 Bug 1350522: Part 7 - Merge pageAction/browserAction/sidebarAction/commands helper classes into API instances. r=aswan
MozReview-Commit-ID: 6aRQ1uybAmg
2017-03-26 18:42:59 -07:00
Kris Maglione
216c6e0a1d Bug 1350522: Part 6 - Cleanup per-api-instance state logic. r=aswan
MozReview-Commit-ID: 5ixBA34fvFf
2017-03-25 11:36:56 -07:00
Kris Maglione
eaa5f64885 Bug 1350522: Part 5 - Remove registerSchemaAPI(). r=aswan
MozReview-Commit-ID: 5yK2wUms86G
2017-03-25 13:59:14 -07:00
Kris Maglione
bc7981a6a4 Bug 1350522: Part 2 - Convert toolkit APIs to lazy loading. r=aswan
MozReview-Commit-ID: 8TbTIM4WX2d
2017-03-31 19:36:00 -07:00
Kris Maglione
95b931c80c Bug 1350522: Part 1 - Allow lazily loading and instantiating API modules. r=aswan
MozReview-Commit-ID: 7ETOJL6ERkg
2017-03-31 17:16:39 -07:00
Olli Pettay
45822311b7 Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica 2017-03-31 22:49:00 -04:00
Gregory Moore
58aad3a66b Bug 1120409 - nsITelemetry.histogramSnapshots will no longer return keyed histograms. r=chutten 2017-03-24 12:38:24 -07:00
Olli Pettay
694b05ce02 Backout Bug 1351860, r=backout 2017-03-31 16:55:32 -04:00
Olli Pettay
fa83f6684e Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica 2017-03-31 13:13:36 -04:00
Jim Porter
546ae99584 Bug 1164469 - LoginManagerContent._fillForm should take an options argument; r=MattN
MozReview-Commit-ID: A38fIWbGCaa
2017-03-20 19:13:13 -05:00
Jim Porter
8056c101f6 Bug 1222032 - Improve copy for disambiguating login update r=MattN
MozReview-Commit-ID: Ga3pybr1yGY
2017-03-16 19:14:38 -05:00
Andrew McCreight
b61e2fe0bb Bug 1353081 - Lazily load NetUtil.jsm in Schemas.jsm. r=kmag
MozReview-Commit-ID: 3tgBGo6KxV1
2017-04-03 10:22:54 -07:00
Timothy Nikkel
78fc163c4a Bug 1350531. Assign alert emails for all imagelib telemetry probes. r=francois 2017-03-30 00:06:11 -05:00
Wes Kocher
756916fe8f Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
Tim Huang
9fcdb733a7 Bug 1330882 - Part 4: Making the window.open() can only open rounded windows and the inner window will be automatically rounded after setting size through innerWidth/Height and outerWidth/Height when fingerprinting resistance is enabled. r=smaug
This patch makes the size of inner windows will be automatically rounded for
either window.open() with window features or setting window size through
innerWidth/Height and outerWidth/Height when fingerprinting resistance is
enabled. If the given value is greater the maximum available rounded size, then
it will be set to the maximum value. Otherwise, the size will be set to the
nearest upper 200x100.

This patch also adds one helper function in nsContentUtils for calculating the
rounded window dimensions.

MozReview-Commit-ID: J2r3951vuNN
2017-03-29 15:43:56 +08:00
Ryan VanderMeulen
0eda6a4dec Merge m-c to autoland. a=merge 2017-03-29 09:43:00 -04:00
Ryan VanderMeulen
3866e9cf31 Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
David Teller
1cc4670406 Bug 1342714 - Reducing allocations in AutoStopwatch;r=froydnj,jandem
This patch fixes two related issues.

1. The AutoStopwatch uses a stack-allocated `mozilla::Vector` to
communicate with its callback during each compartment switch. This
vector was designed to allow its contents to be stack-allocated but
they turned out to be accidentally heap-allocated.


2. During each tick, the stopwatch fills a vector
`recentGroups_`. This vector always started with minimal capacity and
had to grow repeatedly as groups were added, causing repeated
reallocations. This patch preallocates `recentGroups_` to have the
same capacity as the previous tick. We expect that this should
eventually reach a stable size that closely matches the actual needs
of the process.

MozReview-Commit-ID: A7e3HNdSuML
2017-03-24 22:25:03 +01:00
Paavini
1f01e36486 Bug 1281203 - Link error messages from parse_scalars.py to the docs. r=dexter
MozReview-Commit-ID: 25ZmijiY5yf
2017-03-18 14:21:32 +05:30
Sebastian Hengst
5ac4ae16c8 Backed out changeset aa882c81840b (bug 1346415) for frequently failing toolkit/components/telemetry/tests/unit/test_ThreadHangStats.js and likely also breaking Windows 8 x64 opt builds. r=backout 2017-03-29 17:56:14 +02:00
Michael Layzell
27a960a68f Bug 1348113 - Part 1: Add the IPC_SYNC_JS_LATENCY_MS probe to track JS sync IPC latency from sendSyncMessage/sendRpcMessage, r=billm
MozReview-Commit-ID: 6ROx87BL18p
2017-03-29 10:10:26 -04:00
Michael Layzell
59eb6b3050 Bug 1346415 - Collect native stacks for all hangs over 128ms on Nightly, r=gfritzsche
MozReview-Commit-ID: 4LVBFHkeTdD
2017-03-29 10:10:26 -04:00
Sebastian Hengst
f03de10ade Backed out changeset 1138b6fe86e1 (bug 1271991) for failing various EME, CDM and Telemtry tests. r=backout on a CLOSED TREE 2017-03-29 00:55:13 +02:00
Michal Novotny
32e6d1b1e4 Bug 1347948 - Report time that channel spent suspended between AsyncOpen and OnStartRequest. r=honzab, data-review=bsmedberg 2017-03-24 07:37:00 -04:00
Gregory Moore
2fa2be80b0 Bug 1271991 - Store recording state locally in Telemetry.cpp to avoid excessive locking in CanRecord{Base, Extended}(). r=chutten 2017-03-27 14:17:32 -07:00
Wes Kocher
e6c3565fe5 Merge inbound to m-c a=merge 2017-03-28 13:30:56 -07:00
Johann Hofmann
229c3dd3de Bug 1192800 - Get rid of CPOWs in browser_context_menu.js. r=MattN
MozReview-Commit-ID: 8lkjFGvwS8d
2017-03-16 09:09:44 +01:00
Zibi Braniecki
f4aa49939d Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
MozReview-Commit-ID: BDhgIKNSOEL
2017-03-14 12:35:06 -07:00
Iris Hsiao
bc568366eb Backed out changeset c7174ac72d14 (bug 1347272) for build bustage 2017-03-28 18:16:33 +08:00
dimi
fa1cdd079d Bug 1350798 - Ignore v4 completion too early will cause telemetry::URLCLASSIFIER_MATCH_RESULT gets wrong results. r=francois
Enable safebrowsing v4 completion but ignore the result by checking preference in
nsUrlClassifierLookupCallback::Completion may cause telemetry measure incorrect match
result since v4 completions will always be ignored.

So in this patch we move the preference check after telemetry is measured and then we
ignore the result.

MozReview-Commit-ID: J29JitvW3Lc
2017-03-28 09:09:57 +08:00
Zibi Braniecki
f1060ac666 Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
MozReview-Commit-ID: BDhgIKNSOEL
2017-03-14 12:35:06 -07:00
Robert Helmer
ec528c40a2 Bug 1350471 - provide an unregisterTimer function for nsIUpdateTimerManager r=mossop
MozReview-Commit-ID: HMcaqXA3dJW
2017-03-26 00:56:46 -07:00
Andrew McCreight
b5b828733f Bug 1349389 - Lazily load osfile.jsm in telemetry. r=gfritzsche
Also, avoid two entirely unused imports.

This avoids loading the various osfile jsms at startup.

The additional shim method for sysinfo is needed in
test_TelemetryEnvironment.js because delaying the intialization of
osfile results in loading osfile_shared_allthreads.jsm after the shim
sysinfo has been added, which initializes
Ci.nsIOSFileConstantsService, which calls into sysinfo in
InitOSFileConstants().

MozReview-Commit-ID: D7IWk20TRt1
2017-03-21 14:55:39 -07:00
Wes Kocher
3b4a8b3e1a Merge m-c to autoland, a=merge
MozReview-Commit-ID: 87ulQGa6DgN
2017-03-27 17:19:20 -07:00
Wes Kocher
ac9930c00e Merge inbound to central, a=merge
MozReview-Commit-ID: 4K4y2wN5LHh
2017-03-27 17:13:27 -07:00
Kartikaya Gupta
5be884aa61 Bug 1338347 - Add telemetry histograms for frame throughput and frame drops during compositor animations. r=bsmedberg
There are two sets of three probes here.

The first set of probes reports the maximum contiguous frames dropped during
compositor animations. This gives us some idea of the volatility of the
compositor framerate.

The second set of probes reports the frame throughput, which is the number of
actual frames composited divided by the expected number of frames (based on the
vsync interval and wall-clock time) during compositor animations. The ratio is
scaled up to 1000, so values of 1000 should indicate a "perfect score". The
probes use linear bucketing with a max value of 1500 in case we get abnormal
cases where we composite more frames than expected.

Within each set, there is one probe for compositor animations triggered by the
chrome process, one for compositor animations triggered by a content process,
and one for compositor animations driven by APZ.

MozReview-Commit-ID: LFJsEPnQhja
2017-03-20 11:41:05 -04:00
David Major
c7cb41cc12 Bug 1351100: Remove the check for "redundant/"-prefixed memory reports. r=njn
"This hack can be removed once FF26 and associated products (e.g. B2G 1.2) are no longer in common use."
2017-03-28 09:38:06 -04:00
Gabriele Svelto
ad6e2212ea Bug 1345153 - When the pingsender fails to send a ping, persist it to disk so that it can be sent later via regular telemetry; r=chutten,ted
Currently we hand over a crash ping to the pingsender via a pipe; if the
pingsender fails to send the ping we rely on the CrashManager assembling and
sending one instead. Since the crashmanager is not aware of whether the ping
was sent or not this causes duplication on the server side. To solve this
problem we save the ping to disk instead, read it from the pingsender and
delete the file only if the ping was sent. In this scenario the CrashManager
will know that a ping was already sent and will not send a new one.

This patch removes all the code used to deal with pipes between the telemetry,
crashreporter and pingsender code and also tries to cut down the amount of
platform-specific code we have in this machinery.

MozReview-Commit-ID: ASm2jnDagCK
2017-03-27 12:38:39 +02:00
Thomas Nguyen
75c7b4139d Bug 1336903 - Add telemetry probes to track Safe Browsing server response time r=francois
The probes keep track of V2 and V4 server response to update and getHash
request. The probes are keyed by provider

MozReview-Commit-ID: 3Uxjm6H77lE
2017-03-24 15:41:23 +08:00
Xidorn Quan
6eb87266b6 Bug 1345696 part 1 - Lots of fixup for the next patch. r=heycam
The next patch moves nsCSSFontFaceRule into a separate header, which
somehow affects lots of header dependencies. I'm not completely sure
why this happens, though.

MozReview-Commit-ID: KuXbsaX0NUd
2017-03-28 20:05:12 +11:00
Wes Kocher
0eb31f0868 Merge m-c to autoland, a=merge 2017-03-29 15:48:28 -07:00