Commit Graph

39646 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
74e36e1adb Merge mozilla-central to autoland on a CLOSED TREE
--HG--
extra : amend_source : 5026c19958cdc458c0f0887582fd00b8038fe93e
2017-03-30 16:48:10 +02:00
Timothy Nikkel
5e81f37a23 Bug 1350531. Assign alert emails for all imagelib telemetry probes. r=francois 2017-03-30 00:06:11 -05:00
Wes Kocher
8e0bc97954 Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
Wes Kocher
d6c321a6a9 Merge autoland to central, a=merge 2017-03-29 15:20:43 -07:00
Gijs Kruitbosch
7c4e46f7ce Bug 1350325 - back out changeset 195972ebe7a1 and 27346172ee35 (bug 1325591 and bug 1332807) for causing worse problems for the default theme, r=ralin
MozReview-Commit-ID: 8h7La5T418t

--HG--
extra : rebase_source : 2928158c77660066140fc1b801816aa0d2414cb0
extra : source : c77724bf934039c7d7b11e2eb78de19b8d1b809a
2017-03-29 17:13:53 +01:00
Kartikaya Gupta
317d304694 Merge m-c to graphics
MozReview-Commit-ID: 9kxCUtDZT9J
2017-03-29 10:24:15 -04:00
Ryan VanderMeulen
f4a0d77ffc Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
Sotaro Ikeda
852cd92287 Bug 1325298 - Remove static link to GL of webrender. r=kats
This is no longer needed after https://github.com/servo/webrender/pull/1009

MozReview-Commit-ID: GEHGRK0TGXY
2017-03-28 18:27:42 -04:00
Kartikaya Gupta
25748395e5 Bug 1349692 - Update webrender to dafe3579e8dc886e6584116dc52a9362b543c169. r=jrmuizel
In addition to updating gfx/webrender and gfx/webrender_traits, this updates
gfx/webrender_bindings for:
- API changes to update_image and push_stacking_context.
- Version bumps needed in Cargo.toml

Also, since offscreen_gl_context is no longer a dependency, this patch removes
that crate and various other crates it depends on.
2017-03-28 17:49:11 -04:00
Gian-Carlo Pascutto
2285dea6a3 Bug 1347358 - Add a Cleanup() function for profile locks. r=glandium
MozReview-Commit-ID: GYQeUuzWPOV

--HG--
extra : rebase_source : 1c031180cb7e31cbeff205de583bd37a3c13945c
2017-03-23 18:02:10 +01:00
Tim Huang
3b43737132 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

--HG--
extra : rebase_source : a44b19bdf2ce7e90fc831ddc2b85a86d594cb0c3
2017-03-29 15:43:56 +08:00
Ryan VanderMeulen
7e1a57cfa4 Merge m-c to autoland. a=merge 2017-03-29 09:43:00 -04:00
David Teller
80e9560eef 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

--HG--
extra : rebase_source : bb205970b4186d9325dded7ddae066bcad18fb0e
2017-03-24 22:25:03 +01:00
Robert Helmer
bce75af4b4 Bug 1350471 - provide an unregisterTimer function for nsIUpdateTimerManager r=mossop
MozReview-Commit-ID: HMcaqXA3dJW

--HG--
extra : rebase_source : 5d0131ba24626b84e2529487429547af9974a8bc
2017-03-26 00:56:46 -07:00
Phil Ringnalda
e7905e8e6d Backed out 3 changesets (bug 1348803) for failures in audio and playback browser-chrome tests
CLOSED TREE

Backed out changeset 4ac559eea9ec (bug 1348803)
Backed out changeset 2ab6e0b8aec6 (bug 1348803)
Backed out changeset f966aef934b1 (bug 1348803)
2017-03-27 21:47:02 -07:00
Phil Ringnalda
fb622b0334 Bug 1348803 followup, take eslint's advice and remove an unused var 2017-03-27 20:17:16 -07:00
Alastor Wu
31d5fff67b Bug 1348803 - part1 : move fennec-only code to android/browser.js. r=sebastian
We could register media control related event after the tab has active media.
But we still need to register "audioFocusChange" in the beginning, because it
affect every tab even the tab has no active media.

