Commit Graph

18371 Commits

Author SHA1 Message Date
Henrik Skupin
54ec2c0bf0 Bug 1397734 - Centralize defaults for socket and startup timeouts r=maja_zf
Currently defaults for startup_timeout and socket_timeout are defined
at two different places (Marionette driver and harness). As of now it's
even the case that startup_timeout has different values. While Marionette
driver uses 120s, the harness only uses 60s.

As result all jobs which are based on the Marionette harness fail if
Firefox starts-up slowly like for debug builds.

MozReview-Commit-ID: Dl4sBG1H7NA

--HG--
extra : rebase_source : 959facabebc371beee23b4de345ddd2495913bb7
2017-09-07 15:36:50 +02:00
Rob Wood
d2df7b654a Bug 1372942 - tp5: Wait for the idle-callback before moving to the next page; r=jmaher
MozReview-Commit-ID: 3Bx1CVMAG5Q

--HG--
extra : rebase_source : 7b1a0ab93220f7f54fee32b12f919fd01591e581
2017-09-07 12:11:19 -04:00
Myk Melez
87ae2b846a Bug 1398345 - find llvm-symbolizer, get memory size on Mac; r=ahal 2017-09-11 09:04:57 -07:00
Christoph Kerschbaumer
a773576eee Bug 1398574 - Update tests within websockets/ to comply with new toplevel data: URI navigation policy. r=jgraham,valentin 2017-09-11 13:14:57 +02:00
Ionut Goldan
f3028165fe Bug 1396217 - resolve py2 and py3 lint errors r=jmaher
MozReview-Commit-ID: LG332HzJKcw

--HG--
extra : rebase_source : b82da0cceac18f310cadf945578464c2fb4704c4
2017-09-08 11:27:26 +03:00
Chris Manchester
c0a229d4c3 Bug 1386876 - Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium
MozReview-Commit-ID: FMEtb5PY7iP

--HG--
extra : rebase_source : 3cdee7528846462c758e623d6bcd2e6e17dbabff
2017-09-11 11:33:26 -07:00
Thomas Wisniewski
e469e3c48d Bug 1392220 - do not parse or return body for XHRs with HEAD or CONNECT method; r=baku
MozReview-Commit-ID: 40CxCiSFdjC

--HG--
extra : rebase_source : 663e09a83dd56aa7b6b76cbd3733cbffda1a7897
2017-09-09 15:34:48 -04:00
Ryan VanderMeulen
e347029d4c Bug 1397979 - Flip the dom.vr.enabled pref when running the WebVR web-platform-tests. r=jgraham 2017-09-08 08:28:30 -04:00
Sebastian Hengst
9a6b5140c4 merge mozilla-central to autoland. r=merge a=merge 2017-09-08 11:03:59 +02:00
James Graham
fba29452b6 Bug 1373444 - Fix typo in wpt harness, r=maja_zf
MozReview-Commit-ID: 3x0JxmvRAvV

--HG--
extra : rebase_source : e0317356e1c6f27433b6347258a9e45b92fc4298
2017-09-07 12:07:12 +01:00
Sebastian Hengst
ca5bb38a4c Backed out changeset bc05e6c94a17 (bug 1397734) for mass mochitest failures (passed str to timedelta). r=backout on a CLOSED TREE 2017-09-08 09:30:48 +02:00
Henrik Skupin
67e8ef4b57 Bug 1397734 - Centralize defaults for socket and startup timeouts r=maja_zf
Currently defaults for startup_timeout and socket_timeout are defined
at two different places (Marionette driver and harness). As of now it's
even the case that startup_timeout has different values. While Marionette
driver uses 120s, the harness only uses 60s.

As result all jobs which are based on the Marionette harness fail if
Firefox starts-up slowly like for debug builds.

MozReview-Commit-ID: Dl4sBG1H7NA

--HG--
extra : rebase_source : 688338b1782deaf08eb01c7c5d4ca01ba03328f5
2017-09-07 15:36:50 +02:00
Boris Chiou
39cfbb73bf Bug 1396692 - Update wpt expectation. r=xidorn
MozReview-Commit-ID: ANg57HLAqmC

--HG--
extra : rebase_source : 6cef53f9b49d59fa77eca50bfdb5dd3b20da3512
2017-09-06 15:47:40 +08:00
Sebastian Hengst
ec5336561d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 3DvwIgw2ORU
2017-09-07 23:59:58 +02:00
Henrik Skupin
03ba8ad526 Bug 1397306 - Empty noProxy list should reset no proxy exclusions. r=ato
To allow resetting the default no proxy exclusion entries in
Firefox tests have to pass an empty noProxy list. This should
also be correctly applied.

