Commit Graph

19172 Commits

Author SHA1 Message Date
David Anderson
5853a1cb55 Add a Talos test for displaylist mutation. (bug 1411804, r=jmaher, r=mattwoodrow) 2017-10-30 10:11:45 -07:00
Paolo Amadini
98b8fb39b7 Bug 1411979 - Share the getTempFile function in xpcshell and browser tests. r=mak
MozReview-Commit-ID: 5hshgOrFqws

--HG--
extra : rebase_source : c7b173f7c2685c9522ef0626b74819273352a373
extra : source : 68e85782bbcab3c06e729551643bdc602cf8de71
2017-10-31 13:25:45 +00:00
Joel Maher
34110f34d0 Bug 1412904 - fill in missing bugzilla_components in testing/webdriver. r=ato 2017-10-31 12:27:48 -04:00
Joel Maher
a225135c30 Bug 1407383 - Disable /webdriver/tests/actions/key.py on linux for frequent failures. r=me, a=testonly 2017-10-31 08:46:32 -04:00
Margareta Eliza Balazs
a63fdbeabb Merge inbound to mozilla-central r=merge a=merge 2017-10-31 12:46:19 +02:00
Samael Wang
752dc4bc75 Bug 1397512 - Part 2: Add wpt test of form submission inside an onload handler. r=smaug
MozReview-Commit-ID: HearVphzHsG

--HG--
extra : rebase_source : 0388aa650a7a56e69b908d7ae389377d2e51744d
2017-10-26 17:26:53 +08:00
Phil Ringnalda
046d7cd77a Backed out changeset 349b9517cb9b (bug 1403131) for wpt, talos, android, and marionette failures
CLOSED TREE

MozReview-Commit-ID: GEyvPM0mvkR
2017-10-30 20:55:37 -07:00
Steve Armand
bb8ebfb3dd Bug 1403131 - Run linters against mozharness scripts and configs. r=rail
MozReview-Commit-ID: vCOGNkXdEB

--HG--
extra : rebase_source : ae13f1a7db351173a2ffebad5695706711bc0217
extra : amend_source : 17c34ccb9e603b5219ec898c5ef767ab541ca6f7
2017-10-28 22:43:19 -04:00
Joel Maher
ede9d9fd21 Bug 1412916 - fill in missing bugzilla_components. r=gps 2017-10-30 19:07:20 -04:00
Joel Maher
ab5f3e7d54 Bug 1411980 - annotate newer directories with bugzilla compoents. r=overholt 2017-10-30 19:07:17 -04:00
Sebastian Hengst
2c835e29c4 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-31 00:00:54 +01:00
Sebastian Hengst
f07fc93141 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00
Geoff Brown
2d0571a567 Bug 1412526 - Only verify first 10 modified tests in test-verify; r=jmaher
Trying to verify an unlimited number of tests will likely run out of time
or log space, so give up once 10 tests are verified.
2017-10-30 15:13:42 -06:00
Christoph Kerschbaumer
652d8d1b48 Bug 1302667 - Update wpt tests for worker-src. r=dveditz,mckinley 2017-10-30 18:46:51 +01:00
Sebastian Hengst
7bf9eb161a Backed out 2 changesets (bug 1411979) for failing xpcshell's toolkit/components/jsdownloads/test/unit/test_PrivateTemp.js. r=backout on a CLOSED TREE
Backed out changeset 7a4f33d16b9e (bug 1411979)
***
Backed out changeset 68e85782bbca (bug 1411979)

--HG--
extra : histedit_source : 0226bf9f95762ef7fe4e57aee97b96ae5deff496%2C066dd55855dbcbd146642acd72bcd4e5d8044a2f
2017-10-30 19:19:45 +01:00
Paolo Amadini
7e4a6c3456 Bug 1411979 - Share the getTempFile function in xpcshell and browser tests. r=mak
MozReview-Commit-ID: 5hshgOrFqws

