Граф коммитов

39623 Коммитов

Автор SHA1 Сообщение Дата
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
Ryan VanderMeulen f4a0d77ffc Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -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
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 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
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
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
Alessio Placitelli 3e429f59cf Bug 1321349 - Make histogram.add check 'this' for the proper JSClass. r=gfritzsche 2017-02-21 01:55:00 +01:00
Hrishikesh Barman 54d7c11e86 Bug 1347111 - Remove border and background fallback styling from checkbox.css. r=dao
--HG--
rename : toolkit/themes/windows/global/checkbox/cbox-check-dis.gif => toolkit/themes/faststripe/global/checkbox/cbox-check-dis.gif
rename : toolkit/themes/windows/global/checkbox/cbox-check.gif => toolkit/themes/faststripe/global/checkbox/cbox-check.gif
2017-03-26 22:26:06 +05:30
Ting-Yu Chou 7a42c3d5bf Bug 1337688 - Update a TODO comment according to the experimental data. r=me
--HG--
extra : rebase_source : 992071259dbfdf0a0a9bc3585c3dcb27938525ff
2017-03-27 13:19:19 +08:00
Jan Henning 6d4628844f Bug 1265818 - Part 3 - Store and restore the LayoutHistoryState through SessionHistoy.jsm. r=mikedeboer
Since a LayoutHistoryState is basically just a collection of PresStates, we just save each PresState we can find and then later restore it.

MozReview-Commit-ID: A6WpdelseHn

--HG--
extra : rebase_source : 21c2929ed64ff5ef046ea65664af78cdad517786
2017-03-25 15:32:36 +01:00
Andrew Swan 8df4d5ccc7 Bug 1348532 Remove unused list.xul r=mossop
MozReview-Commit-ID: H411v4yLTah

--HG--
extra : rebase_source : 6ca9b480b2a5ff28dd701baed664fac04c05a871
2017-03-24 19:55:54 -07:00
Dão Gottwald 8ef113f305 Bug 1350539 - Clean up custom .checkbox-check styling. r=jaws
MozReview-Commit-ID: BfiA0gp9giI

--HG--
extra : rebase_source : 1a398d1c5fa0cbeb53b39a8f6afb3bf9348f2d6b
2017-03-25 12:03:39 +01:00
Federico Padua 004698ca40 Bug 1279985 - Description for SSL_CIPHER_SUITE_* out of date; r=chutten
This patch updates the description for the probes SSL_CIPHER_SUITE_FULL and
SSL_CIPHER_SUITE_RESUMED found in Histograms.json to point to
AccumulateCipherSuite which contains the key exchanges instead of the previous
HandshakeCallback.

MozReview-Commit-ID: Bf3xKGdK4Sd

--HG--
extra : rebase_source : e278f28e6abf4044d0e554dd28bd2d550c576ef2
2017-03-25 12:24:22 +01:00
Federico Padua fbf2868516 Bug 1338555 - Add an accumulation limit to Scalars IPC messages; r=chutten
This patch adds an accumulation limit to Scalars IPC messages,
in a similar way as this limit was already implemented for Histograms.
After a discussion in the bug entry, 10000 was chosen as limit.

MozReview-Commit-ID: ARBUOFnfDBr

--HG--
extra : rebase_source : 353e35fe1cf37d1ebad1e54ac9d329a958f95dc3
2017-03-24 23:22:05 +01:00
Andrew McCreight c650c08b59 Bug 1350469 - Lazily load XPathGenerator.jsm in FormData.jsm. r=mikedeboer
MozReview-Commit-ID: 7Cm7tPYc9dW

--HG--
extra : rebase_source : 95f0e3c4e8cc35a1ff83cbe4e9daf787fd9885ef
2017-03-22 14:01:58 -07:00
Carsten "Tomcat" Book a441709a12 Merge mozilla-central to autoland 2017-03-27 13:00:23 +02:00
Jessica Jong 2638fe61fa Bug 1344624 - [DateTimeInput] (l10n) Part 2: Display formatted numbers in <input type=date>. r=mossop
MozReview-Commit-ID: BOaNefKe2Pb

--HG--
extra : rebase_source : afc5439ddff6d05a08bf111aaf5371be4cd1c640
2017-03-24 11:13:26 +08:00
Jessica Jong afdb7ecd5d Bug 1344624 - [DateTimeInput] (l10n) Part 1: Display formatted numbers in <input type=time>. r=mossop
Add a new attribute "rawValue" in each of the numeric fields. We store the
non-formatted number in this attribute, and display formatted number using
Intl.NumberFormat.

MozReview-Commit-ID: JkcBObFoYQ3

--HG--
extra : rebase_source : 05918ba57513f9c816273a758ab2aa7198722135
2017-03-24 11:13:20 +08:00
Cykesiopka dbb0d99a70 Bug 1319252 - Remove nsIX509Cert.getAllTokenNames(). r=keeler,mossop
nsIX509Cert.getAllTokenNames() is only used (improperly) to determine if a
certificate is a built-in. nsIX509Cert.isBuiltInRoot should be used instead.

MozReview-Commit-ID: LBwI8nTc05C

--HG--
extra : rebase_source : 9494cd1243395b0d293022e981f64be560a54dec
2017-03-19 16:02:26 +08:00
Dão Gottwald 3eece665d8 Bug 1351258 - Remove faststripe. r=mossop
MozReview-Commit-ID: FfX0kRMg5sM

--HG--
extra : rebase_source : d2e27e5652c28854d50975a1ccd03f4bc4d0773b
2017-03-29 11:05:51 +02:00
Kaku Kuo 86a20bfd54 Bug 1350852 P2 - use mozvideoonlyseekcompleted to cancel throbber while resuming video decoder; r=jaws,jwwang
MozReview-Commit-ID: CV3LsfA6s1O

--HG--
extra : rebase_source : 8337aac3a3395b65a8ffca975c51b40666c12023
2017-03-27 18:22:55 +08:00
Makoto Kato 516d961243 Bug 1348177 - Part 2. Remove GetProcAddress for shell32 to use Vista+/7+ API (tookit part). r=jimm
It is unnecessary to use Vista/7+ API via GetProcAddress.

MozReview-Commit-ID: AT6OJhhf4r2

--HG--
extra : rebase_source : 0231fad656de11c8a8d6d8fa7374a8365778ea43
2017-03-17 11:04:33 +09:00