MozReview-Commit-ID: ABmYdPvoSvx

--HG--
extra : rebase_source : 313fe0a918a4a9bfe5204e5777568ee5f89744d3
2017-09-07 10:21:36 +02:00
Sebastian Hengst
8eb249afcc merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JSRVc5yW6Kx
2017-09-07 12:39:12 +02:00
Wes Kocher
a14d71906d Merge m-c to inbound, a=merge
MozReview-Commit-ID: BJ4WkYrJ9g6
2017-09-06 17:24:48 -07:00
Emilio Cobos Álvarez
0f543d7829 Bug 1393861: Correctly apply the display fixup for ::before and ::after pseudo-elements. r=heycam
MozReview-Commit-ID: G0bcZmn0mP

--HG--
extra : rebase_source : f93b691ec0648a3f577c0a28fcb1f7132e5454c5
2017-09-05 15:07:01 +02:00
Henrik Skupin
8ea68cdf34 Bug 1331313 - Let add-on install() / uninstall() wait for the expected add-on. r=ato
Currently the listener for addon installs misses a check for the addon id,
to only resolve the promise when it has been called for the expected  addon.
This can cause race-conditions if other addons are getting installed at the
same time.

The same applies to uninstall which doesn't wait at all until the operation
has been completed.

MozReview-Commit-ID: 5GsomMoAVZ1

--HG--
extra : rebase_source : a1b43adb2239b0c28cbee1d843f4b6c666a07f0a
2017-08-23 15:53:45 +02:00
Sebastian Hengst
e44215e7e0 Backed out changeset 1caa4e7a8319 (bug 1393861) for busting web-platform-tests. r=backout on a CLOSED TREE 2017-09-06 13:44:09 +02:00
Emilio Cobos Álvarez
e57a9d7570 Bug 1393861: Correctly apply the display fixup for ::before and ::after pseudo-elements. r=heycam
MozReview-Commit-ID: G0bcZmn0mP

--HG--
extra : rebase_source : 9e9bebc93c005485ef67f719b09df15d40846297
2017-09-05 15:07:01 +02:00
Sebastian Hengst
9d15132cd1 merge mozilla-central to autoland. r=merge a=merge 2017-09-06 11:28:07 +02:00
Sebastian Hengst
9c8a09d458 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: KLssMPhSQ0O
2017-09-06 11:26:13 +02:00
Sebastian Hengst
b278f15c7f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-06 00:00:04 +02:00
Sebastian Hengst
01c1a3c741 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 17ViEoPyjPa
2017-09-05 23:55:39 +02:00
James Graham
418e807fea Bug 1373444 - Look for NoSuchWindowException when waiting for manual browser close in wpt, r=maja_zf
This method works by running a long-running script and catching the exception when
it is interrupted. But the exception changed so we must make a corresponding change here.

MozReview-Commit-ID: EdZZAOVZ0Sw
2017-09-05 17:23:22 +01:00
James Graham
3426b3a38a Bug 1373444 - Ignore exceptions during wpt test teardown, r=maja_zf
In general these exceptions are the result of something unexpected in
the environment, but shouldn't themseslves cause the test to error.

MozReview-Commit-ID: 5XjJoT4UwnC
2017-09-05 17:23:21 +01:00
Cosm
917335fa1c Bug 1395956 - Update gecko.readthedocs links to the new firefox-source-docs.mozilla.org location. r=chutten 2017-09-02 22:11:02 +05:30
Nils Ohlmeier [:drno]
f99d62032b Bug 1264479: adapt WPT to interface changes. r=jgraham
MozReview-Commit-ID: 4ox2A5qnRW4

--HG--
extra : rebase_source : 8995a8b2eb22987a7089d1c615edbf6aadc5d2b9
2017-08-30 15:50:50 -07:00
Henrik Skupin
a5a02051cd Bug 1387470 - Allow geckodriver to use the webdriver conforming click. r=ato
To allow the selection of the new webdriver spec conforming
"clickElement" method over the old legacy Selenium one, the
"moz:webdriverClick" capability can be used. Setting it's value
to true will enable the conforming click.

MozReview-Commit-ID: HMvFFEJDvpG

--HG--
extra : rebase_source : 34bb71f7d64d08968cd6b52760cf4d36a61cb29d
2017-09-01 17:21:50 +02:00
Henrik Skupin
269febe5eb Bug 1387470 - Use moz:webdriverClick capability for spec conforming element click. r=ato
To allow geckodriver to temporarily opt-in for using the webdriver
conforming click, a new custom capability has to be created for
Marionette. If not specified the legacy clickElement method will
be used instead.

