28757 Commits

Author SHA1 Message Date
Arshad Kazmi
22b28be272 Bug 1428707 - Move testing/mozbase/mozdebug/mozdebug/setup.cfg to testing/mozbase/mozdebug/setup.cfg r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D9987

--HG--
extra : moz-landing-system : lando
2018-11-02 17:56:57 +00:00
Ciure Andrei
051c97c574 Backed out 13 changesets (bug 1497898) for build bustages beacon-error.window.js CLOSED TREE
Backed out changeset 8ae5310b6412 (bug 1497898)
Backed out changeset c7e37bb6cf0c (bug 1497898)
Backed out changeset 7144fb498d61 (bug 1497898)
Backed out changeset 2d3c2a2938c4 (bug 1497898)
Backed out changeset 4f6a4937a2e2 (bug 1497898)
Backed out changeset cd31e38cc943 (bug 1497898)
Backed out changeset 8d205db77cb6 (bug 1497898)
Backed out changeset b17bb7f9ada2 (bug 1497898)
Backed out changeset 3601361c9ebb (bug 1497898)
Backed out changeset 37d7cb9fafd3 (bug 1497898)
Backed out changeset 4082767a2fbf (bug 1497898)
Backed out changeset 60bb960edc7a (bug 1497898)
Backed out changeset 61bb9426c2da (bug 1497898)
2018-11-02 19:52:15 +02:00
James Graham
25da1ff728 Bug 1497898 - Handle WindowsError trying to determine if git exists, r=ato
Depends on D8232

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

--HG--
extra : moz-landing-system : lando
2018-11-02 16:46:35 +00:00
James Graham
347f4f5b34 Bug 1497898 - Update gecko wpt manifest update to use caches, r=ato
Depends on D8231

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

--HG--
extra : moz-landing-system : lando
2018-11-02 17:12:40 +00:00
James Graham
06fdb881d4 Bug 1497898 - Update manifest before tests, r=ato
Depends on D8230

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

--HG--
extra : moz-landing-system : lando
2018-11-02 17:12:52 +00:00
James Graham
2c72d38ed9 Bug 1497898 - Pass the manifest file directly into wpttest.from_manifest, r=ato
Depends on D8229

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

--HG--
extra : moz-landing-system : lando
2018-11-02 17:12:59 +00:00
James Graham
731aa99317 Bug 1497898 - Fix the .gitignore rules, r=ato
Depends on D8228

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

--HG--
extra : moz-landing-system : lando
2018-11-02 17:13:07 +00:00
James Graham
0f732bdcc1 Bug 1497898 - Fix the cache lifecycle, r=ato
The caches weren't being invalidated when the manifest itself
changed. To fix this the manifest itself has to be written before the
cache and the cache has to include data about the manifest that it's
associated with (the mtime and path are used for this purpose).

To make all this work requires a single method that can load the
manifest, update it, write the manifest and write the
caches. Therefore we introduce a single load_and_update method that is
intended to replace all previous use of the load() or update() methods
(and as a bonus handles manifest version mismatches in a single
place).

Depends on D8227

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

--HG--
extra : moz-landing-system : lando
2018-11-02 17:13:19 +00:00
James Graham
10865a45d9 Bug 1497898 - Add a custom implementation of os.walk, r=ato
Compared to the normal os.walk this has a couple of differences:

* It returns lists of (name, stat) for filenames and directories,
  allowing callers to reuse the stat data without going back to the
  system to re-request it.

* Directories are always returned as paths relative to the root, and
  the root itself is returned as the empty string.

* It is non-recursive.

There are also a few features missing that aren't required for our use
cases.

Depends on D8226

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

--HG--
extra : moz-landing-system : lando
2018-11-02 17:13:31 +00:00
James Graham
038216573d Bug 1497898 - Add manifest caches for the mtime and gitignore rules, r=ato
When processing the manifest using the worktree, instead of reading
all files to see if the content changed, instead only process files where
the mtime has been updated since the previous run. Also cache the
result of running gitignore, so we can save a couple of seconds
processing the gitignore rules.

