Commit Graph

614053 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
670b9b1d28 Bug 1478505 - Rename GeckoInputDeviceListener to GeckoSystemStateListener. r=jchen
Because we are going to use it for prefers-reduced-motion media feature which
is tied to a system setting.

Differential Revision: https://phabricator.services.mozilla.com/D5502

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoInputDeviceListener.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoSystemStateListener.java
rename : widget/android/GeckoInputDeviceListener.h => widget/android/GeckoSystemStateListener.h
extra : moz-landing-system : lando
2018-09-15 10:03:29 +00:00
Dorel Luca
e3d505cb98 Merge mozilla-central to autoland 2018-09-15 12:48:28 +03:00
Dorel Luca
7a91966c10 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-15 12:46:59 +03:00
Dorel Luca
f181bb6bf8 Merge autoland to mozilla-central. a=merge 2018-09-15 12:41:51 +03:00
Gijs Kruitbosch
659898b84e Bug 1488822 - propagate allowScriptsToClose via the frameloader instead of relying on frame scripts, r=mconley,kmag,nika
Differential Revision: https://phabricator.services.mozilla.com/D5775

--HG--
extra : moz-landing-system : lando
2018-09-15 08:26:33 +00:00
Bobby Holley
9942d41fd9 Bug 1491478 - Properly attribute the memory report when using the GPU process. r=mstange
MozReview-Commit-ID: Db9mz5jQKwG
2018-09-14 22:04:38 -07:00
Bobby Holley
45da216271 Bug 1491478 - Don't collect WR memory reports when it's not enabled. r=mstange
MozReview-Commit-ID: Ek2bgg2D3Bq
2018-09-14 22:04:23 -07:00
Bobby Holley
1909109298 Bug 1491478 - Move WebRender memory reporting back to gfxPlatform. r=me
This is how things looked when jrmuizel reviewed them.

MozReview-Commit-ID: Gqp1tcNzsjC
2018-09-14 22:03:49 -07:00
Mike Hommey
61e6bceefa Bug 1490549 - Fix some comments r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5916

--HG--
extra : moz-landing-system : lando
2018-09-15 01:14:29 +00:00
Hiroyuki Ikezoe
5f958f80c7 Bug 1486971 - Test for dynamically change of the prefers-reduced-motion setting on MacOSX. r=froydnj,mstange
The framework to simulate the setting change works as following;

 - nsIDOMWindowUtils.setPrefersReducedMotion() calls an IPC function which ends
   up calling nsChildView::SetPrefersReducedMotion() in the parent process

 - nsChildView::SetPrefersReducedMotion() sets the given value into
   nsLookAndFeel::mPrefersReducedMotionCached just like we set the value queried
   via NSWorkspace.accessibilityDisplayShouldReduceMotion in the parent process
   and send a notification which is the same notification MacOSX sends when the
   system setting changed

 - Normally the cached value is cleared before quering new values since the
   cache value is stale, but in this case the value is up-to-date one, so
   nsChildView::SetPrefersReducedMotion() tells that we don't need to clear the
   cache, and nsIDOMWindowUtils.resetPrefersReducedMotion() resets that state
   of 'we don't need to clear the cache'

There are two test cases with the framework in this commit, one is just setting
the value and checking the value queried by window.matchMedia.  The other one is
receiving 'change' event and checking the value of the event target.

Note that to make this test works the patch for bug 1478212 is necessary since
the test runs in an iframe.

Depends on D5003

Differential Revision: https://phabricator.services.mozilla.com/D5004

--HG--
extra : moz-landing-system : lando
2018-09-15 01:00:07 +00:00
Hiroyuki Ikezoe
1683335036 Bug 1486971 - Query NSWorkspace.accessibilityDisplayShouldReduceMotion only if it's on parent processes or it's the initial query on child processes. r=mstange
In child processes on MacOSX we don't spin native event loop at all.
Without native event loops NSWorkspace.accessibilityDisplayShouldReduceMotion
doesn't return up-to-date value when the system setting changed for some reasons.
To workaround this we use NSWorkspace.accessibilityDisplayShouldReduceMotion
only on the parent process which spins native event loop or when it's the
initial query on the child process.  And we give the up-to-date value to the
child process via an IPC call just like other cached values do.

