Commit Graph

578544 Commits

Author SHA1 Message Date
Noemi Erli
97a87e010b Backed out 2 changesets (bug 1432271) for bustage in /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/Navigator.h:79:23 on a CLOSED TREE
Backed out changeset 7af7827525c8 (bug 1432271)
Backed out changeset 79b9d49e08db (bug 1432271)
2018-01-27 02:49:25 +02:00
Kyle Machulis
0fef68ce31 Bug 1432271 - Remove MOZ_TIME_MANAGER block from old-configure.in; r=nalexander
MozReview-Commit-ID: E9GBaJq8haT

--HG--
extra : rebase_source : 90f73ce10c8c52d8f9fea9c6a9adb75f8013e7a7
2018-01-22 12:56:36 -08:00
Kyle Machulis
9c6223e5a0 Bug 1432271 - Remove dom/time; r=baku
dom/time contained the TimeService and TimeManager classes, used for
setting time via Gecko on FirefoxOS. Since FirefoxOS is no longer in
the code base, the directory can be removed.

MozReview-Commit-ID: 8PEk3e6HA67

--HG--
extra : rebase_source : 63a0a6c665792ab1885bd4f81261db9be887ffd1
2018-01-22 12:50:11 -08:00
Mike Hommey
520f9865db Bug 1432397 - Switch mingw builds to a Debian stretch-based docker image. r=dustin
Don't build ucl when building upx, Debian stretch has a recent enough
version. In fact, the last upstream version doesn't build with GCC in
Debian stretch (http://bugs.debian.org/811707)

--HG--
extra : rebase_source : aae67773b9dd3b99f6ddf9ab7f59a628037e6925
2018-01-26 14:39:07 +09:00
Doug Thayer
57731e3f90 Bug 1426721 - Encrypt Chrome logins in background thread r=keeler,MattN
A significant chunk of migration jank that I observe locally
happens due to login encryption. This patch reduces the locally
observed jank (measured importing 100 logins) from 180ms to 25ms.

Try is green, and as far as I can tell I don't see any thread
safety issues, but I'm not 100% sure on that. I don't see any
red flags inside the SecretDecoderRing::Encrypt implementation.

I only moved Chrome logins over since I wanted to frontload any
potential issues with the whole approach. It shouldn't be too
hard to move the MSMigrationUtils and IEProfileMigrator uses
over though.


MozReview-Commit-ID: 75edUqJlk8x

--HG--
extra : rebase_source : 0a8e16c46e05972fb01c9703b52cdb5755b0b40b
2018-01-04 15:10:54 -08:00
Doug Thayer
ac49bf6b85 Bug 1426721 - Add async/bulk encryption interface to SDR r=keeler,MattN
Since encryption can be somewhat CPU intensive, if we're encrypting
a large number of strings we want to be able to do so in a background
thread. This will be consumed by the profile migrators when importing
logins.

MozReview-Commit-ID: JoJGOgMzZ4u

--HG--
extra : rebase_source : 4677482b4e9b1df7c7ca70a0e817204ef6638cdf
2018-01-23 10:06:31 -08:00
shindli
4615d385bd Backed out changeset e414096f1c3b (bug 1433410) for yaml lint failures in tools/lint/codespell.yml:12:81 on a CLOSED TREE 2018-01-27 01:20:16 +02:00
Chris Manchester
b42986e45e Bug 1429947 - Unset WIN64_LINK and WIN64_LIB in in-tree mozconfigs during an artifact build. r=nalexander
MozReview-Commit-ID: 9mIaxs0xroN

--HG--
extra : rebase_source : 623f50f4186722d6a0da9f01bd6d57b072068bd7
2018-01-26 14:53:44 -08:00
Mike Hommey
a5428cd701 Bug 1432392 - Switch the spidermonkey rust bindings job to a Debian-based docker image. r=dustin
This job requires cmake, which should be fixed, but in the meanwhile,
create a separate docker image with it installed, based on the image we
use for other spidermonkey builds.

--HG--
extra : rebase_source : da43a7999b6bd86dbba816358d907c902415bed4
2018-01-26 11:43:31 +09:00
Sylvestre Ledru
904937e12f Bug 1433410 - Add codespell support for mach lint r=ahal
MozReview-Commit-ID: Ii6QjPMN0Ks

--HG--
extra : rebase_source : f5aec5f35d5f882132fb09fe094dc2cfc41b1392
2018-01-26 23:58:29 +01:00
Sylvestre Ledru
3a35e750f3 Bug 1433417 - Fix a bunch of typo in the doc r=ahal
MozReview-Commit-ID: LRgL0CMJdDP

--HG--
extra : rebase_source : b99364bb96c1501a674a1726a3b5fdf0664a8e4f
2018-01-26 12:50:07 +01:00
Mike Hommey
9d3a568f03 Bug 1433033 - Make APT retry when it fails to download files. r=dustin
We've observed apt failures multiple times where it apparently fails to
get a file in full from snapshot.debian.org. Making it retry
automatically rather than retriggering tasks seems better.

--HG--
extra : rebase_source : f3ffb415ccc30b7e7c44e6a48b29eb20e69efdd5
2018-01-26 12:40:26 +09:00
Mike Hommey
3ab004d966 Bug 1433033 - Derive the android-build image from a base Debian stretch image. r=dustin
--HG--
extra : rebase_source : 8be13be0a0c3979f6596514f62765a9b741fd8f7
2018-01-25 22:31:48 +09:00
Mike Hommey
ae1ce5d571 Bug 1433033 - Workarounds for Debian stretch. r=dustin
The apt in Debian stretch doesn't allow repositories with a Release file
not being GPG signed. Setting up GPG signatures on the
taskcluster-artifact-based repositories is a tricky process, and not
strictly necessary. It turns out not creating a Release file at all
works just as well, and works across all current Debian versions. The
packages priorities remain the same, such that packages from those
repositories are still prefered over the ones from the main Debian
repository (as long as versions are higher).

See comment in cloud-mirror-workaround.sh for that part.

--HG--
extra : rebase_source : df5af330859a314285a6c1922d899489997d2f19
2018-01-25 22:26:06 +09:00
Mike Hommey
220ae81745 Bug 1433033 - Create a mercurial package for Debian stretch. r=dustin
--HG--
extra : rebase_source : 6408957ddc6acf671c7fa190ec156e347124f588
2018-01-25 22:23:15 +09:00
Mike Hommey
db4394b257 Bug 1433033 - Create a base Debian docker image. r=dustin
That image is used to derive all the debian7-* images, and its
definition is parametrized, which will allow to create other images
based on other versions of Debian, from the same definition.

XZ_OPT is kept in each of those because we don't want to automatically
set it in all further derived images.

--HG--
extra : rebase_source : 7f4597c1ea4af83627a9373dbdc7945d20b7d996
2018-01-25 22:15:19 +09:00
Mike Hommey
3972032498 Bug 1433033 - Don't apt-get clean from Debian-based docker images. r=dustin
The base images from docker hub actually contain a
/etc/apt/apt.conf.d/docker-clean that does the equivalent of an apt-get
clean after installing packages.

--HG--
extra : rebase_source : 190de9e3b10a0309cf9cfb3260a91477a5a93ba3
2018-01-25 21:57:13 +09:00
Mike Hommey
04b424481d Bug 1433033 - Set apt defaults to avoid passing -q, -y and --no-install-recommends to it. r=dustin
--HG--
extra : rebase_source : 53c8f00ef24dc8757d8eb45d1a9e08da48539a7a
2018-01-25 22:09:56 +09:00
Mike Hommey
ce90eb437b Bug 1433033 - Set Acquire::Check-Valid-Until in apt config file rather than pass it on the command line. r=dustin
Also set it in the android-build image, which is Debian-snapshot-based too.

--HG--
extra : rebase_source : a64a0d6833c98025bfe287e197a9ef255b12a9bc
2018-01-25 15:24:05 +09:00
Mike Hommey
fd6008421c Bug 1433033 - Remove a few packages from the toolchain-build image. r=dustin
python-dev was required to build mercurial, but the need for that was
removed in bug 1429669.
The others were required for mingw32 toolchains, but they are using a
different docker image and will switch to another different docker image.

--HG--
extra : rebase_source : b65c586a325f220c565e79afb3d3c9acc9f922bc
2018-01-25 15:13:20 +09:00
Mark Banner
dd6c928ffd Bug 1433492 - Remove remaining instances of PlacesUtils.asyncHistory.isURIVisited being called directly. r=mak
MozReview-Commit-ID: B1sqEtJcq4L

--HG--
extra : rebase_source : 62a7c91e06f28712e9ba29a2e3ef73fa7dd9a0e1
2018-01-26 16:40:25 +00:00
Mark Banner
a73a6015a8 Bug 1433492 - Fix a missed callback to .then conversion causing RSS feeds to not show their read/unread status properly after a restart. r=mak
MozReview-Commit-ID: 3iG8JbyGJul

--HG--
extra : rebase_source : 2240904ed63bed5db93354bcc9dd255b0c2fc40c
2018-01-26 16:23:04 +00:00
Kartikaya Gupta
71c85d4c22 Bug 1432789 - Update webrender to 1d8157c71f88d5c673f5d084f02515ab74263814. r=jrmuizel
MozReview-Commit-ID: JakzOipPChe

--HG--
extra : rebase_source : 5f3db52bd59749bc79c0e5c530ae04ab19c03d1d
2018-01-26 15:54:36 -05:00
Chris Manchester
94906d6110 Bug 1432643 - Store gn gen output in the objdir per project. r=nalexander
MozReview-Commit-ID: 5yPGlwqfhho

--HG--
extra : rebase_source : 16b82d0d17347ec891089eefb5b9bfa07634a53b
2018-01-23 14:55:11 -08:00
Hiroyuki Ikezoe
471558b3c1 Bug 1433336 - Collect only documents which are observerd by IntersectionObserver in nsRefreshDriver::Tick(). r=smaug
We don't need to collect whole descendants documents.

This patch intentionally leaves animation events handling which is another
caller of CollectDocuments in nsRefreshDriver since the animation part will
be fixed in a different way in bug 1415780.

MozReview-Commit-ID: INAJm1NHLuI

--HG--
extra : rebase_source : 4e255cef604d4455d6efa5dc2ebddd5dc649ee65
2018-01-26 20:11:17 +09:00
Hiroyuki Ikezoe
911b60cb08 Bug 1433336 - Add nsIDocument::CollectDescendantDocument(). r=smaug
In contrast to nsIDocument::EnumerateSubDocuments(), this new function is
supposed to work with the callback function which does not mutate any state
in the document, and also this function checks all descendant documents even
if there is a descendant that the callback function returns false.

MozReview-Commit-ID: 4f6zD29qQD2

--HG--
extra : rebase_source : 221269fb08bb73d938a6019e1274b2236ee34264
2018-01-26 20:11:09 +09:00
Hiroyuki Ikezoe
47baed1a64 Bug 1433336 - Drop unused SubDocEnumArgs in nsDocument.cpp. r=smaug
MozReview-Commit-ID: HuVOdxGZIuN

--HG--
extra : rebase_source : c5709c71a7ac6d2d4e174b4806294d0928c99197
2018-01-26 20:10:07 +09:00
Jon Leighton
dbd4f2f3f1 servo: Merge #19544 - Text selection API conformance (from jonleighton:issue-19171-5); r=nox
This is my next batch of changes for issue #19171. All the tests in tests/wpt/metadata/html/semantics/forms/textfieldselection/ are now passing (and also some tests outside of there).

I've made detailed notes about the changes in each commit message.

r? @KiChjang

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6321a59ea353cb0f8196c63a1e2644ee8171a584
2018-01-26 13:58:01 -06:00
Emilio Cobos Álvarez
74425c36d7 Bug 1431855: Flush notifications via the document in SVGDocumentWrapper. r=dholbert
MozReview-Commit-ID: BMmhvqFE7O7

--HG--
extra : rebase_source : 516aaaae3b9b6de9e72d2fc724b08385ae09e4e7
2018-01-19 23:51:30 +01:00
Noemi Erli
52ab84dbf1 Backed out 4 changesets (bug 1381645) for failing in dom/tests/mochitest/general/test_interfaces.html on a CLOSED TREE
Backed out changeset 7b2482a5eb04 (bug 1381645)
Backed out changeset ef3252b0ba21 (bug 1381645)
Backed out changeset 7c022a5e28f2 (bug 1381645)
Backed out changeset 2f71c8989cc0 (bug 1381645)
2018-01-24 20:04:34 +02:00
David Keeler
0375f07548 bug 1432923 - fix a leak in some TransportTests r=drno
Before this patch, TransportTest::Reset would assign to p1_ and p2_ without
releasing their resources first. Since they're not RAII types, they would just
leak. This fixes the leak by a) explicitly initializing them to nullptr in the
constructor and b) deleting them if they previously had a non-null value.

