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

74 Коммитов

Автор SHA1 Сообщение Дата
Maja Frydrychowicz 1b4a262a4c Bug 1219397 - Collect Firefox-Desktop-specific prefs in a subclass of GeckoInstance; r=automatedtester
--HG--
extra : rebase_source : 890b1e9915f8ef09e2c74dcbd0cacad68fb4c464
2015-11-05 12:16:32 -05:00
Maja Frydrychowicz 4cb179de44 Bug 1217557 - set browser.tabs.remote.autostart to False in GeckoInstance; r=automatedtester
--HG--
extra : rebase_source : 11ff5f88613b18ad7d46ca0f8ef008fdff2da2e3
2015-11-02 18:19:58 -05:00
Andreas Tolfsen 446f2ed4ec Bug 1216967: Bump Marionette Python packages
Prepare release of new Python packages for Marionette, with the following
versions:

  marionette-client 1.1.0
  marionette-driver 1.1.0
  marionette-transport 1.0.0

r=dburns

--HG--
extra : commitid : DelEI4Q7Gnu
extra : rebase_source : 7cf900d42fbd60e44e6855c93807a7ba1409fb16
2015-10-21 14:21:27 +01:00
David Burns 7cc0a899a5 Bug 1206122: Add support for switchToParentFrame r=jgriffin
This allows us from a child frame to go up one level. This is documented
at http://w3c.github.io/webdriver/webdriver-spec.html#switch-to-parent-frame

--HG--
extra : commitid : GtXAxWLM61v
extra : rebase_source : 9b18d51a5dbefb4dad1cb39b229dc3d55cfae26a
extra : histedit_source : d0a0479e0c9946f242efd71e722685447ae48fd1
2015-10-19 21:39:48 +01:00
Andreas Tolfsen 2d613cd4d7 Bug 1211503: Support for Marionette protocol level 3 in the Python client
Futures-proofs the Marionette Python client to have support for level
3 of the Marionette protocol outlined in bug 1211489.

This patch changes the marionette-transport API most notably by renaming
the MarionetteTransport class to TcpTransport and by splitting the
receive-capabilities of TcpTransport.send into a new function called
request.

Furthermore it introduces a message data structure for dealing with
incoming responses and commands, and for marshaling messages to send in
order to support all three protocol levels.

r=dburns
r=jgriffin

--HG--
extra : commitid : 3jwoFepZzgy
extra : rebase_source : 5012e774b6edf6a1d53db22e360b5a0b063dd59b
2015-10-09 11:15:24 +01:00
Ting-Yu Lin bbd3b85333 Bug 1209841 - Improve move_caret_by_offset() in selection.py. r=automatedtester
* Incorporate the for-loop in python into javascript so that we only
  need to call execute_script() once.
* Add documentation for parameters.

--HG--
extra : commitid : 88Mi3beYfSI
extra : rebase_source : bcf949c8a6055cf6ccaf541f8005fe88256555be
2015-09-30 18:29:34 +08:00
David Burns a7d8cd3acc Bug 1209698: Bump version numbers for Marionette packages; r=jgriffin
The version numbers have been moved to be major.minor.patch to allow
better versioning moving forward.

--HG--
extra : commitid : Lm21l6zZmge
extra : rebase_source : 432a27f8727106a78114b745aca019771f254e93
2015-09-30 13:23:50 +01:00
Ting-Yu Lin 9a643f53d9 Bug 1164124 - Add using_prefs context manager. r=jgriffin
Add get_pref(), set_pref(), set_prefs() to make manipulate preferences
easier.

enforce_gecko_prefs() did the similar job as set_prefs(), but it will
restart the browser if a preference to be set are different from what is
already set in the system. Not all gecko preferences require a restart
to work. Using set_prefs() should make testing faster. See bug 1048554.

--HG--
extra : commitid : 8zY9oaHkSW1
extra : rebase_source : 787114d94f50e9f132fb7d5898cecf104e281700
2015-09-30 16:26:58 +08:00
David Burns 9959a7982f Bug 1201036: Bump marionette client and marionette driver for releases; r=jgriffin
--HG--
extra : commitid : 4hSlrLSpGRV
extra : rebase_source : 6afc9e3eb9807927a25837644a09547f1c1f9c2f
2015-09-28 21:20:29 +01:00
Chris Manchester 7c2c936f02 Bug 1185486 - Part 1: Use a timeout when waiting on the browser process after a timed out command. r=jgriffin
--HG--
extra : commitid : BisQq4gzA18
2015-09-25 07:33:11 -07:00
David Burns f804a7c499 Bug 1137972: Send W3C Element Key to Marionette Server from python client; r=jgriffin
--HG--
extra : commitid : ANe5Qu0dCA8
extra : rebase_source : 29b7a460cc3ed201caf963a10756430b79dbd5c5
2015-09-15 20:45:39 +01:00
David Burns ff2b265ba1 Bug 1137972: Centralize unwrapping the response from marionette; r=jgriffin
--HG--
extra : commitid : 94hIuseVTZ7
extra : rebase_source : 15d3704629e1caccd483ed075e7ede0ce63d6203
2015-09-11 23:55:59 +01:00
David Burns f6bcf02594 Bug 1200973 - Remove unneeded app cache code from Marionette; r=jgriffin
--HG--
extra : commitid : Dp3kNOM1zkn
extra : rebase_source : 51284534f8ce437ab9e69e00a91fc92da46bae4f
extra : histedit_source : 6f5f30baa51b19577eb1a298b5b6a87bf599683c
2015-09-04 21:49:39 +01:00
Andreas Tolfsen de80bc12fe Bug 1162515: Remove FrameSendFailureError and FrameNotInitializedError
Removes FrameSendFailureError and FrameNotInitializedError from the
Marionette Python client.