MozReview-Commit-ID: LuyTjLJXMGL

--HG--
extra : rebase_source : 8e133fb2d9767ea580468013fedff5233fd8eb93
2017-09-01 17:11:35 +02:00
Andreas Tolfsen
ba22a00638 Bug 1396838 - Remove window state from wdpsec tests. r=jgraham
MozReview-Commit-ID: 7zogEgoABnV

--HG--
extra : rebase_source : 45920ac12cff35e5aa99c520a3ccdc93fb7828d7
2017-09-05 17:02:41 +01:00
Andreas Tolfsen
7316bc343d Bug 1396838 - Set window rect before every test. r=jgraham
There are DOM attributes to query a window's minimized and fullscreen
states, but there is no reliable way to tell if the window is maximized.
To workaround this, we set the window's size before every test to ensure
it transitioned to the normal window state.

MozReview-Commit-ID: DAT0E4rhmjY

--HG--
extra : rebase_source : 0e9e77ad340c39b656f523085613f43f1d6bd94a
2017-09-05 17:01:05 +01:00
Andreas Tolfsen
5a76982786 Bug 1396838 - Drop WindowState. r=jgraham
The window state concept was removed from WebDriver level 1.

MozReview-Commit-ID: 6cogstpDc0a

--HG--
extra : rebase_source : 539df9fed0761b8e9609f60c3f9b77b946829147
2017-09-05 14:50:06 +01:00
Andreas Tolfsen
843ac74c10 Bug 1396831 - Update wdclient and wdspec expected error codes. r=jgraham
MozReview-Commit-ID: IwydIfDWRwC

--HG--
extra : rebase_source : 97b67b79feeec142d1ec02f0a74857c772909172
2017-09-05 16:11:17 +01:00
Andreas Tolfsen
ad8630684d Bug 1396831 - Align HTTP status codes with specification. r=jgraham
Some of the HTTP status codes have changed in the WebDriver specification,
as shown in:

	d678562e3d

MozReview-Commit-ID: 4DLkYDXckew

--HG--
extra : rebase_source : 37c595265ead9591a6618ca44000bfb0f401da75
2017-09-05 14:42:12 +01:00
Andreas Tolfsen
88efb4d67b Bug 1396831 - Improve readability of error_code and http_status. r=jgraham
No semantic changes.

MozReview-Commit-ID: F4TJI2i5bJo

--HG--
extra : rebase_source : 703abf5278a7cf46393f9b720cea6e0948a5c1dd
2017-09-05 14:39:32 +01:00
Andreas Tolfsen
8573d950b9 Bug 1349929 - Increase action sequence test timeout. r=maja_zf
MozReview-Commit-ID: Bw0MWCXAwpn

--HG--
extra : rebase_source : 8902adaab573a246b230ae444005865773046ade
2017-09-04 14:15:58 +01:00
Daisuke Akatsuka
9aee4ae83a Bug 1390702 - Part 5: Rewrite handling of CSSPseudoElements to improve readability. r=birtles
MozReview-Commit-ID: 8oJVE70CZRl

--HG--
extra : rebase_source : d3ea7040ab49761cf858f2782d2fd43f25ebe161
2017-09-05 20:16:47 +09:00
Daisuke Akatsuka
8924d8cda2 Bug 1390702 - Part 4: Add test into w-p-t. r=birtles
Since we make font-variation-settings animatable, should add the tests into web
platform test.

MozReview-Commit-ID: DT78XARGPVV

--HG--
extra : rebase_source : 6420b28a9b244fc7dc622e2d9e076531a3564269
2017-09-05 20:16:43 +09:00
Sebastian Hengst
45cb996f32 merge mozilla-central to autoland. r=merge a=merge 2017-09-05 12:37:56 +02:00
Sebastian Hengst
a17af05f6f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: L5exd68pNSG
2017-09-05 11:40:49 +02:00
Steve Armand
e46ff00709 Bug 1368967 - Enable the ESLint generator-star-spacing rule across mozilla-central. r=standard8
MozReview-Commit-ID: 5do3eoCEAMR

--HG--
extra : rebase_source : 5f692e474e1d7d173fcb4c9c08617f0fe489e443
2017-09-04 00:49:32 -04:00
Nick Thomas
59f99cb87e Bug 1387622 - add latest-ssl aliases for bedrock, r=mtabara
MozReview-Commit-ID: 8s1CiEdL6cG

--HG--
extra : rebase_source : 5c667ca0bd81832593792547ce0ac0197e3a7b39
2017-08-31 17:34:30 +12:00
Hiroyuki Ikezoe
8c9106d854 Bug 1396219 - Add a bug number for failure reason. r=baku
MozReview-Commit-ID: Kh9r5VB5LfD

