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

2374 Коммитов

Автор SHA1 Сообщение Дата
Botond Ballo 52a4f25b4b Bug 1573014 - Early-exit ShrinkToDisplaySizeIfNeeded() in reader mode. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D42967

--HG--
extra : moz-landing-system : lando
2019-08-21 23:33:14 +00:00
Botond Ballo 9d1532ac71 Bug 1575093 - Ensure initial-scale in a meta viewport tag is respected. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D42949

--HG--
extra : moz-landing-system : lando
2019-08-21 22:00:43 +00:00
Botond Ballo 629b3580ff Bug 1565525 - Modify MatrixMessage to carry a Maybe<Matrix>, so that a transform can be cleared by sending Nothing. r=hsivonen
Depends on D42564

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

--HG--
extra : moz-landing-system : lando
2019-08-20 06:37:05 +00:00
Olli Pettay 26c09ef05a Bug 1574223, make touchstart/move passive by default also when using event handlers, not only event listeners, r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D42235

--HG--
extra : moz-landing-system : lando
2019-08-16 15:18:46 +00:00
Nicholas Nethercote b55ea25941 Bug 1572633 - Remove apz.overscroll.spring_{stiffness,friction}. r=botond
They are unused.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 07:28:08 +00:00
Nicholas Nethercote bcfea34a74 Bug 1573720 - Convert ui.touch_activation.duration_ms to a static pref. r=botond
The commit also adds a missing StaticPrefs_dom.h include for APZEventState.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 05:30:23 +00:00
Nicholas Nethercote cb6862ab2c Bug 1573720 - Convert ui.touch_activation.delay_ms to a static pref. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D41914

--HG--
extra : moz-landing-system : lando
2019-08-15 05:30:09 +00:00
Hiroyuki Ikezoe a2a3c33989 Bug 1508177 - Expand the minimum scale height even if the expanded area doesn't contain any contents. r=botond
As a result of the expansion, position:fixed elements are attached to the
expanded layout viewport.

The expanded value is used behind a pref which is enabled by default on nightly
initially, and the pref will be fliped in bug 1571599 on other channels.

scrollbars-in-landscape-content.html still fails since the vertical overlay
scrollbar doesn't appear since we are not yet using the expanded value during
reflow to tell whether we need overlay scrollbars or not.  This will be fixed
by the next commit.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:37:57 +00:00
Botond Ballo 2a775ad1a8 Bug 1523844 Part 5: Add a test case to TestMobileViewportManager. r=bradwerth
Depends on D41104

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

--HG--
extra : moz-landing-system : lando
2019-08-12 22:13:38 +00:00
Brad Werth c9e9805838 Bug 1523844 Part 2: Make MVMContext::SetResolutionAndScaleTo accept a ResolutionChangeOrigin. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D41631

--HG--
extra : moz-landing-system : lando
2019-08-12 22:22:12 +00:00
John Dai d87ca191bd Bug 1557486 - Fix browser_test_group_fission.js to register the FissionTestHelper:Init event directly; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D41545

--HG--
extra : moz-landing-system : lando
2019-08-12 15:59:55 +00:00
Sylvestre Ledru 645f2d5773 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-08-13 07:15:25 +00:00
Botond Ballo 84e43ba944 Bug 1528775 - Disable immediate handoff on all platforms. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D41434

--HG--
extra : moz-landing-system : lando
2019-08-09 19:45:57 +00:00
Botond Ballo 3561a852a5 Bug 1563717 - Mark pinch-zoom-position-sticky.html as failing on webrender. r=tnikkel
WebRender handling of position:sticky is buggy in the presence of zooming.
The fix for bug 1563717 exposes this bug in pinch-zoom-position-sticky.html.

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

--HG--
extra : moz-landing-system : lando
2019-07-27 02:31:37 +00:00
Nicholas Nethercote 18fae65f38 Bug 1563139 - Remove StaticPrefs.h. r=glandium
This requires replacing inclusions of it with inclusions of more specific prefs
files.