--HG--
extra : rebase_source : 9377484a4416829e0bfbe30c70d434b331e7301c
2017-10-30 16:53:22 +00:00
Sebastian Hengst
7eb270c395 Backed out 4 changesets (bug 1410652) for eslint failure at testing/marionette/element.js: Line 1456 exceeds the maximum line length of 78. r=backout
Backed out changeset 97031d4ea2bd (bug 1410652)
Backed out changeset 66754caa4c52 (bug 1410652)
Backed out changeset 48048929bb17 (bug 1410652)
Backed out changeset 265a168b4e37 (bug 1410652)
2017-10-30 19:32:43 +01:00
Paolo Amadini
dac52b86d6 Bug 1412282 - Allow calling Assert.jsm methods directly from other test-only modules. r=mikedeboer
This adds a global instance that can be used by invoking assertion methods directly on the imported Assert object. The test suites set the global reporter function to the one for the currently running test.

MozReview-Commit-ID: 8dksVc9o7r

--HG--
extra : rebase_source : 3e382c6d24c6019d29963811c37469cfc23b928f
2017-10-27 14:38:30 +01:00
Ben Hearsum
e8206e5b10 No bug: Update dev postrelease configs to use jamun, like other dev release configs. r=rail
--HG--
extra : rebase_source : 7012a82fa36e806719b689ab8af1012ddb2e9112
2017-10-30 10:48:34 -04:00
Chris H-C
75fc345254 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.
reftests should have unified telemetry on. It's the future.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-30 10:47:39 -04:00
Ben Kelly
405bf923d7 Bug 1412015 P4 Update redirected-response.https.html WPT expectation for redirect limit test. r=asuth 2017-10-30 10:30:01 -04:00
Andreas Tolfsen
8cd7e47451 Bug 1411307 - Return iterators for element retrieval. r=whimboo
These functions currently return sequences or arrays of elements, which
wastes cycles and memory because we spend time constructing these data
collections in cases where we only need the first element.  This is
the case for WebDriver:FindElement and WebDriver:FindElementFromElement.

This patch changes the Marionette element retrieval functions to
consistently provide iterators instead of sequences when looking
up elements.  Making them generator functions means the iterable
can be expanded using [...iterable] when necessary.

MozReview-Commit-ID: FZbKLuRWqgA

--HG--
extra : rebase_source : 1e7dc8c614004444f8b2476cb1a136ed36943374
2017-10-24 16:51:38 +01:00
Andreas Tolfsen
8c8b85caa1 Bug 1410652 - Let WebDriver:SwitchToFrame take a web element. r=whimboo
The "element" field on the WebDriver:SwitchToFrame command request's
body takes a string web element reference UUID as input.  This patch
changes it so that it can also take a web element JSON Object.

The old behaviour can be removed with Firefox 60.

MozReview-Commit-ID: JcTD3MRxjOe

--HG--
extra : rebase_source : 3da4b30d2689b6416d89bee838df73af40db2686
2017-10-21 19:30:27 +01:00
Andreas Tolfsen
d15a90317a Bug 1410652 - Use invalid argument error for web element deserialisation. r=whimboo
For user input we will want to return the appropriate invalid
argument error.  For internal input using TypeError is fine.

MozReview-Commit-ID: AlOnZuhaczN

--HG--
extra : rebase_source : 57992fc62c08736cb24f7ee229a4c8930751e068
2017-10-24 17:42:32 +01:00
Andreas Tolfsen
4b10cb69dd Bug 1410652 - Fix various API documentation in element module. r=whimboo
MozReview-Commit-ID: AaGnolglX5n

--HG--
extra : rebase_source : de1c338530fbbb68f695c2af8de53a9fe9c1c8e0
2017-10-24 17:38:55 +01:00
Andreas Tolfsen
999ba4ba27 Bug 1410652 - Fix API docs of assert functions. r=whimboo
MozReview-Commit-ID: HktgnHoCGZV

--HG--
extra : rebase_source : a7b5586dba2a18d325aac765a9db13de31696095
2017-10-24 17:32:26 +01:00
Blake Kaplan
7c4636bb85 Bug 1413022 - Re-enable this test now that it shouldn't fail any more. r=jmaher
MozReview-Commit-ID: 1L6kBcRhd3q

--HG--
extra : rebase_source : b8ab63d8591e47a995a54df135ac0aa7dfa3106f
2017-10-30 15:23:09 -07:00
Rob Wood
e9cb9d391f Bug 1369537 - preparing for talos on tc win vm; r=jmaher
MozReview-Commit-ID: KZbPBClEzHI