MozReview-Commit-ID: 20U6sqRWg06

--HG--
extra : rebase_source : e304c7636a9b31df53d3ff0e8d7e0042f7e82494
2018-01-25 16:56:56 -08:00
David Keeler
7840435138 bug 1431791 - remove "Others" tab from certificate manager r=jaws,mgoodwin
MozReview-Commit-ID: HUPkIAMhNEX

--HG--
extra : rebase_source : a737297d8cb8800b03532d62b39e85711d6f0663
2018-01-19 13:09:22 -08:00
Josh Matthews
cf332b3975 servo: Merge #18726 - Add script to automate pulling changes from upstream WPT (from jdm:automate-wpt-sync); r=asajeffrey
I want to make automated WPT syncing happen this quarter. This script should allow us to run a nightly job on the builder that grabs the latest changes from upstream runs our testsuite, updates the expected test results, then open a PR with the changes. It still requires saltfs changes to allow it to actually run, but I don't see any harm in getting it reviewed and merged before everything is ready.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 21ffe7b18cf46b8811793fa78c685973c238f7b9
2018-01-26 12:58:50 -06:00
Thom Chiovoloni
6321345295 Bug 1429250 - Avoid repeated traversals of toFetch in _processIncoming. r=eoger,kitcambridge
MozReview-Commit-ID: N1Zr8iT7da

