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

576504 Коммитов

Автор SHA1 Сообщение Дата
Tom Ritter 08c7f52dc2 Bug 1424341 Add tests for privacy.reduceTimerPrecision for the performance API r=bkelly,timhuang
This commit also adds a test for secureConnectionStart which was missing, and rewords
the error messages to be more readable when reviewing test failures.

MozReview-Commit-ID: LpkRGe81eq1

--HG--
extra : rebase_source : c2ab870cd6e8e215353d3695b8ba112863826877
2017-12-12 23:58:53 -06:00
Tom Ritter 58c53866d8 Bug 1424341 Round the Performance Timing APIs when privacy.reduceTimerPrecision is set r=bkelly,timhuang
MozReview-Commit-ID: LrAmrIfKk39

--HG--
extra : rebase_source : e9ded5202406abd07465a0b4a9a6122c86a9c072
2018-01-10 15:51:23 -06:00
Tom Ritter 4298990703 Bug 1424341 Add tests for privacy.reduceTimerPrecision that confirm the default timer resolution works r=bkelly,timhuang
MozReview-Commit-ID: 1tGb0kedqSP

--HG--
extra : rebase_source : 2a2c487726b5e6d74c0c74d79dc1f3eb4cd2de43
2017-12-08 15:24:11 -06:00
Tom Ritter bc92067c8e Bug 1424341 Add privacy.reduceTimerPrecision and privacy.reduceTimerPrecision.microseconds prefs r=bkelly,timhuang
This pref does not override privacy.resistFingerprinting, but when it is set (and
privacy.resistFingerprinting is not) we will still adjust the precision of almost
all timers. The adjustment amount is the second pref, which is defaulted to
20us but now dynamically adjustable (in the scale of microseconds.)

This patch does _not_ address the performance API, which privacy.resistFingerprinting
disables.

We are landing this preffed on at the current value we clamp performance.now() at
which is 20us.

MozReview-Commit-ID: ESZlSvH9w1D

--HG--
extra : rebase_source : a8afead1bdba958c6c7b383b2216dacb3a1b135c
2018-01-09 14:58:34 -06:00
Andrew Halberstadt 14685fa5e9 Bug 1429223 - [lint] Obsolete the eslintvalidate hooks by printing error message with upgrade path, r=standard8
This replaces the eslintvalidate hooks with an error message
prompting the user to upgrade to tools/lint/hooks.py.

The reasons for deprecating eslintvalidate are twofold:

1) It only runs eslint, so developers might miss errors from
other linters.

2) It isn't as well maintained, and I've started to see
reports of problems in the wild. It doesn't make sense to
maintain two sets of hooks that do the same thing.

MozReview-Commit-ID: CseeVIof2om

--HG--
extra : rebase_source : e859c368d14cd1bf7e7d85f0de5bbb89e88402d9
2018-01-09 20:03:58 -05:00
Thom Chiovoloni 6e3bb55bb8 Bug 1412083 - Avoid syncing preferences that refer to moz-extension or blob urls. r=eoger
MozReview-Commit-ID: 9Ipq5z1dykr

--HG--
extra : rebase_source : a8616485879268ce31ef74f4b3fdbc3f4dc5a585
2018-01-09 17:46:24 -05:00
Luca Greco ce3db38de1 Bug 1428094 - Exception raised from a webRequest blocking listener should report the original error message and filename. r=mixedpuppy
MozReview-Commit-ID: KiCg6dKaVd5

--HG--
extra : rebase_source : fc98846dc960fc148718299e9750196018342565
2017-12-07 21:19:03 +01:00
Ciure Andrei 23575f7023 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-11 12:06:29 +02:00
Kaku Kuo 9dbfc93c6f bug 1422239 - relax the resolution limitation of WMF H264 decoder; r=jya
https://msdn.microsoft.com/en-us/library/windows/desktop/dd797815(v=vs.85).aspx
Relax the resolution limitation from "width <= 4096 and height <= 2304" to "any width and height combination as long as the total pixel count is under 4096x2304".

MozReview-Commit-ID: 5wHiJfLaJkp

--HG--
extra : rebase_source : 11bf99d0eb3b50ea0199a7f65e0491e43318d29c
2018-01-08 16:37:40 +08:00
Martin Stransky f6c750837a Bug 1417890 - Install nsClipboard hook at nsWindow init, r=jhorak
MozReview-Commit-ID: GA3USkXtEhe