Depends on D8225

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

--HG--
extra : moz-landing-system : lando
2018-11-02 17:13:44 +00:00
James Graham
9674dfc1ad Bug 1497898 - Update the lint to the new gitignore API, r=ato
Depends on D8224

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

--HG--
extra : moz-landing-system : lando
2018-11-02 17:13:51 +00:00
James Graham
d273ec6723 Bug 1497898 - Update the gitignore implementation to work as an iterator filter, r=ato
This updates the gitignore implemenation to take input like os.walk
but with additional stat data for the files. It also makes several
useful optimistaions:

 * Avoid using regex when just matching a literal
 * Identify patterns that can only match the final component of a path
   and run those against that component rather than the full path.
 * Add the possibility of providing a dictionary of paths to gitignore
   statuses as a cache.

This dramatically reduces the amount of time we spend in gitignore
processing when updating the manifest.

Depends on D8223

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

--HG--
extra : moz-landing-system : lando
2018-11-02 17:13:59 +00:00
James Graham
cf2776ad83 Bug 1497898 - Allow the gitignore filter to work on name components only, r=ato
We end up with a lot of rules like (?:.*)/.*\.ext which are basically
trying to find the last component in a path and match against
that. These are rather slow to run so the easiest thing tdo is just
pass in the last component of the path when we know that's the only
thing the rule can match.

The changes to surrounding code to use this API will be made in future
commits.

Depends on D8222

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

--HG--
extra : moz-landing-system : lando
2018-11-02 17:14:11 +00:00
James Graham
e3fe4ae408 Bug 1497898 - Update the .gitignore file, r=ato
Depends on D8221

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

--HG--
extra : moz-landing-system : lando
2018-11-02 17:14:18 +00:00
Ahilya Sinha
2e99d4b721 Bug 1497898 - Use testfile mtimes to pre-filter files iterated over for the manifest update, r=ato
Differential Revision: https://phabricator.services.mozilla.com/D8221

--HG--
extra : moz-landing-system : lando
2018-11-02 17:12:32 +00:00
Ciure Andrei
ea4e67046a Backed out 8 changesets (bug 1502864) for failing test_capabilities.py CLOSED TREE
Backed out changeset 6e4454a6f3ee (bug 1502864)
Backed out changeset 3f7ca511af8c (bug 1502864)
Backed out changeset 9382a6630231 (bug 1502864)
Backed out changeset 1eb51f6b4ba0 (bug 1502864)
Backed out changeset 2fda41394085 (bug 1502864)
Backed out changeset 0b421dd8a7d5 (bug 1502864)
Backed out changeset 9caa2f0e2e38 (bug 1502864)
Backed out changeset 7616e25a07b3 (bug 1502864)
2018-11-02 19:14:52 +02:00
Andreas Tolfsen
3e749797be bug 1502864: marionette: enable strict file interactability in Python client; r=whimboo
Depends on D10275

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

--HG--
extra : moz-landing-system : lando
2018-11-02 15:57:44 +00:00
Andreas Tolfsen
4682953bdc bug 1502864: marionette: support strictFileInteractability; r=whimboo
This patch changes Marionette to only run the interactability test
on <input type=file> when the strictFileInteractability capability is set.

strictFileInteractability is not set by default which means
this changes WebDriver:SendElementKeys' behaviour to not run
interactability checks on <input type=file>.  This aligns our
WebDriver implementation with the current behaviour in Chrome.

To make it legible what the input to interaction.sendKeysToElement
is, its API has changed to take an options dictionary instead of
three boolean arguments at the end.

Depends on D10274

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:26:06 +00:00
Andreas Tolfsen
8c57572284 bug 1502864: geckodriver: support strictFileInteractability; r=jgraham
The strictFileInteractability capability is always supported by
geckodriver.