--HG--
extra : rebase_source : ddaa51704c93985219d15b31aec7ff7e19b2832f
2018-01-09 19:22:33 -05:00
Kearwood "Kip" Gilbert
c6289726c7 Bug 1381645 - Part 4: Update web-platform tests expectation data for WebVR r=jgraham
The testing/web-platform/tests/webvr/idlharness.html web-platform test is
reporting failures due to the webvr interfaces being available only on secure
contexts.

A PR has been added to the upstream web-platform-tests repo in GitHub to
make webvr/idlharness.html run in a secure context.  Once this change has
landed and been pulled down, we can update the expectation data to expect
these tests to pass once again.

MozReview-Commit-ID: Gar9MHUFEHr

--HG--
extra : rebase_source : 2776b52c02abaa2522f992739d5c8febbe368b5d
2018-01-24 14:18:47 -08:00
Kearwood "Kip" Gilbert
6ec807f80d Bug 1381645 - Part 3: Update test_interfaces.js to expect WebVR interfaces to be enabled only in secure contexts r=bz
MozReview-Commit-ID: 3jyxWRi8BIv

--HG--
extra : rebase_source : 87f00b098a52207749ca0400a53d904520a0eb0a
2017-12-18 13:09:52 -08:00
Kearwood "Kip" Gilbert
6613a4b93e Bug 1381645 - Part 2: Move VR tests to secure context r=daoshengmu
MozReview-Commit-ID: CTDnXHBuaLU