--HG--
extra : rebase_source : 4dca587977c9d09ee50735931e789620e0099e81
2017-12-18 13:39:00 +01:00
Martin Stransky 38f5ee6fb8 Bug 1417890 - Use nsRetrievalContextWayland for Wayland displays, r=jhorak
MozReview-Commit-ID: 1Z7uUhHPnaq

--HG--
extra : rebase_source : 2a64c910643f4e5f57f1b872a2918e8ebf906cfa
2017-12-18 13:37:46 +01:00
Martin Stransky 36864b87c5 Bug 1417890 - Implement nsRetrievalContextWayland, r=jhorak
MozReview-Commit-ID: 3wrOXg9KRtC

--HG--
extra : rebase_source : ddaa10cdd6ef3242e4c19aa7b1b5c59fde2d4e83
2017-12-18 13:36:12 +01:00
Martin Stransky f355ee7a5c Bug 1417890 - rename nsRetrievalContext::WaitForClipboardContext() to nsRetrievalContext::GetClipboardData() and implement nsRetrievalContext::ReleaseClipboardData(), r=jhorak
Make the clipboard data getter function more explicitly named and also create a counterpart to release clipboard data.

MozReview-Commit-ID: 3pWsQgCFDuG

--HG--
extra : rebase_source : c4eae554f5a24d998801550ac91b0859ac8e116e
2017-12-18 13:34:38 +01:00
Ethan Lin 541a2b1d3c Bug 1424673 - Add a reftest for the bug. r=kats
MozReview-Commit-ID: 9lwptqWqHvW

--HG--
extra : rebase_source : a2631f0981e05d5d62ec0b6338de2f6a5c518dcf
2018-01-09 10:36:46 +08:00
Ethan Lin 7ab691c827 Bug 1424673 - Fix the clip region for text draw target. r=kats
For draw target, the initial clip region should be the draw target's size.

MozReview-Commit-ID: 2z2EobkYFs2

--HG--
extra : rebase_source : 9631cf189330b089992b8458113800ea9a3fd4a0
2018-01-08 10:59:01 +08:00
Kearwood "Kip" Gilbert 52aac2a6d6 Bug 1426500 - Disable WebVR for macOS on Beta and Release r=daoshengmu
- WebVR will continue to be enabled on macOS for Nightly
  and Dev Edition

MozReview-Commit-ID: LpEX13yZVbb

--HG--
extra : rebase_source : 07b93a9f0cbb57fb00f17404f0cf4a37f78f6a5c
2018-01-10 16:14:21 -08:00
Edgar Chen fd3cbab671 Bug 1417829 - Remove unresolved pseudoclass; r=heycam,smaug
MozReview-Commit-ID: JHfYVnh1SET

--HG--
extra : rebase_source : 287a967f4f354999ab8af93eb696e81727289b12
2017-12-04 17:49:41 +08:00
Jan-Ivar Bruaroey 313f7a1ac3 Bug 1429536 - Assure even width and hight for fake:true camera, fixing debug crash. r=ng
MozReview-Commit-ID: mxGcTFbEwe

--HG--
extra : rebase_source : 21a66143070dba55d616750a7733a4fa5848254b
2018-01-10 20:02:18 -05:00
Edgar Chen 0861896cc7 servo: Merge #19743 - style: Remove :unsolved pseudo-class (from EdgarChen:unresolved); r=heycam
<!-- Please describe your changes on the following line: -->

This is the servo part changes of https://bugzilla.mozilla.org/show_bug.cgi?id=1417829.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1417829.

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this PR is to remove a feature.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: f47cd758fa76e571d378d29d031ecad38ac202d4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e218b96dd7cc592c96639824f1373bf4e02c450d
2018-01-10 21:06:04 -06:00
JW Wang 5efcbcb3a8 Bug 1427932. P2 - fix the calculation of |endTime|. r=jya
MozReview-Commit-ID: 2a8FxMdgM8e