--HG--
extra : rebase_source : e6a036352b43f5b21f067e7eae9e779fb8cc0095
2017-09-03 10:25:57 +09:00
Hiroyuki Ikezoe
a81e75270e Bug 1396230 - Clear PerformanceObserver mQueuedEntries right after they were copied to PerformanceObserverEntryList. r=baku
This matches to the spec and makes po-callback-mutate.any.js test pass.

From the spec [1]

  1. Let entries be a copy of po’s observer buffer.
  2. Empty po’s observer buffer.
  3. If entries is non-empty, call po’s callback with entries as first
     argument and po as the second argument and callback this value. If this
     throws an exception, report the exception.

[1] https://w3c.github.io/performance-timeline/#queue-a-performanceentry

MozReview-Commit-ID: AEdfvGpauzy

--HG--
extra : rebase_source : 20b9fc8426fd48d10e8e55662afe1c881fd92343
2017-09-02 22:05:44 +09:00
Hiroyuki Ikezoe
8f3ef222fd Bug 1396228 - Filter out by type if the type if specified for PerformanceEntry.getEntries. r=baku
MozReview-Commit-ID: 4XManqN8BVY

--HG--
extra : rebase_source : 2fefe77e5fcadbd4e5632d557e554e8356c1ef52
2017-09-02 21:42:00 +09:00
Hiroyuki Ikezoe
8ae5e3226b Bug 1396227 - Sort performance entries by start time. r=baku
MozReview-Commit-ID: 7m4MLlOJmFZ

--HG--
extra : rebase_source : 7437d240e8c74d279cef8e1dee277d06125f4df6
2017-09-02 21:39:19 +09:00
Simon Sapin
13c0876f58 Bug 1396586 - Stop escaping U+0080 to U+009F in CSS serialization. r=emilio
… in the C++ style system, to align with Stylo and the CSSOM spec.

MozReview-Commit-ID: HaDUeNjumnY

--HG--
extra : rebase_source : 3a4d2856bb6b3702d0bc7ec9b7a8e472758ab9f0
2017-09-04 15:00:18 +02:00
Andreas Tolfsen
2c9fa2e359 No bug: Generate Marionette API docs. r=me
DONTBUILD

MozReview-Commit-ID: LSonzfgaZ6n
2017-09-04 15:32:15 +01:00
Andreas Tolfsen
35190fd47d No bug: Fix Marionette jsdoc errors. r=me
DONTBUILD

MozReview-Commit-ID: HvhpWSOwM0n
2017-09-04 15:32:08 +01:00
Andreas Tolfsen
3646b7ae00 Bug 1368265 - Add testing/webdriver hgignore file. r=automatedtester
MozReview-Commit-ID: A2JHz2Eqdv5

--HG--
extra : rebase_source : b6dc8a5eaad3410bb658671bab540f441a2e298c
2017-09-03 17:19:37 +01:00
Andreas Tolfsen
f5e4748beb Bug 1368265 - Remove unnecessary license files. r=automatedtester
Since both these Rust programs are hosted in mozilla-central,
they are governed by the top-level LICENSE file.  See also
toolkit/content/license.html.

MozReview-Commit-ID: 4C0fEAeJZ6h

--HG--
extra : rebase_source : f8beebd578cd816d974cc9416c6bdb1bdfa37b12
2017-09-03 17:17:13 +01:00
Andreas Tolfsen
783b9e7701 Bug 1368265 - Provide a webdriver README. r=automatedtester
Documentation is the hallmark of a good software library and this isn't
great, but it is a step in the right direction.

MozReview-Commit-ID: IHDwp2pjXom

--HG--
extra : rebase_source : 9f5d488705cb97510ce051f1530002fffd302aaf
2017-09-03 17:15:03 +01:00
Andreas Tolfsen
c722f88ac8 Bug 1368265 - Update geckodriver and webdriver Cargo.tomls. r=automatedtester
MozReview-Commit-ID: 6MsrxinrYEp

--HG--
extra : rebase_source : c0f5b076183c53c86aae0e757b6ef391f1eba8c1
2017-09-03 16:24:55 +01:00
Andreas Tolfsen
8e1b5b4d8b Bug 1368265 - Use in-tree testing/webdriver. r=automatedtester
MozReview-Commit-ID: R74BGZOBBx