--HG--
extra : rebase_source : a5be58d0cf10c2b4d7cbda95174793439af3fc5b
2017-12-15 10:22:11 -06:00
Kearwood "Kip" Gilbert
3bd56e31c6 Bug 1381645 - Restrict access to WebVR to HTTPS only sites r=daoshengmu,smaug
MozReview-Commit-ID: BsqUzSH55nN

--HG--
extra : rebase_source : 054eca4ee6fb28c32534aa46d925beb49670899b
2017-11-22 15:57:23 -08:00
abhinav
6bb0cfd19c Bug 1431306 - Return the MDN status list URL in getHTTPStatusCodeURL when statusCode does not have a dedicated page; r=nchevobbe
MozReview-Commit-ID: 5FWYgChM5le

--HG--
extra : rebase_source : a23168b7f92c5de6b717b1ce2a3e8ff540943c0a
2018-01-20 23:31:44 +05:30
Botond Ballo
de0cdedea7 Bug 1432919 - Configure generated eclipse projects to remove trailing whitespace in edited lines. r=jwatt
MozReview-Commit-ID: 6naw8sbWqKT

--HG--
extra : rebase_source : 435e24fd33e51fcf84ac8ad64a63c59a7827907b
2018-01-24 19:03:33 -05:00
Mark Banner
d40ab69bb9 Bug 801391 - Set clickSelectsAll depending on the preference for the Bookmarks Library search box. r=mak
MozReview-Commit-ID: 3IhkODtMpr7