--HG--
extra : rebase_source : a287b19c5c2d6d3c5a2fb454c14b390f60e63667
extra : source : 49211ab256d7742cf83b16e6a2fa6ed3d53f1b46
2018-01-04 11:10:19 +08:00
JW Wang b23b5d2214 Bug 1427932. P1 - replace NS_ASSERTION with MOZ_ASSERT to catch more bugs. r=jya
MozReview-Commit-ID: H5SNFz956nG

--HG--
extra : rebase_source : 8ee27dabc1cda0b4001464a1d78705aa2a306cd5
extra : source : ab0dab8a566c0090dd900a9fbcdd97cc7b622cbc
2018-01-04 11:09:54 +08:00
Jared Wein 5f07417543 Bug 1422164 - Create a rich-select, address-option, and basic-card-option custom elements. r=MattN
MozReview-Commit-ID: 7EtK5GEWNZd

--HG--
extra : rebase_source : fdf165f5476c0f651d17999fbb6bb479e229d599
2017-12-01 14:38:27 -05:00
Mike Hommey e73fcbf697 Bug 1429918 - Adjust the MPC download url. r=nalexander
--HG--
extra : rebase_source : e457431f9aa04c58ec29eb0c6450d43232de12d2
2018-01-12 06:58:34 +09:00
Nicholas Hurley 670ad53036 Bug 1367861 - enable throttling for http/2. r=mayhemer
This also fixes the bug that prevented throttled http/2 streams from
ever re-starting by calling TransactionHasDataToRecv.

MozReview-Commit-ID: 5dFotZGhQk9

--HG--
extra : rebase_source : 2ba35bef4e17d90fc2abe52958bb6459b052b7e7
2018-01-10 13:35:02 -08:00
Noemi Erli 188184d4dc Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-12 00:04:40 +02:00
Mike Hommey 4f2f1a88f6 Bug 1429685 - Build a Valgrind package for Debian wheezy. r=dustin
Apply the patch from bug 1382280 (build/valgrind/valgrind-epochs.patch).

--HG--
extra : rebase_source : 283dbc749e231bc00ea3135423e1606161f0bcd4
2018-01-11 16:06:45 +09:00
Andreas Tolfsen a48dd7b64b Bug 1429091 - Use global message manager in AsyncMessageChannel. r=maja_zf
Whenever we make proxied IPC calls to the content frame's message manager,
we do so over the global message manager.  AsyncMessageChannel takes a
closure that returns the current message manager from GeckoDriver#mm,
but this is unnecessary because it always holds a global message channel.

By not having to pass in a closure returning a message manager
to AsyncMessageChannel we losen the tight coupling a little bit.
Future patches will further reduce the tight coupling of browserFn.

MozReview-Commit-ID: EU0pkxA7lab

--HG--
extra : rebase_source : f6d6735e2d5bacdfbf20bde9a835f3f83846b2d6
2018-01-09 15:53:46 +00:00
Kartikaya Gupta d0c7964c6a Bug 1429813 - Remove random-if annotation that is unnecessary now. r=jrmuizel
MozReview-Commit-ID: 7JiPc6dhgFI

--HG--
extra : rebase_source : 8e72a7877ca8035556a26e0360cca77a0669f72b
2018-01-11 11:17:56 -05:00
Mike Hommey 4de239b64f Bug 1429669 - Install the mercurial package in the toolchain-build docker image. r=dustin
--HG--
extra : rebase_source : 2ee1fc5816d1269a2fb189a33f5f2b0efb7e35d6
2018-01-11 14:07:57 +09:00
Mike Hommey 5f8431c3b1 Bug 1429669 - Separate mercurial conf from install-mercurial.sh. r=dustin
The install-mercurial.sh script currently installs a global mercurial
configuration after installing mercurial manually. In order to share
that configuration with docker images installing a mercurial package
through packages tasks, we move it to a separate file.

We however keep the part setting web.cacerts in install-mercurial.sh,
since it uses a path depending on what kind of environment the script is
run. Moreover, the instructions that come with mercurial to build
Debian packages come with web.cacerts set to the right path already, so
it's not needed in that case anyways.

At the same time, use multiple files in /etc/mercurial/hgrc.d/ instead
of a single /etc/mercurial/hgrc file.