--HG--
extra : rebase_source : f6f29f94f7fe9c017cd11b7465321a849b1da6ad
2017-10-19 16:24:48 -04:00
Sebastian Hengst
6979ea37b4 merge mozilla-central to autoland. r=merge a=merge 2017-10-30 23:58:16 +01:00
Tom Prince
007a87532f Bug 1412105: Don't hardcode objdir in build_resources_path; r=jlund
MozReview-Commit-ID: B82gmPToKFW

--HG--
extra : rebase_source : 4d4d5f7f1dedeab8972bb6d0fc9e3de6f649bc07
2017-10-26 14:38:12 -06:00
Andreas Tolfsen
128ae86a8c Bug 1412037 - Prevent geckodriver from being published. r=jgraham
This prevents the geckodriver crate from being published to a
package registry like crates.io by mistake.

MozReview-Commit-ID: 7Qc9vaPhdJh

--HG--
extra : rebase_source : ec1f470a69c14c240b2cb522eb4475b22ed4a9da
2017-10-30 16:07:06 +00:00
Andreas Tolfsen
0d1f521e56 Bug 1412037 - Release geckodriver 0.19.1. r=jgraham
MozReview-Commit-ID: 4G4Vk5D86Nm

--HG--
extra : rebase_source : 98fb1c61cb1d2714158a502187b892ec58ce7dee
2017-10-26 18:10:51 +01:00
Andreas Tolfsen
4f3f33c2ed Bug 1412037 - Update changelog. r=jgraham
MozReview-Commit-ID: E1Xku8qLcgt

--HG--
extra : rebase_source : fa9013fe5625c9fbfd9c8ea92343494e683ae8c1
2017-10-26 18:10:34 +01:00
Andreas Tolfsen
f056551b50 Bug 1412037 - Release webdriver crate 0.32.0. r=jgraham
A release of the webdriver crate is necessary for the release build
to pass on Travis, since testing/geckodriver/Cargo.toml cannot
depend on testing/webdriver as it is exported to the GitHub repository.

MozReview-Commit-ID: 1S2aAtg50t4

--HG--
extra : rebase_source : 53ef155537a44ef2bc141ea30a635e4144625118
2017-10-26 18:05:29 +01:00
Andreas Tolfsen
2529547a8f Bug 1411281 - Make assert_same_element accept webdriver.Element r=jgraham
Allow assert_same_element to compare web element references (JSON
Objects) with webdriver.Element and vice versa.

Tests will typically look up some element using traditional means
and use that as the trusted comparison when retrieving the same
element using the session.transport.send primitive that returns
the plain JSON Object.

MozReview-Commit-ID: 2DScnviOevb

--HG--
extra : rebase_source : d84fc331cdf2b2eb2bd36b71a184e5239b60bdff
2017-10-25 16:54:03 +01:00
Andreas Tolfsen
d8489ee74b Bug 1411281 - Unmarshal all responses in WPT WebDriver client r=jgraham
The WPT WebDriver client currently only unmarshals responses for some
commands (notably execute_script, execute_async_script, and find.css).
For the client API we want to unmarshal all response bodies automatically.

This patch moves all JSON serialisation/deserialisation to a new
webdriver.protocol package so that it is not scattered around
the client API.  It introduces specialisations of JSONEncoder and
JSONDecoder that allows web element references to be recognised
and converted to complex webdriver.Element objects.

This change means it is no longer necessary for callers to invoke
webdriver.Session._element to convert the response to a web element
as this will be done automatically on any request- and response
body to webdriver.Sesson.send_command.

An important thing to note is that HTTPWireProtocol.send does not  follow
this behaviour by default.  That is because session.transport.send
is used throughout WebDriver tests in WPT as a way to get the raw
JSON body without having to set up session state manually.

MozReview-Commit-ID: 5UyDAe43Hgf

--HG--
extra : rebase_source : b86495dd0dcd102e6dea87011caafad475b88723
2017-10-25 14:18:26 +01:00
Andreas Tolfsen
ca6428c47f Bug 1411281 - Swap webdriver.Element ctor arguments r=jgraham
It is more natural for the web element UUID to come first, followed
by the associated session state.

The patch also adds ctor documentation.

MozReview-Commit-ID: 5iV4SZzMeKS