r=davehunt

--HG--
extra : commitid : GUUlKplFtOH
extra : rebase_source : 8d4d135f8a0adee8491b0af2b8c65861adc712ca
2015-05-07 17:18:05 +01:00
Jonathan Griffin 890126984a Bug 1200420 - Better handling of startup_timeout, r=AutomatedTester
--HG--
extra : commitid : CLLRo9AJtdQ
2015-09-03 15:41:58 -07:00
Yura Zenevich 75c928c716 Bug 1194224 - adding support for Shadow DOM in marionette. r=automatedtester 2015-08-31 14:43:15 -04:00
Yoshi Huang 4347bb2318 Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
Bobby Holley edfe287f26 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Andrew Halberstadt 6073d46e10 Bug 1197835 - Version bump marionette-client == 0.19, marionette-transport == 0.7, marionette-driver == 0.13, r=ato
--HG--
extra : commitid : DPLeqmqbgQV
extra : rebase_source : a25de99f52df2666b158734d958175d340e436fd
2015-08-24 10:59:47 -04:00
Ryan VanderMeulen 125759fa69 Merge inbound to m-c. a=merge 2015-08-24 20:37:14 -04:00
Edgar Chen 5cdc72b485 Bug 1197078 - Send result of emulator command in JSON format. f=ato r=dburns 2015-08-21 10:41:55 +08:00
Yoshi Huang 12efacfa8c Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Andreas Tolfsen 9351a4ab23 Bug 1194968: Support for Marionette protocol adjustments in Python client
Whilst it is not a goal for the Marionette protocol to be fully compatible
with WebDriver due to the different transport mechanisms, bug 1153822
adjusts the Marionette protocol closer to what is prescribed in the
WebDriver specification.

This patch adds support for the new protocol (level or version 2)
to the Python bindings with backwards compatibility for the earlier,
existing protocol (1).

r=jgriffin

--HG--
extra : commitid : CiAKTE3h1nG
extra : rebase_source : ea3ed4ec021febac7f3b2ae2c10ec583a3ddfcff
2015-08-15 15:46:31 +01:00
David Burns d0149ca48f Bug 1195440: Disable health reporting when marionette tests are running; r=jgriffin
--HG--
extra : commitid : 6ltTPgnkn0V
extra : rebase_source : 3cf8839225e8b9d64ef866e983fbbe329526bbf4
2015-08-17 21:36:57 +01:00
Chris Manchester 355eb3d3aa Bug 1192331 - Disable search suggestions UI when running marionette tests and re-enable modal test. r=adw
--HG--
extra : commitid : 2uv5qAMBvVf
2015-08-07 12:30:31 -07:00
Julien Pagès 7dfc1e9f5c Bug 1190817 - marionette install from pypi is broken. r=automatedtester
--HG--
extra : rebase_source : 99a8270acdda2733f6aaacdbf19fe61a330fd319
2015-08-04 05:49:00 +02:00
David Burns ea2f796952 Bug 1189027: Bump marionette driver to 0.11; r=ato
--HG--
extra : commitid : 1QEn9tLwEPJ
extra : rebase_source : b2c9ed24f878d606dc566929e949aaf53d4dc851
2015-07-29 20:48:07 +01:00
Julien Pagès 78bf9783e7 Bug 1168803 - Add --addon option to specify add-ons to be installed. r=dburns
--HG--
extra : commitid : peO1rLe9oG
extra : rebase_source : b557243a86a861a535b098e4965cd371dfd60877
2015-07-18 10:53:10 +02:00
Julien Pagès 1b995b9a16 Bug 1183157 - make marionette --version flag also show the transport and driver package versions. r=dburns
--HG--
extra : commitid : 9r6zCILoeE4
extra : rebase_source : 6d0475dec01fe9b97ac318ad0948bfe8e9e15e56
2015-07-17 21:06:12 +02:00
Jonathan Griffin ce7bb7688f Bug 1182681 - Raise IOError when receiving empty string on socket, r=jgraham
* * *
Bug 1182681 - Raise IOError when we receive an emtry string, r=jgraham