The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.

Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 01:10:23 +00:00
Nicholas Nethercote d8d32dfe97 Bug 1563139 - Update comments mentioning StaticPrefs.h. r=glandium
StaticPrefs.h will be removed two commits from now, so update these comments.

The patch removes the comment above SetUsesContainerScrolling() because it's
wrong -- it did use static prefs when introduced by bug 1181832 but then
stopped using static prefs in bug 1470504 -- and makes it inlinable.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 04:08:23 +00:00
Nicholas Nethercote cbaaacf6ae Bug 1563139 - Remove StaticPref{s,List}_accessibility.h. r=glandium
These files exist because they were the proof-of-concept first step for
splitting the static prefs header files. Now that those header files can be
generated from a script, we need to move the `accessibility.*` prefs into the
YAML file.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 04:08:14 +00:00
Alexis Beingessner bb09834391 Bug 1547351 - Automatically set content process render root r=kats
This implements the idea of automatically setting a content proc's
render root based on the render root enclosing the iframe that
points to it. There was a bit of cleanup in here that was a bit
tricky to extract from the core patch revolving around how we
use the Api(...) helper. This was to avoid the situation where
we use the Api(...) helper before our render root is initialized,
when we don't actually have to. I.e., when we just want the root
WebRenderAPI in all cases.

An alternative to this approach could be to fully built out the
WebRender transactions and just queue those up to be sent. However,
transaction building has various side effects which are committed
before the transaction is actually sent, so we would have to build
out some scheme for deferring those as well. This seemed simpler.

Patch primarily written by :dthayer

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

--HG--
extra : moz-landing-system : lando
2019-07-24 14:10:56 +00:00
Nicholas Nethercote 7974362afd Bug 1567329 - Append `_AtStartup` to `once` static pref getters. r=erahm
Currently it's completely unclear at use sites that the getters for `once`
static prefs return the pref value from startup, rather than the current pref
value. (Bugs have been caused by this.) This commit improves things by changing
the getter name to make it clear that the pref value obtained is from startup.

This required changing things within libpref so it distinguishes between the
"base id" (`foo_bar`) and the "full id" (`foo_bar` or
`foo_bar_DoNotUseDirectly` or `foo_bar_AtStartup` or
`foo_bar_AtStartup_DoNotUseDirectly`; the name used depends on the `mirror` and
`do_not_use_directly` values in the YAML definition.) The "full id" is used in
most places, while the "base id" is used for the `GetPrefName_*` and
`GetPrefDefault_*` functions.

(This is a nice demonstration of the benefits of the YAML file, BTW. Making
this change with the old code would have involved adding an entry to every
single pref in StaticPrefList.h.)

The patch also rejigs the comment at the top of StaticPrefList.yaml, to clarify
some things.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 02:10:14 +00:00
Kartikaya Gupta c4f1f8d59a Bug 1563622 - Miscellaneous useful logging. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D38241

--HG--
extra : moz-landing-system : lando
2019-07-19 16:27:23 +00:00
Kartikaya Gupta f4bc456b75 Bug 1563622 - Add a fission subtest to exercise the force-dispatch-to-content flag. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D38240

--HG--
extra : moz-landing-system : lando
2019-07-19 16:30:47 +00:00
Kartikaya Gupta 9aba740b9f Bug 1563622 - Allow adding additional properties per fission subtest. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D38239

--HG--
extra : moz-landing-system : lando
2019-07-19 16:27:05 +00:00
Kartikaya Gupta a03a2dc866 Bug 1563622 - Check the ftdc flag when hit-testing with WR. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D37314

--HG--
extra : moz-landing-system : lando
2019-07-19 16:30:25 +00:00
Nicholas Nethercote 70de90ef56 Bug 1564724 - Tweak StaticPrefList.h. r=glandium
Minor things to ease the transition to StaticPrefList.yaml.

- Rename apz_touch_drag_enabled() to the correct apz_drag_touch_enabled(), and
  media_mwf_low_latency_force_disabled() to the correct
  media_wmf_low_latency_force_disabled().

- Change some trailing C-style comments to C++-style comments. This makes life
  easier for the script I wrote to convert StaticPrefList.h to
  StaticPrefList.yaml, which will be used for the next patch.

