Commit Graph

17942 Commits

Author SHA1 Message Date
Dustin J. Mitchell
7d502f2abb Bug 1335353: remove refs to /tools/buildbot; r=aki
On Taskcluster machines, /tools/buildbot doesn't exist.  It turns out, nothing
refers to exes['python'] anyway, so we can just remove that (the preference is
to use sys.executable instead).

The references to exes['buildbot'] were all for sendchanges from builds to
tests, and those too are all gone now.

Lines like

   'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'],

Were committing two sins: first, using a python executable from a random
virtualenv; and second, using a virtualenv.py from another random directory (in
this case, it's a utility script for a PuppetAgain module). Such lines are
replaced with a reference to /tools/virtualenv/bin/virtualenv, which is
installed for the express purpose of providing a virtualenv binary on testers
(for builds, we use the vendored copy).

MozReview-Commit-ID: 4iHX3B3MLyK

--HG--
extra : rebase_source : e4b4902a19d688b148c136bd10c706fc127cbf2d
2017-08-10 17:05:11 +00:00
Sebastian Hengst
c5b98b786f merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : 138539eda803df4aa7fa2d161e78ad36cf3f55ef
2017-08-23 16:31:21 +02:00
Rob Wood
e229a35db0 Bug 1366071 - Add check in talos tp6 to ensure mitmproxy certificate was installed successfully; r=jmaher
MozReview-Commit-ID: 8wRtSSQ5SEp

--HG--
extra : rebase_source : eaca0fc6d1e1bbaee313e84ab787039b45b5da63
2017-08-22 16:15:37 -04:00
Andrew McCreight
e9b051a4af Bug 1366896, part 2 - Add and use Cc.Initialize method. r=krizsa
MozReview-Commit-ID: Amqt9JsTMqG

--HG--
extra : rebase_source : dff173ed60a254fa449b2e85d71eee6cc7daba26
2017-05-24 14:12:11 -07:00
Gregory Szorc
4e3677d6d0 Bug 1391424 - Vendor robustcheckout with capabilities detection; r=glob
The robustcheckout extension from revision
134574b64ddfa4d7c31977d792761cceca67665a of the version-control-tools
repo is vendored without modifications.

Changes since last time include printing of the Mercurial version and
more robust handling repositories not using modern storage
requirements.

This patch was not explicitly reviewed by glob. But glob reviewed all
the robustcheckout changes since the last vendor. So by the transitive
property of code review...

--HG--
extra : rebase_source : f511876ecc743e6b453118297d327e9a07bb9441
2017-08-22 08:53:51 -07:00
Andreas Tolfsen
b7180de1e8 Bug 1392323 - Correct use of pprint in action module. r=automatedtester
In certain places, the Marionette action module calls error.pprint as
if it is a function.  pprint is a ES6 string template and should be used
like pprint`${replacement}`.

MozReview-Commit-ID: 29UoCNxkKa7

--HG--
extra : rebase_source : f8fe408827353f78ee223175316d5b5f9b6a8df5
2017-08-21 18:09:40 +01:00
Andreas Tolfsen
c07ee45e6b Bug 1392339 - Fix misuse of nsIDOMElement in API docs. r=automatedtester
MozReview-Commit-ID: 3q35q6TTbTH

--HG--
extra : rebase_source : 07b2d26874a051a8b6663020ee49dcd20beb286c
2017-08-21 18:56:19 +01:00
Andreas Tolfsen
34a091cffa Bug 1392339 - Fix misuse of nsIDOMWindow in API docs. r=automatedtester
nsIDOMWindow is the XPCOM interface and not what we mean in all these
cases.  We either want to refer to the ChromeWindow or to the WindowProxy,
depending on the context of the code.

MozReview-Commit-ID: 405po1XLXRi

--HG--
extra : rebase_source : 47a179f7caed76592dab28f8e10550cda5fe3d02
2017-08-21 18:52:18 +01:00
Andreas Tolfsen
fca9551967 Bug 1392281 - Pass window global to action module instead of container. r=automatedtester
Various functions in the action module take a container object such as

	{frame: <WindowProxy global>, shadowRoot: <Element>}

when it in fact never uses the shadowRoot entry.  As part of the new
window tracking we will get rid of the container concept altogether.

Because the action module is sufficiently self-contained, we can start
with removing it from there already.

MozReview-Commit-ID: KeeNF08mqnX

--HG--
extra : rebase_source : 51eee50a648a994fab456adf4add46c91a6c82a3
2017-08-21 17:34:23 +01:00
Aryeh Gregor
b7375b6f60 Bug 834209 - Return HTMLCollection from HTMLDocument named getter; r=bkelly
The spec says HTMLCollection, and this appears to be what all other
browsers do.

https://html.spec.whatwg.org/#dom-window-nameditem
https://html.spec.whatwg.org/#dom-document-nameditem

MozReview-Commit-ID: 87aABNaQmiz

--HG--
extra : rebase_source : dfc6e445fd00d718632464357727be378da41e6c
2017-08-20 17:20:24 +03:00
Aryeh Gregor
1b3b415680 Bug 1389421 - Support nonce IDL property; r=ckerschb,smaug
We already support the actual functionality, but nobody added support
for the IDL property to the .webidl file.

Also added <style nonce> to the web-platform-tests reflection tests,
since nobody updated that to the current spec either.

This does not add support for .nonce to SVGScriptElement, because I
couldn't find any standard that specified it.  I updated the wpt tests
to expect .nonce to work on HTMLScriptElement but not SVGScriptElement.

MozReview-Commit-ID: F1K7WMfMoDi

--HG--
extra : rebase_source : 247c63b63446dc0d60062bb9d9c61228c379b989
2017-08-21 14:49:44 +03:00
Andreas Tolfsen
657e3f287d Bug 1391691 - Make WebDriver:FullscreenWindow idempotent. r=automatedtester
MozReview-Commit-ID: 4AQlYYNV03f

--HG--
extra : rebase_source : 2b4c8bb55292665925411025e952367f1af27123
2017-08-18 18:32:11 +01:00
Andreas Tolfsen
a4b0685950 Bug 1391691 - Make WebDriver:MaximizeWindow idempotent. r=automatedtester
MozReview-Commit-ID: EJ0VQOTWysg

--HG--
extra : rebase_source : 8f97877c78c04672acd715db82b98133330372db
2017-08-18 18:31:42 +01:00
Andreas Tolfsen
bd75d1ac7c Bug 1391691 - Make WebDriver:MinimizeWindow idempotent. r=automatedtester
MozReview-Commit-ID: 4XBw0UFfZ1O

--HG--
extra : rebase_source : ced1fb5e6add0b2688c3e6cc0740eb9a9e54456a
2017-08-18 18:30:50 +01:00
Andreas Tolfsen
d0436dfac3 Bug 1391691 - Skip needless assertion. r=automatedtester
The window rect's state is already tested a few lines down.

MozReview-Commit-ID: BLDufKrl8ey

--HG--
extra : rebase_source : 535872620741ffdd424f1794b355e1f0975ba76c
2017-08-18 18:43:01 +01:00
Andreas Tolfsen
79f1556376 Bug 1391691 - Bringing window out of fullscreen does not restore x/y position. r=automatedtester
When we set the window rect to width/height 400, we only want to test
those qualities.

MozReview-Commit-ID: 76qqCOOwjXQ

--HG--
extra : rebase_source : a8ebbb4a848beba6de43c2176d9322806ae80ac1
2017-08-18 18:42:20 +01:00
Andreas Tolfsen
64bf94515b Bug 1391691 - Restore window state using Set Window Rect. r=automatedtester
Because the Maximize Window, Minimize Window, and Fullscreen Window
commands are now idempotent we will want to use the Set Window Rect to
bring them back to the normal window state.

MozReview-Commit-ID: BxtAJizfti6

--HG--
extra : rebase_source : c3110bb53ca2dc795e0e6756525435ba2ea61a8e
2017-08-18 18:33:06 +01:00
Andreas Tolfsen
a48ddd1c7a Bug 1391691 - Fix undefined variable error with client.Session#position(). r=automatedtester
The x and y variables are not defined but needs to be extracted from
new_position.

MozReview-Commit-ID: Ds8cPlufjUa

--HG--
extra : rebase_source : 6edb0445ac89d0202a4ef037b0cd38af226c6507
2017-08-18 18:34:44 +01:00
Andreas Tolfsen
6422a59390 Bug 1391691 - Add wdclient documentation for window manipulation. r=automatedtester
MozReview-Commit-ID: 758QOhUfJzs

--HG--
extra : rebase_source : 4698c8f0ea09d4db20bc8dbe0d5c8b4bc30297d8
2017-08-18 18:33:52 +01:00
Andreas Tolfsen
d93ed539e8 Bug 1391691 - Rename GeckoDriver#fullscreen to fullscreenWindow. r=automatedtester
The other window state manipulation commands are named minimizeWindow
and maximizeWindow.

MozReview-Commit-ID: IBVqJSRwG8x

--HG--
extra : rebase_source : a1efaf7cf2a5c068b62c60453b1f8814d34b043b
2017-08-18 18:29:47 +01:00
Andreas Tolfsen
61810789d2 Bug 1391691 - Export WindowState properly. r=automatedtester
MozReview-Commit-ID: CNev3JIWJAt

--HG--
extra : rebase_source : f835504765e7af521bb65b3035548a95885da8e1
2017-08-21 14:08:44 +01:00
Simon Sapin
157c942bc4 Bug 1392329 - Add a command-line front-end script for gtest microbenchmarks. r=froydnj
Example usage:

$ ./testing/gtest/bench.py Stylo*

  29.779 ±  0.254 ms    Stylo.Servo_StyleSheet_FromUTF8Bytes_Bench
  28.841 ±  0.031 ms    Stylo.Gecko_nsCSSParser_ParseSheet_Bench
 296.240 ±  4.744 ms    Stylo.Servo_DeclarationBlock_SetPropertyById_Bench
 293.855 ±  4.304 ms    Stylo.Servo_DeclarationBlock_SetPropertyById_WithInitialSpace_Bench

MozReview-Commit-ID: L6vx8A8Iz9q

--HG--
extra : rebase_source : 6fab50ba3b34f84e4e07315581034a862ed00a3b
2017-08-21 18:34:54 +02:00
Wes Kocher
91f1f19054 Merge m-c to autoland, a=merge
MozReview-Commit-ID: IMdYxijQ9ie
2017-08-21 17:20:06 -07:00
Wes Kocher
88c4efea2a Merge inbound to m-c a=merge
MozReview-Commit-ID: 7PZEeFIzle5
2017-08-21 16:39:56 -07:00
Emilio Cobos Álvarez
bbd95495e0 Bug 1341102: More expectation updates after servo/servo#18139. r=me
MozReview-Commit-ID: 7q1ITUpRcS2
2017-08-21 19:26:09 +02:00
Justin Wood
0aacec3bfe Bug 1391643 - Make android single locale testable on try. r=aki
MozReview-Commit-ID: 6GRI8na8ygm

--HG--
extra : rebase_source : 8124b4d3942b6787a03d1cacb36ef359d51e515f
2017-08-18 11:24:29 -04:00
Shawn Huang
23890bba07 Backed out changeset 936c6efde4e4 (bug 1345457) for breaking xhr test case r=backout 2017-08-21 16:32:47 +08:00
Phil Ringnalda
9359f5bf39 Merge inbound to m-c, a=merge
MozReview-Commit-ID: LCCoXUsCtmv
2017-08-19 15:29:10 -07:00
Yangyi Peng
f35129b70f Bug 1391661 - Add Minimize Window tests to wdspec; r=ato
MozReview-Commit-ID: LLJ6EXd2aKR
2017-08-19 13:59:56 +01:00
Emilio Cobos Álvarez
96967409e2 Bug 1341102: Update expectations after servo/servo#18139. r=me
MozReview-Commit-ID: F8wa1hxNtCZ
2017-08-21 18:31:37 +02:00
Wes Kocher
75e9f7dbef Backed out 10 changesets (bug 1391691) for wpt failures a=backout
Backed out changeset 666ac679317e (bug 1391691)
Backed out changeset 46f82e1e2cde (bug 1391691)
Backed out changeset 1fd98ace1473 (bug 1391691)
Backed out changeset 5bddbd90ec7c (bug 1391691)
Backed out changeset 4653134d01ef (bug 1391691)
Backed out changeset fd88b612ac2e (bug 1391691)
Backed out changeset 6306abc0b5e9 (bug 1391691)
Backed out changeset 649b0e761c87 (bug 1391691)
Backed out changeset 6c48daaad075 (bug 1391691)
Backed out changeset 17aeed1f6454 (bug 1391691)

MozReview-Commit-ID: 6Cw1QibNQKM

--HG--
extra : rebase_source : 0197f824719f11e113595dd9a4a86b2c8d1fd8fe
2017-08-21 09:19:10 -07:00
Wes Kocher
b1fc5e008c Merge inbound to central, a=merge
MozReview-Commit-ID: 4cWGBbMEU2x
2017-08-18 15:53:07 -07:00
Eric Rahm
0938982c90 Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj
--HG--
extra : rebase_source : 063c7f95dda063eafabfa1921366bd1957b8fe73
2017-08-11 17:45:18 -07:00
Wes Kocher
c043502159 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7sFZmPUXSx6
2017-08-18 17:21:29 -07:00
Wes Kocher
594f235396 Backed out changeset 1a885b6252b3 (bug 1391661) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 7I5GCoEvuAL

--HG--
extra : source : c91df00334016869af5f7ece0e8eef988022bc63
2017-08-18 17:14:10 -07:00
Wes Kocher
ccaaa705de Backed out 6 changesets (bug 1376625) for conflicting with the incoming m-c merge a=backout
Backed out changeset 8498aa3df735 (bug 1376625)
Backed out changeset 1805706e3d0d (bug 1376625)
Backed out changeset 0842eac97833 (bug 1376625)
Backed out changeset 4af85178dea9 (bug 1376625)
Backed out changeset e2ae50805200 (bug 1376625)
Backed out changeset 29175c7e6faa (bug 1376625)

MozReview-Commit-ID: GKUCcsZ0Lxn
2017-08-18 17:12:20 -07:00
David Burns
3919d56fa4 Bug 1376625 - Add Is Element Selected wdspec tests r=ato
This adds tests for the Is Element Selected section as documented in
https://w3c.github.io/webdriver/webdriver-spec.html#is-element-selected

MozReview-Commit-ID: HmwOtYlIZLQ

--HG--
extra : rebase_source : bba5c753495551e75eb78717d43ce7ceaaabd237
2017-08-04 20:25:18 +01:00
David Burns
cd9e986d97 Bug 1376625 - Updating meta data for newly added tests r=ato
Most of the failures are due to
https://bugzilla.mozilla.org/show_bug.cgi?id=1264259 which creates
a cascade failure unfortunately.

MozReview-Commit-ID: 4wLh7WcacGu

--HG--
extra : rebase_source : 50d8fa3ba28562094dea2d849a10e2bee57ff776
2017-08-02 23:55:47 +01:00
David Burns
216c0d2253 Bug 1376625 - Add Get Element Tag Name wdspec tests r=ato
MozReview-Commit-ID: 5ictmTtj5zX

--HG--
extra : rebase_source : bf3f9e0126d9924436c850963aa9d0907a27df0b
2017-08-01 08:43:09 +01:00
David Burns
695c904534 Bug 1376625 - Add Get Element Rect wdspec tests r=ato
MozReview-Commit-ID: AGSaUzetbRR

--HG--
extra : rebase_source : 3b6b763b4a6cf2d62e125e5909f59e5cc9cc8d52
2017-08-01 07:00:51 +01:00
Dão Gottwald
d07a1dd6a9 Bug 1391191 - Consolidate navigator toolbox bottom border styling. r=johannh
MozReview-Commit-ID: 4xjHHqIayP5

--HG--
extra : rebase_source : 08dc7ee08177e7e32c8c6c62fee3e1d09c742dd2
2017-08-21 17:05:41 +02:00
Andreas Tolfsen
ab34c37f43 Bug 1391691 - Make WebDriver:FullscreenWindow idempotent. r=automatedtester
MozReview-Commit-ID: 4AQlYYNV03f

--HG--
extra : rebase_source : ab85f647405a23d249c3c79413382004b9d5ba90
2017-08-18 18:32:11 +01:00
Andreas Tolfsen
fd1746e875 Bug 1391691 - Make WebDriver:MaximizeWindow idempotent. r=automatedtester
MozReview-Commit-ID: EJ0VQOTWysg

--HG--
extra : rebase_source : 8fa9ab528c30f11d791b0e49f36661957f19befa
2017-08-18 18:31:42 +01:00
Andreas Tolfsen
9e4a620575 Bug 1391691 - Make WebDriver:MinimizeWindow idempotent. r=automatedtester
MozReview-Commit-ID: 4XBw0UFfZ1O

--HG--
extra : rebase_source : c2de251b5e994710ae197e63b7413a321f490900
2017-08-18 18:30:50 +01:00
Andreas Tolfsen
a997edbc48 Bug 1391691 - Skip needless assertion. r=automatedtester
The window rect's state is already tested a few lines down.

MozReview-Commit-ID: BLDufKrl8ey

--HG--
extra : rebase_source : b11b01a5659bd1f8b2361b1e37eb577b862ea527
2017-08-18 18:43:01 +01:00
Andreas Tolfsen
63b321cd17 Bug 1391691 - Bringing window out of fullscreen does not restore x/y position. r=automatedtester
When we set the window rect to width/height 400, we only want to test
those qualities.

MozReview-Commit-ID: 76qqCOOwjXQ

--HG--
extra : rebase_source : b4dafc793a84b48e64b0901e153edfe680da88cf
2017-08-18 18:42:20 +01:00
Andreas Tolfsen
4e702f412a Bug 1391691 - Restore window state using Set Window Rect. r=automatedtester
Because the Maximize Window, Minimize Window, and Fullscreen Window
commands are now idempotent we will want to use the Set Window Rect to
bring them back to the normal window state.

MozReview-Commit-ID: BxtAJizfti6

--HG--
extra : rebase_source : 94b43c4320f3bbb2034853803b5785ad091fdadc
2017-08-18 18:33:06 +01:00
Andreas Tolfsen
be975ccb0f Bug 1391691 - Fix undefined variable error with client.Session#position(). r=automatedtester
The x and y variables are not defined but needs to be extracted from
new_position.

MozReview-Commit-ID: Ds8cPlufjUa

--HG--
extra : rebase_source : 2bef2d5ea5b532323c5c693ba057c93896a900e9
2017-08-18 18:34:44 +01:00
Andreas Tolfsen
1b5c661c4a Bug 1391691 - Add wdclient documentation for window manipulation. r=automatedtester
MozReview-Commit-ID: 758QOhUfJzs

--HG--
extra : rebase_source : 7fc8e2f5235604168032515dad6ac8af7302f4d4
2017-08-18 18:33:52 +01:00
Andreas Tolfsen
017325b653 Bug 1391691 - Rename GeckoDriver#fullscreen to fullscreenWindow. r=automatedtester
The other window state manipulation commands are named minimizeWindow
and maximizeWindow.

MozReview-Commit-ID: IBVqJSRwG8x

--HG--
extra : rebase_source : 29271a475a847ca15c1d8f736520b238c0818791
2017-08-18 18:29:47 +01:00
Andreas Tolfsen
14a5d8a735 Bug 1391691 - Export WindowState properly. r=automatedtester
MozReview-Commit-ID: CNev3JIWJAt

--HG--
extra : rebase_source : 80177d33da8a1f0b75227a3bb22e9c81652c0520
2017-08-21 14:08:44 +01:00
Andreas Tolfsen
8c152224c3 Bug 1388036 - Add WPT tests for Fullscreen Window. r=automatedtester
MozReview-Commit-ID: 4dpQsTIbFmA

--HG--
extra : rebase_source : cb83668eb3c23740ebf657459a4a6dae513b7c71
2017-08-07 14:03:58 +01:00
Andreas Tolfsen
60d169f368 Bug 1388036 - Map WebDriverCommand::FullscreenWindow correctly. r=automatedtester
The WebDriverCommand::FullscreenWindow command maps to an unknown
Marionette command "fullscreenWindow".  The correct command is
"fullscreen".

MozReview-Commit-ID: 4th2TYcIbP2

--HG--
extra : rebase_source : 2fcd79984a31962aa18bb10b15a487907707fe8f
2017-08-07 13:58:28 +01:00
Andreas Tolfsen
5906316d3c Bug 1388036 - Restore window when setting window rect. r=automatedtester
If the window is minimized when setting the window rect, restore it
before resizing or moving the window.  We already exit fullscreen,
so this brings parity to the WebDriver:SetWindowRect command.

MozReview-Commit-ID: KrvWJjKX1eA

--HG--
extra : rebase_source : 968317ae961c8292edbadf2b4cfe439b7dc11f56
2017-08-18 16:01:24 +01:00
Andreas Tolfsen
cfe89162b6 Bug 1391952 - Introduce camel case lint rule. r=automatedtester
The Firefox remote protocol in testing/marionette predominantly uses
camel casing in naming properties and variables.  To enforce consistency
with this practice, this patch adds an eslint rule to enforce camel case.

There are a few exceptions where we use snake case in response output.
We can disable the lint rule on an individual basis in this handful
of cases.

MozReview-Commit-ID: DL7msdriFil

--HG--
extra : rebase_source : 737791b59002027f7501e7c46bd31d7a368a9b66
2017-08-19 14:18:51 +01:00
Andreas Tolfsen
c44c39fe1c Bug 1391952 - Disable camel case lint for input and output. r=automatedtester
MozReview-Commit-ID: 5KargkSvSPn

--HG--
extra : rebase_source : 45974434b348aed13a50fe4c98f11fc39217723c
2017-08-19 14:21:43 +01:00
Andreas Tolfsen
6c36c123e0 Bug 1391952 - Lint testing/marionette. r=automatedtester
MozReview-Commit-ID: CdA2gkIaul7

--HG--
extra : rebase_source : a3c4b785da01c19d8ef41cb3628a4844ec518ca2
2017-08-19 14:22:17 +01:00
Andreas Tolfsen
802a866314 Bug 1391699 - Disallow fallthrough case statements. r=automatedtester
We recently had a serious bug in Marionette (https://bugzil.la/1254136)
due to a case statement that fell through due to a missing "break"
statement.  This patch introduces a lint rule to prevent similar episodes
in the future.

When you do want a case to fall through, it is possible to add a comment
like this:

	switch (foo) {
	  case 1:
	    doSomething();
	    // fall through

	  case 2:
	    doSomething();
	    break;
	}

MozReview-Commit-ID: Gu8cFGsdne2

--HG--
extra : rebase_source : 8b29c663167783770d0eb0a32b7a7c2cb83a529e
2017-08-18 18:55:56 +01:00
David Burns
24821741be Bug 1376625 - Add Is Element Selected wdspec tests r=ato
This adds tests for the Is Element Selected section as documented in
https://w3c.github.io/webdriver/webdriver-spec.html#is-element-selected

MozReview-Commit-ID: HmwOtYlIZLQ

--HG--
extra : rebase_source : f9b07023df980e6a8843a3a37be0f220291dfcfa
2017-08-04 20:25:18 +01:00
David Burns
a7ac6c359d Bug 1376625 - Updating meta data for newly added tests r=ato
Most of the failures are due to
https://bugzilla.mozilla.org/show_bug.cgi?id=1264259 which creates
a cascade failure unfortunately.

MozReview-Commit-ID: 4wLh7WcacGu

--HG--
extra : rebase_source : 46e7256dabc66fc2f67d668074af8ec14a22f187
2017-08-02 23:55:47 +01:00
David Burns
1ceb800c51 Bug 1376625 - Add Get Element Tag Name wdspec tests r=ato
MozReview-Commit-ID: 5ictmTtj5zX

--HG--
extra : rebase_source : 45337999328a34cd513468a95c18e67bfb92ad80
2017-08-01 08:43:09 +01:00
David Burns
233ab7fd5b Bug 1376625 - Add Get Element Rect wdspec tests r=ato
MozReview-Commit-ID: AGSaUzetbRR

--HG--
extra : rebase_source : 6d2b677bab8c7d24f9b4374cd12291a8d0d6d421
2017-08-01 07:00:51 +01:00
David Burns
6da0e35611 Bug 1376625 - Add Get Element Property wdspec tests r=ato
This adds tests for Get Element Property WebDriver tests as documented
in https://w3c.github.io/webdriver/webdriver-spec.html#get-element-property

MozReview-Commit-ID: 62pCbYH0iwv

--HG--
extra : rebase_source : 0a0c96b0c993bcbf4b3345060b8ab50204744e39
2017-06-30 19:29:18 +01:00
David Burns
03b12a5c81 Bug 1376625 - Add Get Element Property wdspec tests r=ato
This adds tests for Get Element Property WebDriver tests as documented
in https://w3c.github.io/webdriver/webdriver-spec.html#get-element-property

MozReview-Commit-ID: 62pCbYH0iwv

--HG--
extra : rebase_source : 230393d99a82bcf94d09d7e25d8226d534af9731
2017-06-30 19:29:18 +01:00
David Burns
8ae975b475 Bug 1376625 - Add Get Element Attribute wdspec tests r=ato
This adds wdspec tests for the Get Element Attribute section as
documented in
https://w3c.github.io/webdriver/webdriver-spec.html#get-element-attribute

MozReview-Commit-ID: 9hHPr6Hb1l1

--HG--
extra : rebase_source : ff5cd0fc14e37c86c84f6ead7474317042e8c216
2017-06-28 19:53:05 +01:00
David Burns
0b7ed87b41 Bug 1376625 - Add Get Element Attribute wdspec tests r=ato
This adds wdspec tests for the Get Element Attribute section as
documented in
https://w3c.github.io/webdriver/webdriver-spec.html#get-element-attribute

MozReview-Commit-ID: 9hHPr6Hb1l1

--HG--
extra : rebase_source : 307db76710d0568e8b4a94c825ab849d5679483b
2017-06-28 19:53:05 +01:00
Mike Hommey
2874ecd82e Bug 1384062 - Make SystemResourceMonitor.stop more resilient to errors. r=ahal,gps
The poll() call in SystemResourceMonitor.stop might fail even though
there is something to read from the pipe, in some corner cases, and
python won't let us know about it. In that case, an exception is thrown,
leaving the SystemResourceMonitor (and its callers) in a weird state. In
practice, this leads BuildMonitor.__exit__ to recall stop, which then
fails.

So when poll() throws an exception, we pretend there's still something
to read, and we try to read anyways. If there is something to read,
recv() will return it, otherwise, it will throw an exception of its own,
which we catch, pretending we're done.

Furthermore, when there is nothing to read from the pipe, poll() simply
returns False, and our loop never sets `done` to True, and we then hit
an assert, which doesn't have its place here, so we remove it.

Finally, the other end of the pipe might have died at any time, making
sending over the pipe fail, so we also protect against that.

With all these changes, it feels like the reason to backout bug 1239939
in bug 1272782 should have been dealt with, and we can drop the timeout
again.

--HG--
extra : rebase_source : ac72dd5b2602cf3ffddfb429f95e02380f939893
2017-08-16 13:16:16 +09:00
Phil Ringnalda
cbc5805a36 Backed out changeset 4e9cd1d537cc (bug 1384062) for flake8 failures
MozReview-Commit-ID: C2AVg8g3xpV
2017-08-17 20:39:43 -07:00
Mike Hommey
452fa31f52 Bug 1384062 - Make SystemResourceMonitor.stop more resilient to errors. r=ahal,gps
The poll() call in SystemResourceMonitor.stop might fail even though
there is something to read from the pipe, in some corner cases, and
python won't let us know about it. In that case, an exception is thrown,
leaving the SystemResourceMonitor (and its callers) in a weird state. In
practice, this leads BuildMonitor.__exit__ to recall stop, which then
fails.

So when poll() throws an exception, we pretend there's still something
to read, and we try to read anyways. If there is something to read,
recv() will return it, otherwise, it will throw an exception of its own,
which we catch, pretending we're done.

Furthermore, when there is nothing to read from the pipe, poll() simply
returns False, and our loop never sets `done` to True, and we then hit
an assert, which doesn't have its place here, so we remove it.

Finally, the other end of the pipe might have died at any time, making
sending over the pipe fail, so we also protect against that.

With all these changes, it feels like the reason to backout bug 1239939
in bug 1272782 should have been dealt with, and we can drop the timeout
again.

--HG--
extra : rebase_source : fededf989fe9021654b67d5a070f7e49aa717f3c
2017-08-16 13:16:16 +09:00
Wes Kocher
c1383cebf3 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KLrOCT1a7El
2017-08-17 16:23:45 -07:00
Wes Kocher
1d9f00cb8d Merge inbound to m-c a=merge
MozReview-Commit-ID: CQeEqtGlaXh
2017-08-17 16:16:51 -07:00
Gian-Carlo Pascutto
f4a0bc4497 Bug 1386826 - Whitelist the objdir, so _tests gets covered. r=jmaher
MozReview-Commit-ID: 8SHk1Pfy37I

--HG--
extra : rebase_source : 3944e20e310dda395e67ba9b1e33747413dea84e
2017-08-16 19:03:09 +02:00
Henrik Skupin
f7fd4a1cd9 Bug 1387403 - Force quitting the browser if no session can be established. r=jgraham
In case the NewSession command fails due to errors returned
by Marionette, the browser has to be killed. This is necessary
because DeleteSession always requires an existent session, and
would fail in closing the browser. So the process would continue
to be alive.

MozReview-Commit-ID: 1llX4lPNYjN

--HG--
extra : rebase_source : 0da6529e2c09358c83760fc66c997db09665e304
2017-08-17 14:05:11 +02:00
Andreas Tolfsen
59a7d270fb Bug 1390520 - Improve readability of Set Window Rect test. r=automatedtester
In addition to readability improvements, it fixes a few small errors
where the "x" and "y" field are being mixed up.

MozReview-Commit-ID: LP8uAaELadY

--HG--
extra : rebase_source : 855c8a7b84396a57df63e315a78b5f1e389eda16
2017-08-15 16:35:03 +01:00
Andreas Tolfsen
1724ec2c8b Bug 1390520 - Enable Set Window Rect from minimized window state test. r=automatedtester
Now that geckodriver has support for window state in the window rect
object, we can enable the test_set_window_rect_window_minimized test
from testing/web-platform/tests/webdriver/tests/set_window_rect.py.

MozReview-Commit-ID: FY6EZTxMUbE

--HG--
extra : rebase_source : 0614f35e35ef4274e13ccc35d12093e7bdc18afa
2017-08-15 15:57:34 +01:00
Andrew Halberstadt
b949847b39 Bug 1387135 - Add an 'artifact' try_task_config template to schedule artifact builds, r=dustin
This will change all build symbols to 'Ba' and set the USE_ARTIFACTS=1 environment variable.
Mozharness will detect this env to decide whether to perform an artifact build or not.

MozReview-Commit-ID: J8HVZzOt4mX

--HG--
extra : rebase_source : 453028d9be5cb2ad07e9a2a8b769cb6aac9893fe
2017-08-15 11:37:40 -04:00
Rob Wood
1721a468a7 Bug 1387265 - Expand talos tp6 to macosx; r=jmaher
MozReview-Commit-ID: 78LGHEJNGz4

--HG--
extra : rebase_source : ad7189968b15ea7cd830d18a0e7033df65d8489f
2017-08-15 15:30:23 -04:00
Henry Chang
1d343fefaa Bug 1365157 - wpt test cases to ensure 'data:' iframe is forbidden to access its contentDocument. r=ckerschb
MozReview-Commit-ID: 8jnewE1eEcc

--HG--
extra : rebase_source : 4c580e32c7e19a241e0f31094fd7c12aff275a72
2017-08-17 09:47:14 +08:00
Henrik Skupin
f901b6658a Bug 1254136 - Fix double registration for sessionstore-windows-restored. r=automatedtester
A missing break statement caused a double execution of the code in
"profile-after-change", which leads to two instantiations of the
Marionette server colliding due to the same port.

MozReview-Commit-ID: Dp6fncj463j

--HG--
extra : rebase_source : dd4301c2fb797da228c0011e6bd90afa9171fb54
2017-08-10 18:04:47 +02:00
Henrik Skupin
f5ae03f271 Bug 1391016 - "proxyAutoconfigUrl" is required for proxyType "pac". r=automatedtester
MozReview-Commit-ID: DC43PmCAWBn

--HG--
extra : rebase_source : 910653f16a44f934dddbb9a00d1d66bf496ee1fe
2017-08-16 21:58:55 +02:00
Henrik Skupin
1342b7079f Bug 1391016 - Make sure that proxyType is required and a string. r=automatedtester
The webdriver spec declares the "proxyType" as required, and of
type string.

MozReview-Commit-ID: FXUhdYfOwWI

--HG--
extra : rebase_source : dc069a4de1e014951ed430bf5448ca0e3ac2545e
2017-08-16 21:45:09 +02:00
Ho-Pang Hsu
977f9579e3 Bug 1353636 - Part 4: Enable a related web-platform-test. r=bkelly
--HG--
extra : rebase_source : bd1025df6709bc06843cf5949dfaf060051e5e9c
2017-08-07 16:09:16 +08:00
Carsten "Tomcat" Book
99aa3f8e70 Merge mozilla-central to mozilla-inbound 2017-08-17 13:13:10 +02:00
Hiroyuki Ikezoe
e8753538c3 Bug 1356241 - Drop preference values that are already set in prefs_general.js. r=daisuke
There are no other meta files that the preference values which were dropped in
this patch are set explicitly.

MozReview-Commit-ID: 6FXjj8gVPER

--HG--
extra : rebase_source : 1e1af50230201bf6aeccbc4ded5401f90a0b0d6c
2017-08-17 08:57:01 +09:00
Hiroyuki Ikezoe
a30003cd17 Bug 1356241 - Return specified 'normal' value for column-gap computed value. r=dholbert
In the spec [1], computed value for column-gap is defined as
'as specified, with <length>s made absolute'.

[1] https://drafts.csswg.org/css-multicol-1/#column-gap

MozReview-Commit-ID: IO22V33z8pz

--HG--
extra : rebase_source : 63167965a0e89fd298df3a22a7c5e41ed34dd1e9
2017-08-17 08:56:00 +09:00
Hiroyuki Ikezoe
da048b2b99 Bug 1356241 - Set the pref for overflow-clip-box true since it's not contained in prefs_general.js. r=daisuke
MozReview-Commit-ID: 96FsyOjwiTV

--HG--
extra : rebase_source : b29443c55dad849d115a19f0f2a76616494c310f
2017-08-17 08:56:00 +09:00
Wes Kocher
366445521c Merge m-c to autoland, a=merge
MozReview-Commit-ID: DjSlrmDFfe3
2017-08-16 17:14:41 -07:00
Wes Kocher
9e13a44b54 Merge inbound to central, a=merge
MozReview-Commit-ID: GEfEDRZk5bo
2017-08-16 16:59:26 -07:00
Joel Maher
527cb9bd76 Bug 1383789 - Enable Stylo Talos tests on more desktop platforms. r=rwood
MozReview-Commit-ID: IcJc46A3izI
2017-08-16 10:21:06 -04:00
Geoff Brown
3160467cf1 Bug 1390599 - 3. Add --verify and --verify-max-time options to xpcshell test harness; r=jmaher
This adds test verification support to the xpcshell test harness. With --verify,
the specified test(s) are run 20 times, then another 20 times in chaos mode.

Tests are run sequentially. I have some interest in running in parallel also,
but this may not be practical: 1. Under normal circumstances, a test does not
run in parallel with itself, so it is arguably an unrealistic mode of operation;
2. Logging fails if it sees a test start after a test with the same name has completed.
2017-08-16 06:55:55 -06:00
Geoff Brown
34e5369daa Bug 1390599 - 2. Break xpcshell test harness runTests() function into smaller pieces; r=jmaher
New function updateMozinfo() is broken out of runTests() and the remainder of runTests()
is split into two parts: runTests() prepares tests, then calls new function runTestList() to
actually run them. All changes are structural and no change in behavior is expected.
2017-08-16 06:55:53 -06:00
Geoff Brown
e4e2fc78d1 Bug 1390599 - 1. Simplify argument passing in xpcshell test harness; r=jmaher
The complexity of the xpcshell test harness has grown over time. I am reluctant
to make it more complex without first trying to simplify it. Here I consolidate
some of the argument passing between functions in an attempt to simplify some
important interfaces. Changes are strictly structural and should result in no
change in behavior.
2017-08-15 09:06:16 -06:00
Geoff Brown
f735ed7396 Bug 1388883 - Ensure a fresh necko cache for each mochitest and reftest run; r=bc 2017-08-16 06:55:49 -06:00
Carsten "Tomcat" Book
eea1986e03 merge mozilla-inbound to mozilla-central a=merge 2017-08-16 11:23:24 +02:00
Wes Kocher
2629822558 Merge m-c to inbound, a=merge
MozReview-Commit-ID: I6LUATZz1q3
2017-08-15 23:16:41 -07:00
Aki Sasaki
9d3cf9697f bug 1383771 - back out d25db0546c92 (reland ffc2e43aa834). r=backout a=release
MozReview-Commit-ID: LlNo4Npariw

--HG--
extra : transplant_source : %86Z0%DF%CA%04%B6%AB%2B%0Dz%AF%D6%16%D2%ED%B6%A0%93%F6
2017-08-15 22:54:08 -07:00
Wes Kocher
7921644d1b Merge inbound to central, a=merge
MozReview-Commit-ID: 1DadhJTLBXN
2017-08-15 19:02:51 -07:00
Wes Kocher
5a4fb82b72 Merge autoland to central, a=merge
MozReview-Commit-ID: FOw9Q98gVXH
2017-08-15 18:51:25 -07:00
Aki Sasaki
03c0e3b9cb bug 1383771 - back out ffc2e43aa834 until we fix bug 1390552. r=backout a=release 2017-08-15 14:25:04 -07:00
Andreas Tolfsen
6358549fc7 No bug: Generate Marionette API docs. r=me
MozReview-Commit-ID: L9YAB4WCZmu
2017-08-15 19:56:04 +01:00