Depends on D5002

Differential Revision: https://phabricator.services.mozilla.com/D5003

--HG--
extra : moz-landing-system : lando
2018-09-15 00:59:54 +00:00
Hiroyuki Ikezoe
04128e57a7 Bug 1486971 - Receive accessibilityDisplayShouldReduceMotion change and notify it. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5002

--HG--
extra : moz-landing-system : lando
2018-09-15 00:59:41 +00:00
Xidorn Quan
8327aa1e34 Bug 1188256 part 7 - Have Element.requestFullscreen return a Promise. r=smaug
Depends on D5858

Differential Revision: https://phabricator.services.mozilla.com/D5853

--HG--
extra : moz-landing-system : lando
2018-09-14 22:44:21 +00:00
Xidorn Quan
1ee5079242 Bug 1188256 part 6 - Expose PromiseDebugging to plain mochitest via SpecialPowers. r=bzbarsky
Depends on D5852

Differential Revision: https://phabricator.services.mozilla.com/D5858

--HG--
extra : moz-landing-system : lando
2018-09-14 22:43:54 +00:00
Xidorn Quan
d78346013f Bug 1188256 part 5 - Have nsIDocument::ApplyFullscreen take the ownership of FullscreenRequest. r=smaug
To make it clear that ApplyFullscreen is one of the places where
fullscreen requests are consumed.

Depends on D5851

Differential Revision: https://phabricator.services.mozilla.com/D5852

--HG--
extra : moz-landing-system : lando
2018-09-14 22:43:34 +00:00
Bogdan Tara
95d66a25a3 Merge autoland to mozilla-central. a=merge 2018-09-15 00:47:21 +03:00
Xidorn Quan
ddbf5f6f54 Bug 1188256 part 4 - Move fullscreenerror dispatching into FullscreenRequest. r=smaug
Depends on D5850

Differential Revision: https://phabricator.services.mozilla.com/D5851

--HG--
extra : moz-landing-system : lando
2018-09-14 19:07:10 +00:00
Xidorn Quan
ac8353b620 Bug 1188256 part 3 - Remove Get-prefix for the getter methods of FullscreenRequest to reflect that they are not nullable. r=smaug
Depends on D5848

Differential Revision: https://phabricator.services.mozilla.com/D5850

--HG--
extra : moz-landing-system : lando
2018-09-14 19:03:06 +00:00
Xidorn Quan
1cb11a93d6 Bug 1188256 part 2 - Make constructor of FullscreenRequest private and use create functions for building the object. r=smaug
This is done so that we can encapsulate more logic in this struct in following commits.

Depends on D5847

Differential Revision: https://phabricator.services.mozilla.com/D5848

--HG--
extra : moz-landing-system : lando
2018-09-14 19:01:33 +00:00
Gregory Mierzwinski
6bb72e3c1c Bug 1491390 - When searching for baseline coverage tests, only look at the test name. r=jmaher
This patch fixes an issue where a suite was being found in the full path to the test which led to the baseline coverage tests being considered on a per-suite basis (like browser-chrome), when it should be on a per-file-extension basis for '.html' files. This is fixed by only considering the test name and excluding the full path to it.

Differential Revision: https://phabricator.services.mozilla.com/D5890

--HG--
extra : moz-landing-system : lando
2018-09-14 18:57:16 +00:00
Xidorn Quan
740ca1c8f3 Bug 1188256 part 1 - Move FullscreenRequest into a separate header and inline its methods. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D5847