- Avoid comments on #define lines, because they aren't handled in the YAML
  input.

- Convert a multi-line `#if` condition to a single line, because
  Preprocessor.py doesn't handle multi-line conditions.

- Remove one unnecessary `#undef PREF_VALUE` directive.

- Move intl.charset.detector.iso2022jp.allowed to the correct section, so the
  YAML processing script won't complain.

- Change an `int` pref to `int32_t`, again so the YAML processing script won't
  complain.

- Change OS_OPENBSD to XP_OPENBSD, because the former isn't defined for
  preprocessor.py. (It's also only defined in C/C++ when chromium-config.h is
  included, which isn't always the case.)

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

--HG--
extra : moz-landing-system : lando
2019-07-17 22:36:35 +00:00
Kartikaya Gupta fb5a3200bf Bug 1565670 - Wait for a couple of rAF calls before declaring OOPIFs ready for testing. r=botond
This should ensure that the OOPIF gets painted and attached to the
compositor layer tree before the main part of the test starts. We might
be able to do something more sophisticated like waitForAllPaints or
flushApzRepaints, but it's not trivial because this page loads with an
example.com domain and can't easily access SpecialPowers.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 12:41:16 +00:00
Kartikaya Gupta 33f7e1f971 Bug 1455718 - Use is instead of ok so we get the actual value of scrollY on failure. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D38100

--HG--
extra : moz-landing-system : lando
2019-07-15 17:56:53 +00:00
Andreea Pavel 6665820f48 Backed out 3 changesets (bug 1547351) for assertion failures on a CLOSED TREE
Backed out changeset 77ef8e8bc669 (bug 1547351)
Backed out changeset b594f8e47025 (bug 1547351)
Backed out changeset 6e5d426cd313 (bug 1547351)
2019-07-15 17:47:40 +03:00
Alexis Beingessner 81f39dd2b0 Bug 1547351 - Automatically set content process render root r=kats
This implements the idea of automatically setting a content proc's
render root based on the render root enclosing the iframe that
points to it. There was a bit of cleanup in here that was a bit
tricky to extract from the core patch revolving around how we
use the Api(...) helper. This was to avoid the situation where
we use the Api(...) helper before our render root is initialized,
when we don't actually have to. I.e., when we just want the root
WebRenderAPI in all cases.

An alternative to this approach could be to fully built out the
WebRender transactions and just queue those up to be sent. However,
transaction building has various side effects which are committed
before the transaction is actually sent, so we would have to build
out some scheme for deferring those as well. This seemed simpler.

Patch primarily written by :dthayer

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

--HG--
extra : moz-landing-system : lando
2019-07-15 13:18:44 +00:00
Kartikaya Gupta 460150b36f Bug 1563541 - Force a paint before reading the APZ test data. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D37983

--HG--
extra : moz-landing-system : lando
2019-07-15 06:39:09 +00:00
Kartikaya Gupta 21482b7733 Bug 1562351 - Do the scrollbar drag in one shot to avoid intermittent failures. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D37981

--HG--
extra : moz-landing-system : lando
2019-07-15 06:44:12 +00:00
Kartikaya Gupta 99d5d84df8 Bug 1560312 - Run fission tests without WR as well. r=botond
This also disables the test on Windows 7 because the newly enabled subtests
fail intermittently there. We don't care so much about Windows 7 these days,
and I don't have a local setup to reproduce it, so I didn't investigate the
failure.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 17:13:04 +00:00
Jeff Gilbert a4edc05171 No bug - clang-format dom/canvas, gfx/[gl,layers,webrender_bindings]. 2019-07-11 15:36:44 -07:00
Kartikaya Gupta 3b899521fe Bug 1564919 - Fix and re-enable test_group_touchevents-3.html on GeckoView. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D37616

--HG--
extra : moz-landing-system : lando
2019-07-10 19:54:20 +00:00
Cosmin Sabou 4b4656bd47 Merge autoland to mozilla-central. a=merge 2019-07-11 07:02:15 +03:00
arthur.iakab de10ead929 Merge autoland to mozilla-central. a=merge 2019-07-11 00:49:58 +03:00
Kartikaya Gupta bc26232cbc Bug 1563178 - Properly manage the renderRoot variable during the APZ tree walk. r=botond
The APZ tree walk is recursive but the render root was not being updated when
walking up out of a subtree with a different render root. This changes the
code to use a stack and push/pop the render root for subtrees as we enter
and exit the subtrees as part of the tree walk.

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

--HG--
extra : moz-landing-system : lando
2019-07-10 19:54:08 +00:00
arthur.iakab 07744843fd Backed out changeset 40010303c474 (bug 1500465) on request of christina_ for causing OOM crashes in automation. a=backout 2019-07-10 22:14:41 +03:00
Kartikaya Gupta 97683b0ae0 Bug 1564209 - Add more paint/flushing logging for APZ mochitests. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D37420

--HG--
extra : moz-landing-system : lando
2019-07-10 15:46:39 +00:00
Christina Cheung ed9f06efec Bug 1500465 - Measure touch scroll latency and connect to telemetry. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D36246

--HG--
extra : moz-landing-system : lando
2019-07-09 20:55:15 +00:00
Nicholas Nethercote abf15f999d Bug 1560530 - Split StaticPrefs_accessibility.h from StaticPrefs.h. r=froydnj
This implements the machinery for the splitting of static prefs headers, and
uses it for a single header. #includes are used in such a way that the amount
of boilerplate for each static prefs header file is minimal.

Future patches will split the remaining prefs into more header files.

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

--HG--
rename : modules/libpref/StaticPrefs.h => modules/libpref/StaticPrefsBase.h
rename : modules/libpref/StaticPrefs.h => modules/libpref/init/StaticPrefListBegin.h
extra : moz-landing-system : lando
2019-07-08 23:40:39 +00:00
Brindusan Cristian 602d5f12fe Backed out the patch disabling the test, changeset 1f905d44de1c (bug 1516298) as requested by kats on the ticket. 2019-07-08 22:32:51 +03:00
Mihai Alexandru Michis b66ea3d7c7 Bug 1516298 - Disable test_group_touchevents.html for frequent failures on android r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D37252

--HG--
extra : moz-landing-system : lando
2019-07-08 13:44:44 +00:00
Sylvestre Ledru 131d0c6a02 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-07-06 08:18:28 +00:00
Victor Porof e974a88416 Bug 1561435 - Reposition comments in gfx/, r=kats
# ignore-this-changeset

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

--HG--
extra : source : 5916248cb30fcc3043885cac46672e1ac4233c6e
extra : intermediate-source : 90a97d97e45bdd105317ef4db9540d97dfa15ac1
2019-06-26 16:02:07 +02:00
Victor Porof 85064fe4c3 Bug 1561435 - Format gfx/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 00faaa954cecb534fa97f4e87de61635c8c526bc
2019-07-05 10:46:28 +02:00
Kartikaya Gupta ec2096ed3f Bug 1525314 - Update reftest annotations for WebRender on GeckoView. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D36798

--HG--
extra : moz-landing-system : lando
2019-07-04 21:57:48 +00:00
Razvan Maries daed363fd7 Merge mozilla-inbound to mozilla-central a=merge 2019-07-05 00:40:17 +03:00
Hiroyuki Ikezoe c9de23aa09 Bug 1562757 - Call ScrollToVisual for the pres shell of the given scrollable frame in ScrollToShowRect. r=botond
We should also check IsRootContentDocumentCrossProcess instead of
IsRootContentDocument there, it will be fixed in bug 1562505.

The test case in this commit is almost copied-n-pasted from
helper_scroll_into_view_bug1516056.html.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 08:48:47 +00:00
Narcis Beleuzu 7f1d384198 Backed out changeset 9554ac45236f (bug 1528937) for bc failures on helper_fission_tap.html . CLOSED TREE 2019-07-04 01:10:55 +03:00
Henri Sivonen 338d2f1b30 Bug 1528937 - Test that taps are transformed correctly for out-of-process iframes. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D36743

--HG--
extra : moz-landing-system : lando
2019-07-03 18:05:39 +00:00