Depends on D10273

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:26:02 +00:00
Andreas Tolfsen
fa5f227504 bug 1502864: webdriver: add strictFileInteractability capability; r=jgraham
Depends on D10272

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:26:00 +00:00
Andreas Tolfsen
98f204fccf bug 1502864: webdriver: sort invalid_extensions list; r=jgraham
Depends on D10271

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:25:58 +00:00
Andreas Tolfsen
0ffc7eb823 bug 1502864: webdriver: add strictFileInteractability capability tests; r=jgraham
The new strictFileInteractabilityTests capability takes a boolean and
can unconditionally be set to both true and false.  It is permitted
to be undefined.

Depends on D10270

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:25:56 +00:00
Andreas Tolfsen
6a2b809769 bug 1502864: webdriver: add tests for hidden <input type=file>; r=jgraham,whimboo
The WebDriver standard changed
in https://github.com/w3c/webdriver/pull/1325 to align with
chromedriver's behaviour of permitting interaction with hidden
<input type=file> elements.

DOM elements can be hidden, i.e. not rendered, in two ways: through
applying the "hidden" DOM attribute or by setting the "display:
none" CSS style.

Depends on D10269

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:25:49 +00:00
Andreas Tolfsen
af1a87484e bug 1502864: webdriver: add tests for keyboard interactability for <input type=file>; r=jgraham
Normally all interactability tests are centralised in interactability.py,
but the WebDriver standard recently changed to apply a special
set of interactability checks specifically for <input type=file>.
These tests ensure the special code paths are invoked for form controls.

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:25:47 +00:00
Andreas Tolfsen
8b6ed20034 bug 1504223: marionette: stop duplicating capabilities in new session request; r=whimboo
As a backwards compatibility measure following bug 1388424 which
removed the ability to set the session ID, we duplicated the
capabilities dictionary in the request body.

Since this shipped through all the trees as part of Firefox 60,
we can now drop this compatibility measure.

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

--HG--
extra : moz-landing-system : lando
2018-11-02 15:15:37 +00:00
Andreas Tolfsen
ea1d6872f4 bug 1504174: marionette: delete unused test_window_fullscreen.py test; r=automatedtester
The test_window_fullscreen.py test is not run because it is not
part of the test manifest.  Since it is duplicated by WPT test,
we will not try to resurrect it by fixing the test.

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:08:11 +00:00
Rob Wood
6133912e19 Bug 1503999 - Enable e10s on the geckoview example app when running raptor; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D10715

--HG--
extra : moz-landing-system : lando
2018-11-02 14:01:03 +00:00
Rob Wood
9be9ca15c3 Bug 1503380 - When running raptor gecko profiling jobs, raptor should still save results to a raptor.json artifact; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D10623

--HG--
extra : moz-landing-system : lando
2018-11-02 08:46:14 +00:00
Daniel Varga
26a7cbde3d Merge mozilla-central to autoland. a=merge 2018-11-02 00:35:10 +02:00
Daniel Varga
e86b1d05f8 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : mobile/android/chrome/geckoview/GeckoViewNavigationContent.js => mobile/android/chrome/geckoview/GeckoViewNavigationChild.js
2018-11-02 00:27:53 +02:00
Daniel Varga
77036132f7 Merge autoland to mozilla-central. a=merge 2018-11-02 00:26:12 +02:00
Rob Wood
5b64e46782 Bug 1491114 - Add ability to specify page_cycles and page_timeout on the command line; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D10599

--HG--
extra : moz-landing-system : lando
2018-11-01 19:54:37 +00:00
Jan Henning
ae407ebe3b Bug 1502135 - Make resource://testing-common available for Robocop JS tests. r=gbrown
The code is simply a copy of the corresponding code in runtestsremote.py.

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