--HG--
extra : rebase_source : 263d5cdf7317bdea6b4bcf3d2b7256429da9d4cf
2017-09-03 16:15:48 +01:00
Andreas Tolfsen
0305a12b3d webdriver: move crate to m-c
IGNORE BAD COMMIT MESSAGES
2017-09-03 15:56:42 +01:00
Henrik Skupin
ace1170369 webdriver: Add "noProxy" support for manual proxy type (#121)
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 89df5f92278488697460b279eea0708e482c3813

committer: GitHub <noreply@github.com>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : c9cff2069fccc117f9bc3f95b1267b7f65c1670a
2017-08-30 21:02:55 +02:00
David Burns
5ff5b691d4 webdriver: Add Tag Name as a valid location strategy. (#118)
* Add Tag Name as a valid location strategy.

While creating WDSpec for Find Element and similar commands it showed
that we do not support Tag Name as a valid selector. Tests can be found
at https://reviewboard.mozilla.org/r/172110/

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 5cd49eb129f4ae1ae7e047f274cfa31092353d65

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : a2245a52d6ad17184dc8b105cd2082899707bdda
2017-08-24 14:22:02 +01:00
Andreas Tolfsen
4c3170d857 webdriver: cargo: release 0.30.0
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: bd7c82e977ddf0f2f90e9300fef70d0d2eb7ff33

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 6794f7ce256468a1c434134949c84222283c3d74
2017-08-18 13:27:38 +01:00
Henrik Skupin
6df788afcf webdriver: Add support for socksVersion (#115)
To add a socks proxy the socks version is a required capability.
This patch adds the handling of the capability.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 94cdfcbb8e92bc070f144ad13bc1f074f0761eb5

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : d555f9bcb03b61434b83973ee5736ca771926183
2017-08-18 12:49:34 +01:00
Henrik Skupin
dac7fbd059 webdriver: Make proxy port an optional suffix for all *Proxy capabilities (#115)
As given by the spec the proxy port is no longer a separate capability,
but an optional part of ftpProxy, httpProxy, sslProxy, and socksProxy.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: f42568128d5a4218cc9f71d727ca3550c99c012e

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 11bda39133f9e0d2e67987b693fd44e0c249c23e
2017-08-18 12:49:34 +01:00
Henrik Skupin
6071140e1b webdriver: Fix invalid check for scheme in proxy host. (#114)
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 12e62a7956219ca4ebb3d6161e4ce9c853e82217

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : fffe353f879f73c03225355001d5547924fa73e8
2017-08-08 15:27:32 +01:00
Andreas Tolfsen
806c215eb8 webdriver: cargo: release 0.29.0
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 7d2bf526b6ed9c45e06b5b2abd395c996328d3ca

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 52dfc7e137ca51ba0e8d49286bbe2d09db7c2a41
2017-08-08 14:51:02 +01:00
Henrik Skupin
89de54cf9d webdriver: Add support to format values with {:?} (#111)
For debugging purposes it is helpful when enum and struct
definitions are using derive Debug.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 989cfcb7ab23ab356b2bf77ff37a37ab1c7be89d

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 5d1bcd860f19a0275cc110d8e86d62788ce5319a
2017-08-08 11:14:55 +01:00
Andreas Tolfsen
e9a9bb7bc1 webdriver: common, response: add window state to window rect response (#109)
The WebDriver specification recently introduced an additional "state"
field for the window rect.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 2b54d3d8ad30f25b0df9b186661be15de4e280fb

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : bc62b14208282b2725e3c3ef476f840b16315418
2017-08-07 19:28:32 +01:00
Henrik Skupin
00d5bdfa84 webdriver: capabilities: use proxyType "direct" instead of "noproxy" (#107)
The WebDriver spec has been changed a while ago to support "direct"
as proxyType.  So "noproxy" is no longer a valid proxy type.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: d4c7c73af12a38c3723750f32370197ab6130c67

committer: Andreas Tolfsen <ato@sny.no>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : fd64dcba6fd8742cdac87d4d00aa42baa6b31b75
2017-08-03 17:47:22 +01:00
Nazım Can Altınova
4684293785 Bug 1394551 - stylo: Update test expectations for @font-feature-values r=me
MozReview-Commit-ID: ByTYYl6GIHm

--HG--
extra : rebase_source : 7e752cba7eb280071f8c501cc5811fe54e7869ba
2017-09-05 17:43:04 -07:00
Sebastian Hengst
4d2231acf0 merge mozilla-central to autoland. r=merge a=merge 2017-09-05 23:58:08 +02:00
J. Ryan Stinnett
22df5aef06 Bug 1330412 - Convert Stylo jobs to Stylo disabled. r=jmaher
Convert all jobs that were exercising Stylo enabled to Stylo disabled instead.

Stylo enabled is now handled by the default jobs.

In Perfherder, Stylo enabled jobs will be untagged and take over the existing
Gecko series.  Stylo disabled jobs will have a new `stylo-disabled` tag and
create a new series.

MozReview-Commit-ID: BMXBRg3A95j

--HG--
extra : rebase_source : 0f3a6a1f6807dbb90c00d060a3a7f220c2141c64
2017-08-31 11:18:46 -05:00
J. Ryan Stinnett
3b56163041 Bug 1330412 - Schedule Linux Stylo Talos like others. r=jmaher
Make Linux Stylo Talos jobs explicit in the task list, like they are for macOS
and Windows.  This way we avoid have different approaches per platform.

(This is still the Stylo enabled form.  The next patch coverts to Stylo
disabled for all platforms.)

MozReview-Commit-ID: K4CcWvR9tlJ

--HG--
extra : rebase_source : 3727ddb09114e56493b5ee42df1b45a830a3a6dc
2017-08-31 12:10:48 -05:00
J. Ryan Stinnett
fb81e3161b Bug 1330412 - Stylo seq. runs for memory / perf only. r=jmaher
We no longer need to run unit / integration tests on Stylo sequential, but we'd
like to retain it for memory and performance checks.

In addition, we no longer need to explicitly `--enable-stylo` since it is the
default.  This also drops the `stylo` tag in Perfherder.

MozReview-Commit-ID: 3OI8Y7Q5PW

--HG--
extra : rebase_source : d80103b3c7991a833dc4603d1df4a6c4b62fd6c9
2017-08-31 11:28:17 -05:00
Hiroyuki Ikezoe
6b381a4cf5 Bug 1386021 - Enable PerformanceObserver on all channels. r=baku
MozReview-Commit-ID: LdktbmR4Fd

--HG--
extra : rebase_source : e3940d7a52c94effe98a7c19b7a8c68255078349
2017-09-07 06:23:49 +09:00
Gregory Szorc
de71bdab2d Bug 1397406 - Use BuildReader helper in mach test; r=dustin
Now that we have a helper function to obtain a BuildReader, let's
put it to use.

MozReview-Commit-ID: 7V3RsWs5TPu

--HG--
extra : rebase_source : 23193a1482ebb2fc4d1bdc588d8cd31c4d458645
2017-09-06 12:26:15 -07:00
Sebastian Hengst
1c4ad71269 Backed out changeset 1e12a866239c (bug 1394381) for busting web-platform-tests. r=backout on a CLOSED TREE 2017-09-06 18:51:32 +02:00
Andreas Tolfsen
8a7c17f04e Bug 1396618 - Throttle window minimize and restore r=automatedtester
MozReview-Commit-ID: 5LUWYwURQgs

--HG--
extra : rebase_source : fcc47b5994b356fad670cc56cc03f0976338a950
2017-09-04 16:55:34 +01:00
Henrik Skupin
c22e1e2d16 Bug 1394381 - Add logging output for Marionette connection attempts. r=maja_zf
If Marionette client cannot connect to the server, the attempts
have to be logged to stderr. This allows us to inspect the reason
why a connection from the client could not be made, and that it
still tries to connect (see bug 1362293).

MozReview-Commit-ID: ElE1M73ums8

--HG--
extra : rebase_source : e64a549e98b0adc4e7ea410f0d2fd500e0d55f87
2017-08-28 17:46:06 +02:00
James Graham
a84d0851ff webdriver: Update version number for release
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 2746c4f91f1c3582fe0ce5dea91f8971f8f20390

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 4029c44236409e9a4ceb4e3174aa2e7782e7168c
2017-07-18 16:42:19 +01:00
Michael Layzell
3fc986fd80 Bug 1397356 - Remove unnecessary custom testharnessreport.js file, r=jgraham 2017-09-06 17:15:57 -04:00
Sebastian Hengst
3c4740b43a merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-06 11:29:25 +02:00
Jon Coppeard
bbf830a646 Bug 1395896 - Record module dependency before starting fetch so that error handling works correctly r=bkelly 2017-09-06 09:07:09 +01:00
James Graham
f06f568fa1 Bug 1397218,1397219 - Disable unstable WebDriver tests, a=testonly
MozReview-Commit-ID: L2fcQmrWrql
2017-09-07 12:50:51 +01:00
James Graham
e68d4f0f7f Bug 1397217 - Disable WebRTC ontonechange test for instability, a=testonly
MozReview-Commit-ID: 88EAMfYx6zd
2017-09-07 12:50:50 +01:00
James Graham
ed28ee1f3e Bug 1397215 - Fix --exclude and --include arguments to wptrunner, r=me
We need to set_default when creating an empty IncludeManifest so that skip is set.
This is pretty unfortunate.

MozReview-Commit-ID: 43Vwtu2bhvn
2017-09-07 12:50:50 +01:00
Andreas Farre
f817025d8f Bug 1397215 - Update wpt metadata, a=testonly
MozReview-Commit-ID: 14chwCQkvs0


--HG--
rename : testing/web-platform/meta/html/user-interaction/focus/tabindex-focus-flag.html.ini => testing/web-platform/meta/html/editing/focus/tabindex-focus-flag.html.ini
rename : testing/web-platform/meta/image-decodes/image-decode-iframe.html.ini => testing/web-platform/meta/html/semantics/embedded-content/the-img-element/decode/image-decode-iframe.html.ini
rename : testing/web-platform/meta/image-decodes/image-decode-path-changes.html.ini => testing/web-platform/meta/html/semantics/embedded-content/the-img-element/decode/image-decode-path-changes.html.ini
rename : testing/web-platform/meta/image-decodes/image-decode.html.ini => testing/web-platform/meta/html/semantics/embedded-content/the-img-element/decode/image-decode.html.ini
2017-09-07 12:50:50 +01:00
James Graham
7c95410c7b Bug 1397215 - Update web-platform-tests to revision 7abe12a95a33cf1906182c1e56da37a32effce3f, a=testonly
MozReview-Commit-ID: 7EKrQudqd4D


--HG--
rename : testing/web-platform/tests/app-uri/resources/ExamPLE/mmY/index.html => testing/web-platform/tests/XMLHttpRequest/resources/pass.txt
rename : testing/web-platform/tests/css/css-ui-3/support/nav-dir-target-001-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-dir-target-001-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-dir-target-002-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-dir-target-002-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-dir-target-003-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-dir-target-003-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-dir-target-004-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-dir-target-004-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-dir-target-005-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-dir-target-005-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-down-009-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-down-009-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-down-010-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-down-010-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-down-011-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-down-011-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-down-012-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-down-012-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-down-013-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-down-013-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-left-009-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-left-009-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-left-010-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-left-010-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-left-011-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-left-011-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-left-012-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-left-012-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-left-013-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-left-013-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-right-009-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-right-009-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-right-010-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-right-010-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-right-011-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-right-011-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-right-012-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-right-012-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-right-013-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-right-013-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-up-009-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-up-009-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-up-010-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-up-010-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-up-011-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-up-011-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-up-012-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-up-012-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-up-013-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-up-013-frame.html
rename : testing/web-platform/tests/fullscreen/api/element-ready-check-enabled-flag-not-set-manual.html => testing/web-platform/tests/fullscreen/api/element-ready-check-not-allowed-manual.html
rename : testing/web-platform/tests/html/user-interaction/focus/tabindex-focus-flag.html => testing/web-platform/tests/html/editing/focus/tabindex-focus-flag.html
rename : testing/web-platform/tests/image-decodes/image-decode-iframe.html => testing/web-platform/tests/html/semantics/embedded-content/the-img-element/decode/image-decode-iframe.html
rename : testing/web-platform/tests/image-decodes/image-decode-path-changes.html => testing/web-platform/tests/html/semantics/embedded-content/the-img-element/decode/image-decode-path-changes.html
rename : testing/web-platform/tests/image-decodes/image-decode.html => testing/web-platform/tests/html/semantics/embedded-content/the-img-element/decode/image-decode.html
2017-09-07 12:50:49 +01:00
SimonP
5cf6ff6879 webdriver: Implement the minimize window for webdriver-rust (#105)
* Implement the minimize window for webdriver-rust

Symptom: Now webdriver-rust cannot minimize window
Root Cause: No minimize command
Solution: Add the minimize command
Project: webdriver-rust
Note: After add this patch
      Then add one in geckodriver
      Then add support in firefox(marionette)
      At last add patch in selenium(firefox webdriver)

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 37b661f0d103ecde3f4bb87962142d054812f767

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 282e0b54fb349de5df15c05a2fb530af18931ed8
2017-07-06 15:03:13 +01:00
Andreas Tolfsen
685509aaee webdriver: cargo: release 0.27.0
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 1b8863b569ef6efe5f20f7a084e5910f1280285f

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 1a9db5d4470a84c94269047f68b4df5ee9284857
2017-06-19 13:14:44 +01:00
Jon Gjengset
dd5ce4bd02 webdriver: cargo: bump cookie dependency to 0.9 (#104)
Fixes: #103
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 107a60caf001239e69a14fed292f9177e3279e81

committer: Andreas Tolfsen <ato@sny.no>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 19bf1ffcae926e21f250c667a38234ed33c5f61b
2017-06-17 00:04:34 +01:00
Andreas Tolfsen
d60414d0ca webdriver: response: add single cookie response type (#102)
* response: add single cookie response type

The WebDriver specification mandates that the GetNamedCookie command
should return a cookie serialisation object, and not an array of
cookies.

This patch introduces WebDriverResponse::Cookie and CookieResponse types
to allow WebDriver implementations to return single cookie objects.

Fixes: https://github.com/mozilla/geckodriver/issues/463
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 9b49e5a6ec370e0da09521bfedcc596427c93cd5

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 097a285a79103c45e6274b6d48a5e8892d1272ca
2017-06-16 17:10:59 +01:00
David Burns
0218060e28 webdriver: Simplify Responses for Rect type calls to use same struct and impl (#101)
This merges the WindowRectResponse and ElementRectResponse into
a single struct. It also moves the types in the struct to floats which
aligns with the WebDriver specification as in
https://w3c.github.io/webdriver/webdriver-spec.html#get-element-rect
and in https://w3c.github.io/webdriver/webdriver-spec.html#dfn-window-rect.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 1c59375428214f3f8e2d61b1bee6182a8eaca5f8

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 0cb0b440a4812343774d09b55da8062a09be93c9
2017-06-15 15:05:39 +01:00
James Graham
3dc0737cbb webdriver: Update version number for release
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 5fdecf11323c499950c3b9778d5595c9dbe82d09

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 0bc20d4f111ed42667b03dd3bebce8bfc668f04b
2017-06-07 12:58:10 +01:00
David Burns
287db9a9dd webdriver: Implement Fullscreen command support (#100)
* Implement Fullscreen command support

This adds the HTTP endpoint and command structures for supporting the
Fullscreen command as in
https://w3c.github.io/webdriver/webdriver-spec.html#fullscreen-window

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 7ce4ae6266c73547a50b974355e1ef5fa426924c

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : ce4f326dd0c9b52fda1bb8c553e6912d11034a1b
2017-06-07 12:37:58 +01:00
jgraham
353c4ddf26 webdriver: Don't return existing session id when the wrong one is supplied (#99)
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: dae3f0689a1d589d10225d558e0528fb232a3842

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 3e07d0db86bf8e61d28cc43ad77b9b4f3b74684f
2017-06-01 08:17:13 +01:00
Jason Juang
73d6e8dbb9 webdriver: Fix spelling of unhandledPromptBehavior (#97)
The W3C spec requires the American spelling.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: bdd5efda8cf6acb5be1207a77be86e16e1fb5128

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 974924ce0fe8300e959b4482d62363a5f48dce94
2017-05-23 15:50:02 +01:00
Andreas Tolfsen
b64fa895d7 webdriver: Make log output safe for windows prompt (#96)
* server: make log output safe for windows prompt

The characters "←" and "→" are obfuscated in the Windows command
prompt.  Use ASCII versions.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 6de6e225e14b545381719e2e97398bc1a8f87b13

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 549018e98173ca5c72e4ecb32c7cf9c0cf363527
2017-05-08 14:45:19 +01:00
Jason Juang
7cedc56dd8 webdriver: Fix error messages for timeout params.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: d568fd0d344c017a8ef9b116bc6db055a7684278

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 118c87f1de638284005278b375a0b17a48c835aa
2017-05-04 09:49:01 +01:00
Andreas Tolfsen
4be89870e8 webdriver: cargo: release v0.25.2
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 6e19650591d50b8a657bf8f0f6ac1c7ef648473e

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 2c50381ad3826331902c31b572c599cbeb64cdf2
2017-04-20 14:00:37 +01:00
Andreas Tolfsen
68a2f19ade webdriver: command: improve error handling of decoding request body as json
This patch splits the decoding of the HTTP request body out to a
separate function, decode_body, on WebDriverMessage.  This is in
line with get_session_id, and reduces somewhat the complexity of
WebDriverMessage::from_http.

It also handles rustc_serialize::json::ParserErrors individually, by
making SyntaxError discernable from IoError.

The SyntaxError error handler re-uses the stacktrace produced by the
JSON parser when failing to decode the HTTP request body as JSON.
This improves the readability of the returned error.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: d7fe400fa903b752b3c90c2c7e80ae9d5719e16b

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 90bf8178d66e2871bb00d2e4f9f230941c49e82c
2017-04-20 13:55:59 +01:00
Andreas Tolfsen
61d157315c webdriver: error: enable custom stacktraces in WebDriverError
With the new constructor WebDriverError::new_with_stack it is possible
for consumers to set their own stacktraces.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 46761f45b0e0fe70ec78acf360c492b800c8a60a

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 05cf0f383c26314b4954e13bdfe5ae53a7985649
2017-04-20 13:55:59 +01:00