--HG--
extra : rebase_source : e9f68a2a934b2c13a9d1d913204e7e3d9bce6b42
2017-10-25 10:13:18 +01:00
Andreas Tolfsen
ffe20afd29 Bug 1411281 - Add equality test for webdriver.Element r=jgraham
When comparing two instances of webdriver.Element we want to first
check the type, to make sure the "id" attribute is present, then
compare the web element reference UUIDs.  These are supposed to be
unique across all browsing contexts.

MozReview-Commit-ID: 68PUBQxPdQ5

--HG--
extra : rebase_source : f0c52efd0db3a13ea1b90dc6c058ebee2de76e1d
2017-10-25 09:59:52 +01:00
Andreas Tolfsen
b0cfd27758 Bug 1411281 - Add equality test for webdriver.Session r=jgraham
When comparing two instances of webdriver.Session we want to first
check that there is a current session, then the type of the object
to compare with to make sure the "session_id" attribute is present,
then finally we compare the session IDs.

MozReview-Commit-ID: 6Ch4Uy2MEhB

--HG--
extra : rebase_source : 252fe31680c57831b122d2bb53fe133b32c322eb
2017-10-26 17:15:16 +01:00
Andreas Tolfsen
54e90b00f1 Bug 1411281 - Associate web element identifier with webdriver.Element r=jgraham
MozReview-Commit-ID: Fqw3EJnJCsD

--HG--
extra : rebase_source : c9437244567d54614e37f076642440d527ef75dd
2017-10-25 09:57:13 +01:00
Masayuki Nakano
68626e182f Bug 1411687 - part 3: Add webplatform-test for testing "insertParagraph" command when user-defined element is the editing host r=m_kato
MozReview-Commit-ID: 4h53PBCGlU2

--HG--
extra : rebase_source : 1fc5ac1e41008f43956fea3840cdc89da7985df5
2017-10-27 16:01:59 +09:00
Aki Sasaki
66cc0d8772 bug 1412690 - add maple fennec configs. r=rail
This patch adds fennec staging and production relpro configs.

MozReview-Commit-ID: AuY21bqU6bl

--HG--
extra : rebase_source : 209c9d9971d2ee18a7c794e0350af90f05d6b705
2017-10-29 17:19:34 -07:00
Aki Sasaki
22ad3a2ae4 bug 1412690 - Re-add bouncer config files. r=rail
In bug 1360587, we removed bouncer.apk. We accidentally removed the
mozharness config files for bouncer submission in d72b09c9228c as well.

This patch merely adds the files back.

MozReview-Commit-ID: 8c7lFr6Dpz1

--HG--
extra : rebase_source : 17ef6f2de0b0b6e1f8fde50ff3141e23cda160d3
2017-10-29 16:25:18 -07:00
Joel Maher
8e8fe037ac Bug 1411810 - Disable /webrtc/RTCDTMFSender-ontonechange.https.html on windows non e10s for frequent failures. r=me, a=testonly 2017-10-30 09:29:39 -04:00
Coroiu Cristina
44d1b50592 Backed out changeset 70ccfda99dbc::ca6ae38c0432 (bug 1302667) for frequently failing mochitest in security/test/csp/test_worker_src.html r=backout a=backout on a CLOSED TREE
Backed out changeset ca6ae38c0432 (bug 1302667)
Backed out changeset ff86e185e09d (bug 1302667)
Backed out changeset 8ec6b8bf8c6c (bug 1302667)
Backed out changeset 21c73f9d8fac (bug 1302667)
Backed out changeset e982481dbf2c (bug 1302667)
Backed out changeset 70ccfda99dbc (bug 1302667)
2017-10-30 14:19:29 +02:00
Joel Maher
75b4e940ee Bug 1376773 - Disable test_crash.py on osx for frequent failures. r=me, a=testonly 2017-10-30 07:56:24 -04:00
Attila Craciun
f3cd43457f Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-10-30 12:28:40 +02:00
Christoph Kerschbaumer
d4e57ead3d Bug 1302667 - Update wpt tests for worker-src. r=dveditz,mckinley 2017-10-30 09:07:48 +01:00
Phil Ringnalda
44f9cf1517 Backed out changeset d7a32fbcb477 (bug 1411804) for eslint failures
MozReview-Commit-ID: E2Ihodo2iG5
2017-10-29 23:40:13 -07:00
David Anderson
738cb80798 Add a Talos test for displaylist mutation. (bug 1411804, r=jmaher, r=mattwoodrow) 2017-10-29 23:21:39 -07:00