--HG--
extra : rebase_source : a84082e456b3b31d4b7729e44a624552a5641640
2018-01-26 14:46:30 +00:00
Markus Stange
f869de0149 Bug 1431184 - Register DOM Worker threads with the profiler for their entire lifetime, not just for the ranges during which they're running a worker script. r=froydnj
Our Web Worker code uses a thread pool where a single OS thread can be reused
for different worker scripts during its lifetime. Before this patch, we only
registered these threads with the profiler for the duration that they're
running a worker script. So the same OS thread could be registered with the
profiler during multiple disjoint time ranges, and we would expect the profiler
to treat those different registrations as different conceptual threads.

This had multiple advantages:
 - The "thread name" of the conceptual thread can include the script URL:
   "DOM Worker <scriptURL>". This allowed you to create thread filter which
   match a part of the URL, so you had the option of profiling just the worker
   threads you were interested in.
 - We wouldn't waste time sampling a worker thread while it's idle and has no
   script.

But it also had disadvantages:
 - The profiler platform doesn't actually know how to deal with different
   "conceptual threads" that share the same OS thread. This lead to surprising
   breakage in different places. For example, the contents in the profiler
   buffer are marked with ThreadId entries which use the OS thread id.
 - What we show in the profiler UI didn't not match reality, and might be
   confusing to some people.

I don't think the advantages are large enough to warrant teaching the rest of
the profiler platform to deal with conceptual threads. So this change makes us
stop doing the special thing and just register the OS threads for their entire
duration.

MozReview-Commit-ID: 82RtlRlwy3Y

--HG--
extra : rebase_source : 101e144f17718ea8f05e8bef8200b8ed41ee854e
2018-01-24 18:20:27 -05:00
Zibi Braniecki
4bdf6bf95e Bug 1428698 - Align intl::locale::Locale with BCP47. r=jfkthame
MozReview-Commit-ID: AT9MPppx99p

--HG--
extra : rebase_source : ef98f45c430822de0eb400d1256d61988e9cc1f9
2018-01-25 14:50:32 -08:00
Markus Stange
08c6b1b6c0 Bug 1431217 - Fix a typo that caused us to treat the parent process as shutting down when dumping the profile. r=mconley
MozReview-Commit-ID: IMk7VKMR6pE

--HG--
extra : rebase_source : 345ee1248236840a9c2d822b82f72d0b482cb8b4
2018-01-17 16:59:37 -05:00
Simon Sapin
6cdff30f6a servo: Merge #19876 - Build Stylo with Rust 1.23 (from servo:1.23); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1433185

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7456c2380bcdfaead1965f0134e6fb2e91027f19
2018-01-26 11:02:14 -06:00
Andreea Pavel
6aea5a60a2 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-26 19:50:43 +02:00
Andreea Pavel
38bddf549d Merge inbound to mozilla-central. a=merge 2018-01-26 19:48:13 +02:00
Shane Caraveo
7503529676 Bug 1430416 unset the findbar when discarding a browser tab, r=mikedeboer
MozReview-Commit-ID: B36n2uG6Qhk

--HG--
extra : rebase_source : 9b5268adb0d28fa571687d6ca678dda80955590c
2018-01-26 10:23:52 -07:00
Andreas Tolfsen
8b241b5e1e Bug 1433297 - Extend Element Clear test timeout. r=whimboo
Recent patches to this test has added a lot of new tests and
permutations of existing tests.  It is now considered a long test.

MozReview-Commit-ID: A8DCLFdAlgZ

--HG--
extra : rebase_source : f7a2bc6c4f3600cde1f30d603d3e6141e60a98c2
2018-01-26 16:22:31 +00:00
Andreea Pavel
1e5f9a6650 Backed out changeset 5421387a997d (bug 1345081)for failing browser chrome browser/components/extensions/test/browser/browser_ext_menus_events.js on a CLOSED TREE 2018-01-26 17:23:27 +02:00