--HG--
extra : moz-landing-system : lando
2018-11-01 17:45:07 +00:00
Andreea Pavel
9192508f17 Backed out changeset 764deec55545 (bug 1503651) for android build bustages 2018-11-01 22:57:46 +02:00
Nick Alexander
5f1aabf9e2 Bug 1503651 - Drop audience flavor dimension. r=petru
Differential Revision: https://phabricator.services.mozilla.com/D10412

--HG--
extra : moz-landing-system : lando
2018-11-01 08:22:23 +00:00
James Graham
a860bb76ec Bug 1502948 - Re-enable elementsFromPoint on Windows, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D10541

--HG--
extra : moz-landing-system : lando
2018-11-01 13:37:37 +00:00
Julian Descottes
260b1e16a3 Bug 1467712 - Fail if SimpleTest ok() is called with more than 2 arguments;r=Standard8
Depends on D10417

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

--HG--
extra : moz-landing-system : lando
2018-11-01 13:50:27 +00:00
Julian Descottes
b346dbfd69 Bug 1467712 - Fail if Assert.ok is called with more than 2 arguments;r=Standard8
Depends on D10416

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

--HG--
extra : moz-landing-system : lando
2018-11-01 13:50:22 +00:00
Julian Descottes
079a123093 Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D10416

--HG--
extra : moz-landing-system : lando
2018-11-01 13:48:48 +00:00
Csoregi Natalia
faba2c8c15 Backed out 4 changesets (bug 1467712) for multiple failures with: Too many arguments passed to ok. CLOSED TREE
Backed out changeset 9ce0ac2b9d71 (bug 1467712)
Backed out changeset 026eb1f6dc6e (bug 1467712)
Backed out changeset 0088a09d869a (bug 1467712)
Backed out changeset 1b19ea76aad6 (bug 1467712)
2018-11-01 15:22:52 +02:00
Rob Wood
e8ccc57b1e Bug 1501040 - Raptor fix so unsigned webext will load on mozilla-beta; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D10453

--HG--
extra : moz-landing-system : lando
2018-11-01 08:43:49 +00:00
Julian Descottes
8e101fd73a Bug 1467712 - Fail if SimpleTest ok() is called with more than 2 arguments;r=Standard8
Depends on D10417

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

--HG--
extra : moz-landing-system : lando
2018-11-01 11:12:37 +00:00
Julian Descottes
d771830152 Bug 1467712 - Fail if Assert.ok is called with more than 2 arguments;r=Standard8
Depends on D10416

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

--HG--
extra : moz-landing-system : lando
2018-11-01 11:10:36 +00:00
Julian Descottes
b50a5ba4dc Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D10416

--HG--
extra : moz-landing-system : lando
2018-11-01 11:09:48 +00:00
Gurzau Raul
424b125b93 Backed out changeset 523ff2753dea (bug 1490257) for causing Bug 1503757 a=backout 2018-11-01 15:27:30 +02:00
Cameron McCormack
a94e23e1cd Bug 1496617 - Part 1: Support unprefixed image-rendering:crisp-edges r=firefox-style-system-reviewers,emilio
For now, we keep supporting the prefixed version, since there are examples/instructions
on the Web that don't include an unprefixed value.

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

--HG--
extra : moz-landing-system : lando
2018-11-01 01:35:26 +00:00
Rob Wood
f5b7112fd5 Bug 1502873 - More tweaks for raptor gecko profiling support; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D10267

--HG--
extra : moz-landing-system : lando
2018-10-31 21:24:58 +00:00
Wes Kocher
c6e6a648d3 Bug 1502208 - Update expectation data for wpt html/browsers/the-window-object r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D9962

--HG--
extra : moz-landing-system : lando
2018-11-01 00:16:29 +00:00
shindli
3881ea7a5b Backed out changeset e349c2bc9809 (bug 1502208) for wpt failures in html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-screeny.html 2018-11-01 01:56:36 +02:00
Gijs Kruitbosch
ba3088bacd Bug 1503624 - extend timeout on wpt tests because linux asan, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D10396

--HG--
extra : moz-landing-system : lando
2018-10-31 21:38:37 +00:00