--HG--
extra : rebase_source : 8140d8243cf012489025afe058f467c72224c891
2018-01-11 14:01:31 +09:00
Mike Hommey 398539b2db Bug 1429669 - Build a mercurial package for Debian Wheezy. r=dustin
--HG--
extra : rebase_source : 22f0e8de5dc50c9d4e3df5790b74ecfe69349a59
2018-01-11 14:07:36 +09:00
Mike Hommey ed263aab84 Bug 1429669 - Add backports sources when building Debian packages. r=dustin
Build dependencies won't be installed from backports unless they are not
satisfiable in the given Debian release. This is useful to get dh-python
on Wheezy.

--HG--
extra : rebase_source : 1f249b4ceae4fdd9ea37e9a9b9e9b62b48a1c9ed
2018-01-11 14:03:21 +09:00
Mike Hommey f65ab0ce12 Bug 1429669 - Allow to build debian packages off a source tarball. r=dustin
In the case of mercurial, we don't want to use a .dsc as the original
source, but rather use the debian packaging scripts available in the
upstream mercurial tarball.

--HG--
extra : rebase_source : ec5b288f3994bc0bc1ec9ebce40def807bb7681f
2018-01-11 14:02:58 +09:00
Mike Hommey dc613af2d0 Bug 1429669 - Recursively check identifiers in schema validation. r=dustin
The taskgraph.util.schema.check_schema function validates key names used
in schemas, ensuring they are dashed lower-case. However, it currently
assumes keys are either direct strings, Required or Optional entries,
and either ignores or fails to recognize other patterns.

For example, it ignores Any, and fails to recognize combinations like
Required(Any(...)), which we're going to use in next patch.

--HG--
extra : rebase_source : 4f6ff51a4a9dc9c7d9b6d070e03c6cc6e1befe80
2018-01-11 09:29:19 +09:00
Mike Hommey 0f364f58ca Bug 1429669 - Group url and sha256 of dsc file in package definitions. r=dustin
This will be useful two patches down the road.

--HG--
extra : rebase_source : bfb3ccc53837c243703ad5fb1fd480063d906c1a
2018-01-11 07:35:32 +09:00
Ralph Giles 8101f5ae52 Bug 1418083 - stylo: Suppress valgrind error. r=jseward
We believe this is another spurious memcheck error triggered
by code from Rust 1.23.0. See also bug 1394696.

For some reason, this error occurs both with and without
the leading underscore on mangled std::sync::once methods,
so this change matches either with a wildcard.

MozReview-Commit-ID: 4upSAPqAtNA

--HG--
extra : rebase_source : 5f697aaa5e170369f08d385d10c1aac9d8c1e50b
2018-01-09 16:18:49 -08:00
Karl Tomlinson 88b88a2384 bug 1429666 cubeb_resampler_speex: don't call data callback while draining r=padenot
MozReview-Commit-ID: 1XEzZjPGai9

--HG--
extra : rebase_source : 56be87525d46ed3850a15e8e4dd19804dd832408
2018-01-11 13:30:24 +13:00
Margareta Eliza Balazs a331a849a4 Backed out changeset 6d539e4a02bd (bug 1403519) for lint failures on a CLOSED TREE 2018-01-11 22:32:27 +02:00
Ian Moody f5f29b2876 Bug 1422934 - Remove unused toolbarbutton-image binding. r=Gijs
MozReview-Commit-ID: 2BkLRnYXtMm

--HG--
extra : rebase_source : d107517fa80e8a83396ef598ec0cef03668d5b59
2017-12-12 15:38:51 +00:00
Ian Moody 97404f0db8 Bug 1422934 - Make the tab close button an image, and remove the extends from its binding. r=dao,Gijs
MozReview-Commit-ID: HF0Rqeq8fh8

--HG--
extra : rebase_source : e4ef4e4a3176e8a791235d60d1132754743fbff0
2018-01-11 16:12:07 +00:00
Tom Prince 0e8d2f23ed Bug 1429819: Allow using tooltool macOS SDK on all automation builds, not just cross-builds; r=dminor
MozReview-Commit-ID: IFIS8vZLgd4