MozReview-Commit-ID: 4pBKIR8F5tV

--HG--
extra : rebase_source : fc26c98ed7b33552b4eba5b20168394b1b1a4390
2017-03-28 10:57:50 +08:00
Andrew McCreight
f6a64d2db5 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

--HG--
extra : rebase_source : cf820b1ed72a78ff34e99d2129401c4806a68175
2017-03-21 14:55:39 -07:00
Wes Kocher
8c7c009cdf Merge m-c to autoland, a=merge
MozReview-Commit-ID: 87ulQGa6DgN
2017-03-27 17:19:20 -07:00
Wes Kocher
93f5513b72 Merge inbound to central, a=merge
MozReview-Commit-ID: 4K4y2wN5LHh
2017-03-27 17:13:27 -07:00
Kartikaya Gupta
c0ed43268d 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

--HG--
extra : rebase_source : d943b4612c2a84b0d4b85c5eafb0d0025ffba80f
2017-03-20 11:41:05 -04:00
Ray Lin
c24dde2cc6 Bug 1350315 - Hide cursor when video controls fadeout for desktop. r=Gijs
We used to have this rule in shared stylesheet for both mobile and
desktop, but the namespace mismatched after visual refresh (De-XUL).
Now we should add this rule back to hide cursor while fading out.

MozReview-Commit-ID: HDZKn8CrQ5X

--HG--
extra : rebase_source : 7a63650b9f048dd5b0b0b79ce289bc762cc6a07b
2017-03-25 11:41:44 +08:00
Paavini
75e7d21381 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
f12d3f3f0d 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
490a6868bf 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
ee460f557c 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
aa9989732f 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
bf0e813741 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
76d8f33d64 Bug 1271991 - Store recording state locally in Telemetry.cpp to avoid excessive locking in CanRecord{Base, Extended}(). r=chutten
--HG--
extra : rebase_source : b23cf8f4c82dd3ce4304a8779577e4e0a309da8d
2017-03-27 14:17:32 -07:00
Nathan Froyd
d9848cf82a Bug 1349694 - only build gkrust-gtest when we build libxul-gtest; r=chmanchester
To improve build times, we've decided to only build libxul-gtest when
it's specifically requested, i.e. via `mach gtest` or similar.  However,
our build setup specifies that gkrust-gtest, the Rust code specifically
for libxul-gtest, is built during normal builds.  This library takes a
significant amount of time to compile and is generally not needed.

This patch changes the gkrust-gtest library to only be visible under the
same conditions that libxul-gtest is built, thus speeding up normal
builds.
2017-03-28 17:02:37 -04:00
Wes Kocher
914dd4b76c Merge inbound to m-c a=merge 2017-03-28 13:30:56 -07:00
Johann Hofmann
2c2b1ac28e Bug 1192800 - Get rid of CPOWs in browser_context_menu.js. r=MattN
MozReview-Commit-ID: 8lkjFGvwS8d

--HG--
extra : rebase_source : 1a6991fde2ca31c747b6a77d94c6f74d9c99988c
2017-03-16 09:09:44 +01:00
Zibi Braniecki
5b976eeccb Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
MozReview-Commit-ID: BDhgIKNSOEL

--HG--
extra : rebase_source : 6a009ba4d397e6794e86c87c10982fdfb8e7ba08
2017-03-14 12:35:06 -07:00
Dão Gottwald
79beb6693f Bug 1350881 - Clean up button styling for Windows Classic. r=johannh
MozReview-Commit-ID: DxOywklmTVU

--HG--
extra : rebase_source : d09f344e164273e4ce79a60b42be6bf8d2301e03
2017-03-27 15:16:53 +02:00
Iris Hsiao
394f455b8e Backed out changeset c7174ac72d14 (bug 1347272) for build bustage
--HG--
extra : amend_source : b4f3d5997190ce3db799e3586131cc3cb9ce034d
2017-03-28 18:16:33 +08:00
dimi
229fe1f890 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