--HG--
extra : moz-landing-system : lando
2018-09-14 18:57:08 +00:00
Zibi Braniecki
48f80b7f64 Bug 1305705 - Don`t unregister langpacks on shutdown. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D5909

--HG--
extra : moz-landing-system : lando
2018-09-14 22:37:25 +00:00
Jeff Muizelaar
3a0d8a821d Bug 1491141. Don't include old Tesla devices in webrender.qualified r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5805

--HG--
extra : moz-landing-system : lando
2018-09-14 22:35:34 +00:00
Jed Davis
020b1f5581 Bug 1488993 - Fix PreallocatedProcessManager blocker handling r=mconley
This makes sure to release blockers (so that content process
preallocation can resume) in error cases, and stops making preallocated
processes themselves blockers, because it's unnecessary (we don't
currently support multiple preallocated processes) and not doing it
means not having to handle those error cases as well.

(Also, in the future we might want to allow the possibility of multiple
concurrent launches if the hardware can support it with acceptable
performance.)

Differential Revision: https://phabricator.services.mozilla.com/D5725

--HG--
extra : moz-landing-system : lando
2018-09-14 21:57:57 +00:00
Brian Grinstead
a2db8cd913 Bug 1411707 - Switch findbar and findbar-textbox from XBL bindings into a Custom Element;r=paolo
MozReview-Commit-ID: F95i9H9FvYv

Differential Revision: https://phabricator.services.mozilla.com/D5596

--HG--
rename : toolkit/content/widgets/findbar.xml => toolkit/content/widgets/findbar.js
extra : moz-landing-system : lando
2018-09-14 18:30:31 +00:00
Dão Gottwald
6a1c6379e6 Bug 1411707 - Load findBar.css as a document stylesheet;r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D5776

--HG--
extra : moz-landing-system : lando
2018-09-14 18:30:29 +00:00
Brian Grinstead
fbadd312b2 Bug 1411707 - Convert findbar.dtd to findbar.ftl;r=flod
This will be used when we migrate away from XBL and to a Custom Element
in the following changesets.

Differential Revision: https://phabricator.services.mozilla.com/D5598

--HG--
extra : moz-landing-system : lando
2018-09-14 18:29:51 +00:00
Gurzau Raul
f4cb8a59ba Backed out changeset 6f6886c89554 (bug 1481819) for failing at url-classifier/tests/mochitest/test_classified_annotations.html 2018-09-14 21:49:04 +03:00
Mike Hommey
781024c859 Bug 1491233 - Enable LTO in mac devedition mozconfig r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5845

--HG--
extra : moz-landing-system : lando
2018-09-14 17:41:25 +00:00
Dustin J. Mitchell
58295938eb Bug 1491307: make retrigger-mochitest its own action r=tomprince a=mochitest-retrigger-fix
Even with no options, this is not a simple retrigger -- it adds voluminous
debug output.  So let's keep it as a custom action.

Differential Revision: https://phabricator.services.mozilla.com/D5879

--HG--
extra : source : 841dccc8771929583260a968a97910adad8c4a6b
extra : amend_source : 38fe427071f9478716b161f72876385383cc20b6
2018-09-14 16:25:46 +00:00
Brindusan Cristian
3c03ceec40 Merge inbound to mozilla-central. a=merge 2018-09-14 18:27:47 +03:00
Brindusan Cristian
6238f17434 Merge autoland to mozilla-central. a=merge 2018-09-14 18:26:08 +03:00
shindli
0c0c6fddd8 Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout
--HG--
rename : taskcluster/docker/static-analysis-build/Dockerfile => taskcluster/docker/infer-build/Dockerfile
2018-09-14 16:35:23 +03:00
Mike Hommey
9f4a67977e Bug 1491140 - Count non-elfhacked relocations size when comparing to original size r=froydnj
When checking whether the new relocations sizes are going to be a win, we
need to account for the fact that there are non-elfhacked relocation
remaining.

Differential Revision: https://phabricator.services.mozilla.com/D5837

--HG--
extra : moz-landing-system : lando
2018-09-14 13:16:25 +00:00
Mike Hommey
682d2bd651 Bug 1491198 - Don't enable LTO on artifact builds r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5836

--HG--
extra : moz-landing-system : lando
2018-09-14 17:33:45 +00:00
Bogdan Tara
726c5b5e54 Backed out changeset 7351a4c8d1a1 (bug 1429181) for multiple payment-related failures CLOSED TREE 2018-09-15 00:58:48 +03:00
Mike Hommey
410b4939d9 Bug 1490549 - Make configure choose clang by default on all platforms r=froydnj
Now that we ship builds using clang on all platforms, pick it during
configure. It is still possible to opt-in to building other compilers by
setting CC/CXX (or even only CC) to the desired compiler.

Depends on D5829

Differential Revision: https://phabricator.services.mozilla.com/D5637

--HG--
extra : moz-landing-system : lando
2018-09-14 18:01:23 +00:00
Mike Hommey
1beed8c891 Bug 1490549 - Change how host compilers are found r=froydnj
Before this change, we'd derive a host compiler and handle things as if
HOST_CC/HOST_CXX had been passed. With this change, we change the list
of compilers that are tested with check_prog instead.

Depends on D5828

Differential Revision: https://phabricator.services.mozilla.com/D5829

--HG--
extra : moz-landing-system : lando
2018-09-14 17:40:52 +00:00
Mike Hommey
8e6dbef1d4 Bug 1490549 - Add some Windows-cross toolchain configure tests r=froydnj
While those builds are not fully supported yet, it's better to ensure
the coming changes to toolchain.configure won't break them.

Differential Revision: https://phabricator.services.mozilla.com/D5828

--HG--
extra : moz-landing-system : lando
2018-09-14 13:15:58 +00:00
Mike Hommey
25ca5a4da7 Bug 1490738 - Enable PGO via the environment in in-tree mozconfigs r=froydnj
Some mozconfigs actually rely on testing whether the variable is set or
not, which may or may not depending on the mozharness configuration,
and doesn't necessarily match what the mozconfigs do.

So in all mozconfigs that enable PGO, make them use an environment
rathen than ac_add_options.

Differential Revision: https://phabricator.services.mozilla.com/D5843

--HG--
extra : moz-landing-system : lando
2018-09-14 21:44:03 +00:00
Jed Davis
5fc0190dc0 Bug 1488994 - Stop waiting for channel construction in AsyncLaunch, and clean up launch methods r=mccr8,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D5724

--HG--
extra : moz-landing-system : lando
2018-09-14 17:26:49 +00:00
Jed Davis
775ab1e410 Bug 1478145 - Merge GeckoChildProcessHost::PerformAsyncLaunchInternal back into PerformAsyncLaunch r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D5723

--HG--
extra : moz-landing-system : lando
2018-09-14 17:28:38 +00:00
Rob Wood
b55f0c48d8 Bug 1491355 - Fix binary argument when running raptor on local geckoview android r=bc
Differential Revision: https://phabricator.services.mozilla.com/D5902

--HG--
extra : moz-landing-system : lando
2018-09-14 21:08:11 +00:00
championshuttler
3f49150d4c Bug 1471305 - Remove obsolete footerURL code. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D5795

--HG--
extra : moz-landing-system : lando
2018-09-14 20:39:31 +00:00
Sam Foster
3b20596ca5 Bug 1429181 - Consider supportedNetworks when determining if payment method is valid. r=MattN
* A new accepted-cards element to represent the labeled list of card icons
* Add the accepted cards section to the summary and card add/edit page
* mochitest for the accepted-cards element
* Make cc-type a required field and validate it against the list of supported networks
* Add verification of the pay button disabling when card network is not supported

Depends on D5823

Differential Revision: https://phabricator.services.mozilla.com/D5824

--HG--
extra : moz-landing-system : lando
2018-09-14 20:28:41 +00:00
Sam Foster
a3ee1b5ad2 Bug 1429181 - Fix serialization of payment method data. r=MattN
* Includes a workaround to explicitly cloneInto the paymentMethods data when we create the PaymentRequest object in the content window in tests.

MozReview-Commit-ID: LFy0h3fIXXA

Differential Revision: https://phabricator.services.mozilla.com/D5823

--HG--
extra : moz-landing-system : lando
2018-09-14 20:24:08 +00:00
Andrew McCreight
13f93a2390 Bug 1491417 - Fix typo in browser_popup_mouseover.js r=adw
Differential Revision: https://phabricator.services.mozilla.com/D5896

--HG--
extra : moz-landing-system : lando
2018-09-14 20:12:13 +00:00
David Major
2292c52f8f Bug 1491279: Backed out clang-cl workaround from bug 1479842 that is no longer needed. r=me 2018-09-14 08:30:56 -04:00
Andreas Tolfsen
60b3a322e3 bug 1491276: geckodriver: add communication options to docs; r=me 2018-09-14 13:00:51 +01:00
Andreas Tolfsen
d918bfbf63 bug 1491273: geckodriver: move docs on reporting good bugs; r=me
This is a follow-up from
https://bugzilla.mozilla.org/show_bug.cgi?id=1488443.
2018-09-14 12:57:17 +01:00