--HG--
extra : commitid : 4wbq21Yb9yA
2015-07-13 12:29:21 -07:00
Ehsan Akhgari 02e4c3c7fb Backout bug 1182681 for web-platform-test failures on a CLOSED TREE 2015-07-13 21:43:54 -04:00
Jonathan Griffin 3e227be7f7 Bug 1182681 - Raise IOError when receiving empty string on socket, r=jgraham
* * *
Bug 1182681 - Raise IOError when we receive an emtry string, r=jgraham

--HG--
extra : commitid : 2JF1C6eDB0l
2015-07-13 12:29:21 -07:00
Julien Pagès f80f5c4878 Bug 1081970 - Gracefully handle interrupts when running test suite. r=dburns 2015-07-12 09:32:00 -04:00
Jonathan Griffin 3bf635914f Bug 1161702 - Add --startup-timeout arg for Marionette; add in-tree config for luciddream, r=ahal 2015-07-07 12:26:54 -07:00
Chris Manchester 213a215144 Bug 1174766 - Append to gecko logfile after marionette restarts the browser rather than removing the old file every time.;r=ato
--HG--
extra : commitid : ACiV5ULwCRm
2015-06-20 09:46:00 -07:00
Chris Manchester 26fdea8c56 Backed out changeset 101932a675a4 (bug 1174766) for winXP failures
--HG--
extra : commitid : 7icZ0RCmbcN
2015-06-20 15:27:11 -07:00
Chris Manchester b1bba28dbf Bug 1174766 - Append to gecko logfile after marionette restarts the browser rather than removing the old file every time.;r=ato
--HG--
extra : commitid : 3W4IxVnJKVU
2015-06-20 09:46:00 -07:00
Jonathan Griffin 53313cd80f Bug 1166033 - Notice when the process has died, and restart it, r=dburns 2015-06-18 14:26:53 -07:00
Jonathan Griffin 479984afe5 Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Jonathan Griffin 8824722da9 Backout cc15c275b1e3 (Bug 1149618) on a CLOSED TREE for suspected debug emulator bustage, a=bustage 2015-05-19 19:35:38 -07:00
Jonathan Griffin ac2f6d8d6e Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Jonathan Griffin b74bde0686 Bug 1161606 - Implement 'using_permission' context manager, r=dburns 2015-05-14 12:08:17 -07:00
Jonathan Griffin d1b4469ce0 Bug 1149618 - Add a sandbox parameter to execute, r=dburns 2015-04-23 13:39:38 -07:00
Jonathan Griffin 502f037d62 Bug 1149618 - Implement push_permission in Marionette, r=dburns 2015-05-04 09:49:08 -07:00
Andreas Tolfsen 2289af5da8 Bug 1060300: Match Marionette's navigation API docs to reality
r=dhunt

--HG--
extra : rebase_source : 1a2f0edf8df5728bf2d768fc8dc69d045f572021
2015-05-04 11:25:03 +01:00
Andreas Tolfsen 989ed7e48f Bug 1155716: Part 2: Remove HTMLElement#submit from marionette-driver
Also bumps the marionette-driver version to 0.6 and removes submit tests.

r=dburns

--HG--
extra : source : c58c47e280f67a7678890674e4295982fb92e521
2015-04-29 11:32:01 +01:00
Andreas Tolfsen 74a53a677c Bug 1158219: Don't set `id' field if undefined when switching frame
When the `frame' argument is None, which it is by default, we were setting
the `id' field of the packet regardless.  This only works because of a
faulty == operator comparison in the server.

r=jgriffin

--HG--
extra : rebase_source : cd490db0c8c18f68d4a91803daa833bc2f08631e
2015-04-24 17:55:22 +01:00
Andreas Tolfsen 06c35da2a3 Bug 1154525: Make HTMLElement#location and #size use #rect internally
getElementSize and getElementLocation are getting removed from the
Marionette server (bug 1153911) and this is in preparation for that.

Fortunately getElementRect is backwards compatible and we can extract
the properties we need from that dictionary.

r=chmanchester

--HG--
extra : rebase_source : 8d4d8c005c90f335f4c241e677973807cfca0cb4
2015-04-17 17:02:14 +01:00
Andreas Tolfsen 7c51ddf2e5 Bug 1154681: Use static lookups in errors.py
r=jgraham

--HG--
extra : rebase_source : 722c91dc3060e92f34eb3a6070911ee62343d9ed
2015-04-21 12:26:39 +01:00
Chris Manchester 083cf8231a Bug 1083131 - Always remove a profile created by marionette when the runner shuts down. r=ato
--HG--
extra : rebase_source : 80e69db64e682c1e9eeecbb3c3b7e7efda2091ef
2015-04-16 18:04:24 -07:00