--HG--
extra : rebase_source : 0cf8797de476980ce25d83099e6526321308327c
2017-03-28 09:09:57 +08:00
Zibi Braniecki
70c168c03f Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
MozReview-Commit-ID: BDhgIKNSOEL

--HG--
extra : rebase_source : 8440ae6b21887bae5142c86220f02092d1b12aed
2017-03-14 12:35:06 -07:00
milindl
6109edd9bd Bug 1247201 - yield on tests using removeDataFromDomain,r=mak
This changeset changes tests using ForgetAboutSite.removeDataFromDomain
to yield on it, since now it is a Task

MozReview-Commit-ID: 72OEYoO1avd

--HG--
extra : rebase_source : 9ea8cc06493c3e965d260dc9377461ff29fe572a
2017-03-17 14:29:48 +05:30
milindl
d901d9c90a Bug 1247201 - Run cleaners async to clear as much as possible r=mak
Amended to fix review changes
(stylistic + other)
Turns all cleaners into promises so they run asyc

MozReview-Commit-ID: DV5ug6vNXkS

--HG--
extra : rebase_source : df9d9cd98f25e2a899c0a74f836f217d3ad52426
2017-03-27 19:27:35 +05:30
Jonathan Watt
15826f5605 Bug 1350641 - Allow MOZ_DEBUG_CHILD_PAUSE to specify the child process startup sleep time. r=jimm 2017-03-08 17:15:47 +00:00
David Major
2ed9ab18a2 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
Carsten "Tomcat" Book
bc21c019f3 Merge mozilla-central to mozilla-inbound 2017-03-28 13:05:57 +02:00
Dão Gottwald
234f808f6d Bug 1350556 - Remove fallback styling for XUL scale widget. r=Nihanth
--HG--
rename : toolkit/themes/osx/global/scale.css => toolkit/themes/shared/scale.css
2017-03-28 10:37:47 +02:00
Phil Ringnalda
90cfaab28d Backed out changeset 9b21aa70d85f (bug 1350765) for failures in test_TelemetryHistograms.js and test_TelemetrySession.js
CLOSED TREE
2017-03-27 20:03:32 -07:00
Ehsan Akhgari
911f9a9b92 Bug 1350765 - Avoid recomputing the histogram ID when it's available in the caller; r=chutten 2017-03-27 21:42:24 -04:00
Carl Corcoran
d2c868be48 Bug 1322554: Interpose kernel32!BaseThreadInitThunk to add verification of thread start addresses; r=dmajor
MozReview-Commit-ID: I1P2I2um76i

--HG--
extra : rebase_source : 338201fd00986c228f4dd21a4f56fd500fa80984
2017-03-29 17:07:37 +02:00
Alessio Placitelli
7c7671ed07 Bug 1345153 - Suppress valgrind warnings for PR_SetEnv in SetupCrashReporterDirectory. r=njn
MozReview-Commit-ID: 4vV2EHsgTVT

--HG--
extra : rebase_source : c5af8757174610879dd7234d9d699483cf235bdf
2017-03-30 08:04:11 +02:00
Gabriele Svelto
4ee88feef8 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

--HG--
extra : rebase_source : 9091d7897d17dad68e05e945e777e42998d020d0
2017-03-27 12:38:39 +02:00
Alastor Wu
dd5be9dee0 Bug 1346872 - part3 : add and modify test. r=Ehsan
Add new tests and move some share codes to head.js.

MozReview-Commit-ID: GcCio6JupZu

--HG--
extra : rebase_source : a9324aaebd89412d77bed19b0554e6cf2959b6e2
2017-03-30 14:27:45 +08:00
Thomas Nguyen
f0a98a30fa 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

--HG--
extra : rebase_source : 647523a24bad8334dbb34758954a5f5db0e9b96c
2017-03-24 15:41:23 +08:00