--HG--
extra : rebase_source : 5494d93404e5fff0c669df2540534456579f9acf
2018-01-11 09:23:16 -07:00
Steve Fink 5b431f6138 Bug 1426873 - Implement no-arg Shape::dump() to allow calling T->dump() in a templatized function, r=jonco
--HG--
extra : rebase_source : e8668cd0870009d499306872f7f1f36ab5552905
extra : amend_source : a0b4b564e6c3c7e526affdeb47dcc2743e37d9ce
2017-11-17 13:56:20 -08:00
David Parks f933a65f8d Bug 1382251: Part 11 - Update moz.build with new files r=jimm
Includes the build changes made by the earlier patches in this series.  Also adds some #includes required by other files when these are added to the unified build.

--HG--
extra : rebase_source : 0a7ea51fe46c2c0c919a03b7dd7cccc637e7b515
extra : histedit_source : a70277a4d8d0b37f983e6d97b8b54d54fba01ba6
2017-11-06 10:47:01 -08:00
David Parks ac10cd5d45 Bug 1382251: Part 10 - Add nsWindowsDllInterceptor tests for the new functions r=aklotz
Adds tests for the DLL interception of the SSL APIs included in the previous patch.

--HG--
extra : rebase_source : 6bcf68b8a688d06c0851132cb791312856eef4ac
extra : histedit_source : b3fe197acb2a2b20b2bf70eff12d754d4f1bb67a
2017-11-06 10:45:13 -08:00
David Parks 532ec8cea3 Bug 1382251: Part 9 - Hook functions needed for SSL communication in NPAPI process r=jimm
Adds Win32 networking APIs to the function broker so that we can run SSL communications outside of the sandbox.

--HG--
extra : rebase_source : 9a5ec38dd9f8a4f1f7bbada461e97513c7db0ab7
extra : histedit_source : f9460155a84f734fa0663bca9f4d18963c07cef5
2017-11-06 10:41:21 -08:00
David Parks 3faeb8e38f Bug 1382251: Part 8 - Migrate some previously hooked functions to FunctionHook/Broker r=froydnj
Moves GetWindowInfo, GetKeyState, SetCursorPos, GetSaveFileNameW and GetOpenFileNameW to the new FunctionHook and FunctionBroker systems.

--HG--
extra : rebase_source : faa4a5a343d3c7c9310241ad361e563a0221d2d7
extra : histedit_source : 1d06fc0480f03506e188efc834e35561bb6b07d1
2017-11-06 11:07:16 -08:00
David Parks 8828da3873 Bug 1382251: Part 7 - Add mechanism for automatically brokering DLL functions r=jimm
The FunctionBroker is a special kind of FunctionHook that brokers the hooked function on another process.  In the child process, it uses the FunctionBrokerChild to request that the FunctionBrokerParent run a function and return the response.  It handles most cases of parameter, return value and error marshaling on its own.  It also guarantees that requests are issued from the proper thread.

--HG--
extra : rebase_source : 99e4864f3e6396695eae0ff9aec75aa3c69f082f
2017-11-06 10:34:47 -08:00
David Parks e58ba522f2 Bug 1382251: Part 6 - Start/stop new top-level brokering actors on their own threads r=jld
The FunctionBroker actors allow the NPAPI process (child) to run methods on the main process (parent).  Both the parent and the child run dedicated threads for this task -- this is a top-level protocol.

--HG--
extra : rebase_source : 38c02140f364f32c4ea16cac79d80facf168c2f9
2017-11-06 10:29:15 -08:00
David Parks d0d0e5ba2f Bug 1382251: Part 5 - Add IpdlTuple for type-safely marshaling tuples r=jld
IpdlTuple is an array of Variants that is accessed by type and that reports an error if there is a type error.  This is used for safe and easy communication of IPDL objects, validated at run time since IPC data is untrusted.

--HG--
extra : rebase_source : ee113d501d5372cfd01f0be9a58e2db50ab539b3
2017-11-06 10:17:15 -08:00
David Parks c6a908099a Bug 1382251: Part 4 - Init/Shutdown parts of XPCOM needed in plugin process r=erahm
We have not been initializing or shutting down XPCOM in the plugin process.  We need the nsThreadManager for this bug but, more importantly, we need to properly shut down XPCOM in order to get things like handlers connected to the ShutdownPhases (e.g. ClearOnShutdown, used to free resources at process end).

This patch includes some work to make services that are uninitialized in the plugin process to handle Shutdown calls without failing.

--HG--
extra : rebase_source : 837eddd8f8cf956b248c81cb26ca183bf13d1b46
2017-11-06 10:10:43 -08:00