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

1450 Коммитов

Автор SHA1 Сообщение Дата
David Burns 893918b610 Bug 1178468: rename marionette cookie test methods to be more pythonic. r=jgriffin
--HG--
extra : commitid : 72IC676CruQ
extra : rebase_source : 61b82d97a406b38151918bcf924aee51c529156b
extra : histedit_source : 50a4c0fd2e9158311fb2cf06ea42c025b56f73a9
2015-07-07 20:57:57 +01:00
Andrew Halberstadt 2be5ff0c10 Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.

--HG--
rename : testing/mozbase/docs/mozlog_structured.rst => testing/mozbase/docs/mozlog.rst
rename : testing/mozbase/mozlog/mozlog/structured/commandline.py => testing/mozbase/mozlog/mozlog/commandline.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/__init__.py => testing/mozbase/mozlog/mozlog/formatters/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/base.py => testing/mozbase/mozlog/mozlog/formatters/base.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/errorsummary.py => testing/mozbase/mozlog/mozlog/formatters/errorsummary.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/__init__.py => testing/mozbase/mozlog/mozlog/formatters/html/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/html.py => testing/mozbase/mozlog/mozlog/formatters/html/html.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/main.js => testing/mozbase/mozlog/mozlog/formatters/html/main.js
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/style.css => testing/mozbase/mozlog/mozlog/formatters/html/style.css
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/xmlgen.py => testing/mozbase/mozlog/mozlog/formatters/html/xmlgen.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/machformatter.py => testing/mozbase/mozlog/mozlog/formatters/machformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/tbplformatter.py => testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/unittest.py => testing/mozbase/mozlog/mozlog/formatters/unittest.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/xunit.py => testing/mozbase/mozlog/mozlog/formatters/xunit.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/__init__.py => testing/mozbase/mozlog/mozlog/handlers/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/base.py => testing/mozbase/mozlog/mozlog/handlers/base.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/bufferhandler.py => testing/mozbase/mozlog/mozlog/handlers/bufferhandler.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/statushandler.py => testing/mozbase/mozlog/mozlog/handlers/statushandler.py
rename : testing/mozbase/mozlog/mozlog/structured/logtypes.py => testing/mozbase/mozlog/mozlog/logtypes.py
rename : testing/mozbase/mozlog/mozlog/structured/reader.py => testing/mozbase/mozlog/mozlog/reader.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/__init__.py => testing/mozbase/mozlog/mozlog/scripts/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/format.py => testing/mozbase/mozlog/mozlog/scripts/format.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/logmerge.py => testing/mozbase/mozlog/mozlog/scripts/logmerge.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/unstable.py => testing/mozbase/mozlog/mozlog/scripts/unstable.py
rename : testing/mozbase/mozlog/mozlog/structured/stdadapter.py => testing/mozbase/mozlog/mozlog/stdadapter.py
rename : testing/mozbase/mozlog/mozlog/structured/structuredlog.py => testing/mozbase/mozlog/mozlog/structuredlog.py
rename : testing/mozbase/mozlog/mozlog/logger.py => testing/mozbase/mozlog/mozlog/unstructured/logger.py
rename : testing/mozbase/mozlog/mozlog/loggingmixin.py => testing/mozbase/mozlog/mozlog/unstructured/loggingmixin.py
rename : testing/mozbase/mozlog/mozlog/loglistener.py => testing/mozbase/mozlog/mozlog/unstructured/loglistener.py
extra : commitid : 3JWk75JY4N0
extra : rebase_source : 229bad7a7bf8ead013ce62d128c0896a75cad393
2015-07-16 10:38:40 -04: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
David Burns abe9763e58 Bug 1165449: Add the ability to set a proxy via capabilities on Marionette session start; r=jgriffin
By passing an object to capabilities like

  {
    "requiredCapabilities": {
        "proxy": {... }
    }
  }

Specification detail at http://w3c.github.io/webdriver/webdriver-spec.html#dfn-set-the-proxy

--HG--
extra : commitid : 3xR7tPDgMK4
extra : rebase_source : b3af3dfe7d2d0e1701ca0b2162f8ae517b5b4c9a
2015-07-14 00:51:58 +01:00
Julien Pagès 1781b3e4cc Bug 902125 - Add a version config/flag for Python Marionette. r=dburns
--HG--
extra : commitid : I4bJUgDeGUI
extra : rebase_source : 5e7498834bd35cfc0c6fcffd5135eb4dceddd2c2
2015-07-13 18:33:23 +02: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
Julien Pagès 6a32085ee7 Bug 983821 - 'marionette' cli entrypoint doesn't have access to proper packages. r=dburns
--HG--
extra : commitid : EF5ytBCZpuw
extra : rebase_source : 3ec79224fb63ba722c28e7bf00ab76bad721bcff
2015-07-11 08:05:51 +02:00
Tim Taubert a2bcabe26c Bug 1175678 - Follow-up to fix test_chrome_element_css.py and let it check for the new not-secure icon file in the URL bar r=bustage 2015-07-09 15:12:29 +02: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
Henrik Skupin c9d4d45a02 Bug 1178778 - Bump marionette-driver to 0.10. r=automatedtester DONTBUILD 2015-06-30 17:11:21 +02:00
Jonathan Griffin 4ea2b2818d Bug 1177513 - Bump marionette-client to 0.16, r=dburns 2015-06-26 09:42:36 -07:00
Carsten "Tomcat" Book 66f9f77e3d merge mozilla-inbound to mozilla-central a=merge 2015-06-26 13:19:12 +02:00
Gregory Szorc 3e949ee8fe Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.

--HG--
extra : commitid : 6tFME1KKfTD
extra : rebase_source : 78728f82f5487281620e00c2a8004cd5e1968087
2015-06-21 17:39:09 -07:00
Gregory Szorc a19bee3a08 Bug 1176642 - Remove unused imports; r=glandium
--HG--
extra : commitid : IZ7JkH4GKW4
extra : rebase_source : 4c3301c5c353be8afed407df4a003a9cac4583e8
2015-06-25 12:16:38 -07:00
Chris Manchester e71520e019 Bug 1174766 - Modify test_profile_management to use a clean profile to avoid contention on windows.;r=ato
--HG--
extra : commitid : ID9VOYgI5vu
2015-06-24 10:16:27 -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 606f67f584 Bug 1169600 - Remove message listeners intended to coordinate registering a new browser with marionette once the browser has been registered. r=ato
--HG--
extra : commitid : BlpX9XbqiYM
2015-06-24 00:10:10 -07:00
David Burns 56ab0ea19e Bug 1174941: Update conditional to switch statement to allow more processing of capabilities; r=ato
--HG--
extra : commitid : 9X4OIvswmla
extra : rebase_source : 92005138affc9edc1726472f62e9276e2922a0f4
2015-06-19 15:45:46 +01:00
David Burns 720ba26e14 Bug 1174941: Remove all capabilities from desired capabilities if they are in the session capabilitiesand in requiredCapabilities; r=ato
--HG--
extra : commitid : 49h1HhlE4h
extra : rebase_source : fd01b68b9b34414fa5fd84e7fb592d0c22a1e60f
2015-06-19 15:44:25 +01:00
David Burns 74f8ab42da Bug 1174941: Update server capabilities that are set on startup; r=ato
--HG--
extra : commitid : JBXi8bCndb6
extra : rebase_source : 749e07ec25d12ffbcd739d807e67067ee67ad7a7
2015-06-19 15:42:04 +01:00
Jonathan Griffin 7fe463bd2f Bug 1176408 - Bump marionette-transport to 0.5 and marionette-driver to 0.9, r=dburns 2015-06-21 13:40:54 -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
Martijn Wargers 4f808e5dd3 Bug 1176882 - Don't pin marionette-transport. r=davehunt
--HG--
extra : rebase_source : b35c475ff4761a75f0debd53f0cae95d10f8c863
2015-06-24 02:09:16 +02: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
Jamin Liu b092e9d032 Bug 1175067 - Switch Bluetooth marionette test set to BT API v2 and disable unsupported tests. r=joliu 2015-06-17 18:00:26 +08:00
Chris Manchester 1419eee767 Bug 1169600 - Avoid misleading exception in message listeners in marionette server. r=ato
--HG--
extra : rebase_source : 08741e157688b8cb256bbf210d2bae8e21dc864b
2015-06-03 10:21:27 -07:00
Jonathan Griffin 6785d36bb1 Backed out changeset 58b09d4a5de5 for Mn OSX test_profile_management.py failures on a CLOSED TREE 2015-06-10 12:15:31 -07:00
Jonathan Griffin 44e3816796 Bug 1166033 - Notice when the process has died, and restart it, r=dburns 2015-06-10 10:24:29 -07:00
Chris Manchester ddab0ce578 Bug 1169798 - Refresh the marionette server's window reference when switching between windows to avoid intermittent exception.;r=ato 2015-06-01 13:26:15 -07:00
Jonathan Griffin a89e3a4841 Bug 1169751 - Bump marionette-driver to 0.8, marionette-client to 0.15, r=dburns 2015-05-29 15:43:50 -07:00
Henrik Skupin f7561e10df Bug 1169381 - Bump dependency for mozinfo in marionette-client to >=0.8. r=jgriffin 2015-05-28 12:05:00 -04:00
Jonathan Griffin 2eed05fc9a Bug 1168997 - Bump marionette-client to 0.14, r=dburns 2015-05-28 08:58:22 -07:00
Alive Kuo 3a84fa3dfd Bug 1169122 - Change the way to reference AppWindowManager. r=jgriffin 2015-05-28 10:42:30 +08:00
Jonathan Griffin 4feab373ba Bug 1163833 - Add integration with browsermob-proxy, r=dburns 2015-05-27 10:00:09 -07:00
Jonathan Griffin 479984afe5 Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Ting-Yu Chou 3d79e33a98 Bug 1141418 - Fix index after calling splice while iterating remoteFrames array. r=jgriffin
--HG--
extra : rebase_source : e7978467a5837f3967985c291df23f4d83a86396
2015-05-18 12:04:26 +08: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 4b7cf76438 Bug 1161209 - Bump marionette-driver to 0.7, marionette-client to 0.13, r=AutomatedTester 2015-05-07 10:09:08 -07:00
Andreas Tolfsen a1fe10492b Bug 1155703: Correct Marionette to use NoSuchWindowError
FrameSendFailureError and FrameSendNotInitializedError are not compatible
with the W3C WebDriver specification and we should use NoSuchWindowError
instead.

Bug 1159674 has prepared Gaia for this change.

r=davehunt

--HG--
extra : rebase_source : 6fb5a2c0921d3fdbeb1749aee8296e7c40de4ead
extra : source : 02dfd2e12038460bb3c895c31951a85214e135e1
2015-04-29 12:00:43 +01: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 ece490e01b Bug 1155716: Part 1: Remove submitElement from Marionette
r=dburns

--HG--
extra : source : 520ede785b0967572ca6411e75ce7466886db0f5
2015-04-29 11:31:19 +01:00
Andreas Tolfsen 9be62c99ef Bug 1157255: Use typeof to determine MarionetteObj exports
This makes us not rely on try…catch logic to export MarionetteObj
properties and functions on the sandbox.

The patch also cleans up a few more details on
createExecuteContentSandbox.

r=dburns

--HG--
extra : rebase_source : 920069f09328b57adad36827b4f67a28aedfdb1d
2015-04-28 19:16:46 +01:00
Armen Zambrano Gasparnian 1b93a3ea9d Bug 1159816 - Bump marionette_client to 0.12. DONTBUILD. CLOSED TREE. r=chmanchester 2015-04-29 16:35:33 -04:00
Andreas Tolfsen dfd24acbdc Bug 1157259: Correct ScriptTimeoutError reference in listener
r=dburns

--HG--
extra : rebase_source : 9119d7d29328468b959adf2cec497448f5902a38
2015-04-28 18:59:07 +01:00
Andreas Tolfsen 27e826ece6 Bug 1157266: Fix error unable to set cookie in listener
r=dburns

--HG--
extra : rebase_source : 799887866c0cb47f5fa6a0c656512609b42a9b3c
2015-04-28 18:53:51 +01:00
Andreas Tolfsen 0db4c225cc Bug 1159232: Avoid use of template string in GeckoDriver#sendAsync
Also avoids it in GeckoDriver#execute.

r=dburns

--HG--
extra : rebase_source : 0f73cedd438590b6489fd6e8df34c9ae27e22e5c
2015-04-28 14:34:55 +01:00
Andreas Tolfsen 135734ed2d Bug 1159238. Generate UUID internally to ContentSender
r=dburns

--HG--
extra : source : e24c86fa5a8c5abb6b51662b0f44b4bab480b1ed
2015-04-28 18:15:08 +01:00
Andreas Tolfsen 89570930a6 Bug 1159219: Make ContentSender a separate module
r=dburns

--HG--
extra : rebase_source : dd217232c478e94673ee416dd1d19ae5f37bce2a
extra : source : a0fa5dabf485fd6860e4dd150158f59da2ca6692
2015-04-28 14:25:37 +01:00
Andreas Tolfsen 34c27181b2 Bug 1157257: Include error's name if it's not a WebDriver error
When native JavaScript errors are thrown because of internal errors,
this will include the Error prototype's name in the message.

This is useful since the WebDriver protocol doesn't allow for arbitrary
JS error marshaling.

r=chmanchester

--HG--
extra : rebase_source : d1bd290b1df1acf6c3f67a7fcd7d1f71b7006477
2015-04-23 14:34:40 +01:00
Andreas Tolfsen ee63bc61fa Bug 1157253: Port ListenerProxy to use Proxy instead of __noSuchMethod__
r=chmanchester

--HG--
extra : rebase_source : 9a8a3e3528cb665519de1f986c48c67ac99c5445
2015-04-23 16:59:12 +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 24b67d6136 Bug 1157258: Fix null type comparisons in driver.js
r=davehunt

--HG--
extra : rebase_source : a42ce4451d399e8689c503224e21e503ddd0e720
2015-04-24 13:55:52 +01:00
Chris Manchester 0838128b00 Bug 1157725 - Rewrite test_mouse_action.py to be more robust. r=ato
--HG--
extra : transplant_source : %08%05%C8%2Bb%19%99%D9%DC%ECV%3A%BB%87%D1%CDv%09%09-
2015-04-23 22:17:30 -07:00
Andreas Tolfsen 9c89709503 Bug 1158113: Removing two straggling error codes from Marionette
r=davehunt

--HG--
extra : rebase_source : 0ba61719dcfa99e06f34626672cbbac91c69906f
2015-04-24 12:06:43 +01:00
Andreas Tolfsen 5ade32492f Bug 1155658: Rename "illegal argument" error to "invalid argument"
r=chmanchester

--HG--
extra : rebase_source : b49c8bcaa30b470ae372182a83b6085ae94ddb7f
2015-04-17 18:43:05 +01:00
Andreas Tolfsen cb82383649 Bug 1157665: Add mozrunner dependency to marionette_driver
Also bumps the version to 0.5.

r=davehunt

--HG--
extra : rebase_source : 71e92e750ee4a8a82fd6cb3f5a12a4018d0c1984
2015-04-23 13:11:31 +01:00
Chris Manchester 595b328eb3 Bug 1157823 - Update dependency to reflect that the marionette client requires a more recent mozhttpd. r=ato
--HG--
extra : rebase_source : 78eaacf35f6d42f6996d66b1798dee4b4e8c576f
2015-04-23 11:08:34 -07:00
Chris Manchester b09cb9f838 Bug 1157261 - Fix typo in reference to curFrame in marionette listener. r=ato
--HG--
extra : rebase_source : 8f002e097376b653d44fed2446f4539fd7865999
2015-04-22 10:22:26 -07: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 0a912ae1c7 Bug 945729: Replace error number codes with strings
Brings Marionette closer to compliance with the W3C WebDriver standard
which prescribes that errors should be identified by a string rather
than a magic number.

r=dburns

--HG--
extra : rebase_source : 2bdb28f3c05e56b17cc13ceacbf3167dabe89fd0
extra : source : 2b691bf191db1a83ae489116649602a74e64007a
2015-04-08 19:02:34 +01:00
Andreas Tolfsen 0c357d12a3 Bug 1152682: Correct invalid selector errors in elements.js
r=jgriffin

--HG--
extra : rebase_source : c2e693c393ad93c7f5bdd6a1fb3b29d2ef13d9af
2015-04-20 13:45:59 +01:00
Andreas Tolfsen f421bdc30c Bug 1154757: Correct unable to set cookie error
r=dburns

--HG--
extra : rebase_source : 2251ee9e992d8ec8fca4ce8a2bf62d28853e9660
2015-04-20 13:53:51 +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
Carsten "Tomcat" Book a2fffe9d30 Backed out changeset 9947bd361636 (bug 945729) for wpt test failures 2015-04-21 16:01:40 +02: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
Andreas Tolfsen 4916729cb0 Bug 945729: Replace error number codes with strings
Brings Marionette closer to compliance with the W3C WebDriver standard
which prescribes that errors should be identified by a string rather
than a magic number.

r=dburns

--HG--
extra : rebase_source : cde9ecded568fb17c46cd5940ec2241cd4446aaf
extra : source : 2b691bf191db1a83ae489116649602a74e64007a
2015-04-08 19:02:34 +01:00
Andreas Tolfsen 86e4115d5b Bug 1154691: Align Marionette with WebDriver errors
Adds `invalid selector' and `invalid session id' errors to the server,
and aligns the exceptions in the Python client with those in the server.

Some of the exceptions are not in use yet and consequently do not carry
a `code` property.  This is fine because it makes us future-proof when
the server starts using them.

r=dburns

--HG--
extra : source : cc8eb386f147893aaf867797eb9f3c6d8fd0925a
2015-04-15 13:38:01 +01:00
Andreas Tolfsen ddcb607014 Bug 1153832: New dispatch style framework in Marionette listener
Takes advantage of the new dispatching technique introduced in bug
1107706 on the content side.

The patch introduces the framework to write simpler command handlers
in content space, but does not convert all commands in listener.js to
use this.  This can be done gradually, as both techniques are still
compatible.

r=dburns

--HG--
extra : source : 043a824dd7b749192a8c7ec3f1a8d3ba4d2619d0
2015-04-15 12:18:00 +01:00
Andreas Tolfsen 92c53b47b9 Bug 1155260: Fix base URL override in Marionette runner
Fixes regression from bug 941085, and bumps marionette_client to 0.11.

r=davehunt

--HG--
extra : rebase_source : a38ef00252e3ef08d5b9422946779e182a69a2ac
2015-04-20 11:22:00 +01:00
Carsten "Tomcat" Book 7b850aae63 Backed out changeset 0b28f5ff48a6 (bug 1153832) for suspicion of making dt Asan test fail frequent/permanently
--HG--
extra : rebase_source : ccb49ee30e924bd7e30d997cd4204a1c8da8bdc4
2015-04-20 14:37:12 +02:00
Carsten "Tomcat" Book e132e2f5f8 Backed out changeset 330f6df11b2f (bug 1154691)
--HG--
extra : rebase_source : 159f38e7ad75e958349fcb7a0260e30d3ccb920f
2015-04-20 14:36:17 +02:00
Andreas Tolfsen 17c3962134 Bug 1154691: Align Marionette with WebDriver errors
Adds `invalid selector' and `invalid session id' errors to the server,
and aligns the exceptions in the Python client with those in the server.

Some of the exceptions are not in use yet and consequently do not carry
a `code` property.  This is fine because it makes us future-proof when
the server starts using them.

r=dburns

--HG--
extra : source : cc8eb386f147893aaf867797eb9f3c6d8fd0925a
2015-04-15 13:38:01 +01:00
Ryan VanderMeulen ddc7b9bff4 Backed out changeset c7eea3e8f98a (bug 1154691) for Windows w-p-t failures.
CLOSED TREE
2015-04-17 17:55:08 -04:00
Andreas Tolfsen 4c0af02e77 Bug 1154691: Align Marionette with WebDriver errors
Adds `invalid selector' and `invalid session id' errors to the server,
and aligns the exceptions in the Python client with those in the server.

Some of the exceptions are not in use yet and consequently do not carry
a `code` property.  This is fine because it makes us future-proof when
the server starts using them.

r=dburns

--HG--
extra : source : cc8eb386f147893aaf867797eb9f3c6d8fd0925a
2015-04-15 13:38:01 +01:00
Andreas Tolfsen 9338edd7c0 Bug 1153832: New dispatch style framework in Marionette listener
Takes advantage of the new dispatching technique introduced in bug
1107706 on the content side.

The patch introduces the framework to write simpler command handlers
in content space, but does not convert all commands in listener.js to
use this.  This can be done gradually, as both techniques are still
compatible.

r=dburns

--HG--
extra : rebase_source : 9ad8846754b86a1acc225c1a9b77a60530e8703b
extra : source : 043a824dd7b749192a8c7ec3f1a8d3ba4d2619d0
2015-04-15 12:18:00 +01:00
Ryan VanderMeulen a08d886394 Backed out changeset 5c83a36d9eba (bug 1153832) for Gip(a) failures.
CLOSED TREE
2015-04-16 12:20:48 -04:00
Andreas Tolfsen 9ad39929e4 Bug 1153832: New dispatch style framework in Marionette listener
Takes advantage of the new dispatching technique introduced in bug
1107706 on the content side.

The patch introduces the framework to write simpler command handlers
in content space, but does not convert all commands in listener.js to
use this.  This can be done gradually, as both techniques are still
compatible.

r=dburns

--HG--
extra : rebase_source : 2fac74a40d529f4a9112d4cd1e8d3f0681fd3499
extra : source : 043a824dd7b749192a8c7ec3f1a8d3ba4d2619d0
2015-04-15 12:18:00 +01:00
Carsten "Tomcat" Book ef43ff7fe0 Backed out changeset cc8eb386f147 (bug 1154691) for b2g test bustage on a CLOSED TREE 2015-04-16 13:47:51 +02:00
Andreas Tolfsen e3193bd590 Bug 1154691: Align Marionette with WebDriver errors
Adds `invalid selector' and `invalid session id' errors to the server,
and aligns the exceptions in the Python client with those in the server.

Some of the exceptions are not in use yet and consequently do not carry
a `code` property.  This is fine because it makes us future-proof when
the server starts using them.

r=dburns

--HG--
extra : rebase_source : 5a39fe5749190acb2170025586e6bfdd82e5697c
2015-04-15 13:38:01 +01:00
Ryan VanderMeulen 6824492e5c Backed out changeset 043a824dd7b7 (bug 1153832) for mass Mn failure.
CLOSED TREE
2015-04-15 12:58:51 -04:00
Andreas Tolfsen 001f9b3793 Bug 1153832: New dispatch style framework in Marionette listener
Takes advantage of the new dispatching technique introduced in bug
1107706 on the content side.

The patch introduces the framework to write simpler command handlers
in content space, but does not convert all commands in listener.js to
use this.  This can be done gradually, as both techniques are still
compatible.

r=dburns

--HG--
extra : rebase_source : 43ef240735099221cbbddb753eaf9e2802a4de1d
2015-04-15 12:18:00 +01:00
Dave Hunt 2bca6b23e3 Bug 1153795 - Bump marionette_driver to 0.4 and marionette_client to 0.10. r=atolfsen 2015-04-13 15:35:15 +01:00
Andreas Tolfsen d6f45b6268 Bug 984921: Clean up Marionette navigation tests
Cleans up navigation tests to use assertion routines that give us better
feedback if tests were to fail.

Also adds a test for setting location through executeScript, and a test
for getCurrentUrl returning the URL of the top-level browsing context
when inside an iframe.

r=dburns

--HG--
extra : rebase_source : 1844c906cc436ef378f07342051a44689fedba58
2015-04-11 17:56:53 +01:00
Andreas Tolfsen 9920d6780f Bug 1153240: Fix variable assignment of value in GeckoDriver#multiAction
Bug 1150041 inadvertently fixed a closely related issue.

r=njpark

--HG--
extra : rebase_source : 55b9bb965464c31c7c04b77ae46bc4a82293757c
2015-04-10 15:09:25 +01:00
Andreas Tolfsen 487ab6096d Bug 941085: File uploads support in Marionette
Adds support for W3C WebDriver compatible file uploads, where additional
calls to sendKeys on <input type=file multiple> will append files,
rather than reset the field.

r=dburns

--HG--
extra : source : 93166201fca032157ecb88923a62e8b2e8f9529d
extra : amend_source : a27f709de201063cc510af2f234d45344e90193b
2015-04-02 15:16:00 +01:00
Ryan VanderMeulen 868f030b98 Merge fx-team to m-c. a=merge 2015-04-09 22:57:56 -04:00
Chris Manchester d5281119b7 Bug 1149843 - Modify test_window_handles not to hit the network. r=dburns
--HG--
extra : transplant_source : %87%85a%3C%A58%97V%FB%9C%DE%3C%12%0FF%C4%00%FD%F68
2015-04-02 14:56:00 -07:00
Andreas Tolfsen 20e9c864e8 Bug 1152425: Fix unicode string lookup in Marionette client
r=jgraham

--HG--
extra : rebase_source : 56560133ebe51e82d47923dd69a993644da09528
extra : source : 2981a890a0365f7ff519362400c893dd2c0ba51d
2015-04-08 18:39:53 +01:00
Ryan VanderMeulen 016b169721 Merge m-c to b2g-inbound. a=merge 2015-04-09 12:08:54 -04:00
Thomas Zimmermann 5b0221d66d Bug 1146355: Move Bluetooth legacy interface into sub-directory bluetooth1/, r=joliu
--HG--
rename : dom/bluetooth/BluetoothAdapter.cpp => dom/bluetooth/bluetooth1/BluetoothAdapter.cpp
rename : dom/bluetooth/BluetoothAdapter.h => dom/bluetooth/bluetooth1/BluetoothAdapter.h
rename : dom/bluetooth/BluetoothCommon.h => dom/bluetooth/bluetooth1/BluetoothCommon.h
rename : dom/bluetooth/BluetoothDevice.cpp => dom/bluetooth/bluetooth1/BluetoothDevice.cpp
rename : dom/bluetooth/BluetoothDevice.h => dom/bluetooth/bluetooth1/BluetoothDevice.h
rename : dom/bluetooth/BluetoothHfpManagerBase.h => dom/bluetooth/bluetooth1/BluetoothHfpManagerBase.h
rename : dom/bluetooth/BluetoothHidManager.cpp => dom/bluetooth/bluetooth1/BluetoothHidManager.cpp
rename : dom/bluetooth/BluetoothHidManager.h => dom/bluetooth/bluetooth1/BluetoothHidManager.h
rename : dom/bluetooth/BluetoothInterface.cpp => dom/bluetooth/bluetooth1/BluetoothInterface.cpp
rename : dom/bluetooth/BluetoothInterface.h => dom/bluetooth/bluetooth1/BluetoothInterface.h
rename : dom/bluetooth/BluetoothInterfaceHelpers.cpp => dom/bluetooth/bluetooth1/BluetoothInterfaceHelpers.cpp
rename : dom/bluetooth/BluetoothInterfaceHelpers.h => dom/bluetooth/bluetooth1/BluetoothInterfaceHelpers.h
rename : dom/bluetooth/BluetoothManager.cpp => dom/bluetooth/bluetooth1/BluetoothManager.cpp
rename : dom/bluetooth/BluetoothManager.h => dom/bluetooth/bluetooth1/BluetoothManager.h
rename : dom/bluetooth/BluetoothProfileController.cpp => dom/bluetooth/bluetooth1/BluetoothProfileController.cpp
rename : dom/bluetooth/BluetoothProfileController.h => dom/bluetooth/bluetooth1/BluetoothProfileController.h
rename : dom/bluetooth/BluetoothProfileManagerBase.h => dom/bluetooth/bluetooth1/BluetoothProfileManagerBase.h
rename : dom/bluetooth/BluetoothPropertyContainer.cpp => dom/bluetooth/bluetooth1/BluetoothPropertyContainer.cpp
rename : dom/bluetooth/BluetoothPropertyContainer.h => dom/bluetooth/bluetooth1/BluetoothPropertyContainer.h
rename : dom/bluetooth/BluetoothReplyRunnable.cpp => dom/bluetooth/bluetooth1/BluetoothReplyRunnable.cpp
rename : dom/bluetooth/BluetoothReplyRunnable.h => dom/bluetooth/bluetooth1/BluetoothReplyRunnable.h
rename : dom/bluetooth/BluetoothRilListener.cpp => dom/bluetooth/bluetooth1/BluetoothRilListener.cpp
rename : dom/bluetooth/BluetoothRilListener.h => dom/bluetooth/bluetooth1/BluetoothRilListener.h
rename : dom/bluetooth/BluetoothService.cpp => dom/bluetooth/bluetooth1/BluetoothService.cpp
rename : dom/bluetooth/BluetoothService.h => dom/bluetooth/bluetooth1/BluetoothService.h
rename : dom/bluetooth/BluetoothSocketObserver.h => dom/bluetooth/bluetooth1/BluetoothSocketObserver.h
rename : dom/bluetooth/BluetoothUtils.cpp => dom/bluetooth/bluetooth1/BluetoothUtils.cpp
rename : dom/bluetooth/BluetoothUtils.h => dom/bluetooth/bluetooth1/BluetoothUtils.h
rename : dom/bluetooth/BluetoothUuid.cpp => dom/bluetooth/bluetooth1/BluetoothUuid.cpp
rename : dom/bluetooth/BluetoothUuid.h => dom/bluetooth/bluetooth1/BluetoothUuid.h
rename : dom/bluetooth/ObexBase.cpp => dom/bluetooth/bluetooth1/ObexBase.cpp
rename : dom/bluetooth/ObexBase.h => dom/bluetooth/bluetooth1/ObexBase.h
rename : dom/bluetooth/ipc/BluetoothChild.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothChild.cpp
rename : dom/bluetooth/ipc/BluetoothChild.h => dom/bluetooth/bluetooth1/ipc/BluetoothChild.h
rename : dom/bluetooth/ipc/BluetoothMessageUtils.h => dom/bluetooth/bluetooth1/ipc/BluetoothMessageUtils.h
rename : dom/bluetooth/ipc/BluetoothParent.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothParent.cpp
rename : dom/bluetooth/ipc/BluetoothParent.h => dom/bluetooth/bluetooth1/ipc/BluetoothParent.h
rename : dom/bluetooth/ipc/BluetoothServiceChildProcess.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothServiceChildProcess.cpp
rename : dom/bluetooth/ipc/BluetoothServiceChildProcess.h => dom/bluetooth/bluetooth1/ipc/BluetoothServiceChildProcess.h
rename : dom/bluetooth/ipc/BluetoothTypes.ipdlh => dom/bluetooth/bluetooth1/ipc/BluetoothTypes.ipdlh
rename : dom/bluetooth/ipc/PBluetooth.ipdl => dom/bluetooth/bluetooth1/ipc/PBluetooth.ipdl
rename : dom/bluetooth/ipc/PBluetoothRequest.ipdl => dom/bluetooth/bluetooth1/ipc/PBluetoothRequest.ipdl
rename : dom/bluetooth/tests/marionette/head.js => dom/bluetooth/bluetooth1/tests/marionette/head.js
rename : dom/bluetooth/tests/marionette/manifest.ini => dom/bluetooth/bluetooth1/tests/marionette/manifest.ini
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_discovery.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_discovery.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_getters.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_getters.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_pair.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_pair.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_setters.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_setters.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothManager_adapteradded.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothManager_adapteradded.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothManager_enabled.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothManager_enabled.js
2015-04-09 15:57:40 +02:00
Chris Manchester 13b03dc9a9 Bug 1150170 - Avoid toSource and string templates when logging requests and responses in marionette to avoid high memory use. r=ato
CLOSED TREE

--HG--
extra : rebase_source : 9aafdcb27b897946f8af1abe5a3a9ce1df2321dd
2015-04-07 10:24:09 -07:00
Andreas Tolfsen 99a1fa9768 Bug 1150522: Add WebDriver string statuses to Marionette client
Adds string based statuses as defined by the W3C WebDriver protocol
to the Marionette Python client.  Importantly, it does not remove the
ability to look up errors by their Selenium protocol number for backwards
compatibility reasons.

r=dburns

--HG--
extra : rebase_source : 792e85d01ed6513370f448762c1c5bf8f13842a4
2015-04-02 20:07:20 +01:00
Ryan VanderMeulen d2e5e61478 Backed out changeset 93166201fca0 (bug 941085) for Gip failures.
CLOSED TREE
2015-04-02 12:05:56 -04:00
Andreas Tolfsen 622170b4e6 Bug 941085: File uploads support in Marionette
Adds support for W3C WebDriver compatible file uploads, where additional
calls to sendKeys on <input type=file multiple> will append files,
rather than reset the field.

r=dburns

--HG--
extra : amend_source : 093abcf640631778cda25cf800077dae5fa9b5f4
2015-04-02 15:16:00 +01:00
Andreas Tolfsen 6a1aeb9960 Backed out changeset 0115bb737f64 (bug 941085)
Rebase went wrong.
2015-04-02 15:04:58 +01:00
Andreas Tolfsen f785cf403f Bug 941085: File uploads support in Marionette
Adds support for W3C WebDriver compatible file uploads, where additional
calls to sendKeys on <input type=file multiple> will append files,
rather than reset the field.

r=dburns

--HG--
extra : rebase_source : 5f058fd1fcf767a5b45ebb6ba4c32994eb52212e
2015-03-31 16:45:27 +01:00
David Burns 5abff40de2 Bug 1082773: Disable Marionette Chrome Tests on B2G; r=me
--HG--
extra : rebase_source : 43dd67dcf4cbc958590f655cd34eb5a97449059e
2015-04-02 14:44:17 +01:00
Eric Rahm 6aaa172f43 Bug 1150247 - Check if value is function before binding. r=ato
Rather than attempting to bind non-functions and catching the exception this
explicitly checks if it is a function. This helps reduce memory consumption
needed for the exception stack traces. Realistically that will go away when GC
is run, but it throws off memory measurments prior to that.
2015-04-01 18:58:21 -07:00
Andrew Halberstadt 766127a915 Bug 1150050 - Bump manifestparser to v1.1 and marionette-client to v0.9.3 to pick up tagging feature, r=AutomatedTester
--HG--
extra : rebase_source : 0f1f34a19aae8b031439bb0dbe533875e10c218f
2015-04-01 11:22:48 -04:00
Andreas Tolfsen 61623e8c70 Bug 1150041: Fix max_len extraction in GeckoDriver#multiAction
Fixes use of pinch() routine in gestures.py as part of Gaia UI tests.
Regressed as part of bug 1107706.

r=dburns

--HG--
extra : rebase_source : a22302712be7cf2eb8ac49fa2d221b8a2ea923f8
2015-04-01 16:17:05 +01:00
Andreas Tolfsen 6a54f2978a Bug 1149625: Order errors by name rather that status code
This patch has no functional changes, apart from correctly naming
InvalidElementStateError and exporting it.  It's not currently in use.

r=dburns

--HG--
extra : rebase_source : 92b1ddca4cf73a48f7ddeb26e51881e23d63adce
2015-03-31 18:00:32 +01:00
Boris Kudryavtsev 4e5ebec357 Bug 1139158 - Actions made availabe via marionette_driver object. r=jgriffin 2015-03-30 16:57:00 -04:00
Jonathan Griffin 9404a5bc8f Bug 1149347 - Don't initialize SpecialPowers unconditionally, r=ato 2015-03-31 09:44:02 -07:00
Carsten "Tomcat" Book d03ee825c7 merge mozilla-inbound to mozilla-central a=merge 2015-03-31 14:43:50 +02:00
J. Ryan Stinnett 20d9dfd605 Bug 1138591 - Remove the chrome-enabled pref. r=past
--HG--
extra : transplant_source : %C0%3D%FB%C9%05%C4z%EB4%D4%A3%81%7E%94RX%19%9B%27%AE
2015-03-28 03:42:33 -05:00
Andrew Halberstadt 056bddce11 Bug 987360 - Add ability to tag tests with arbitrary strings and run them, r=chmanchester
Add a `tags` attribute to a test or DEFAULT section in a manifest:

[test_foo]
tags = foo

Then run all tests with a given tag by passing in `--tag foo` to a supported test harness. So far mochitest, xpcshell and marionette are supported.

--HG--
extra : rebase_source : d75905da1ca021a15a9538117d3866425f73d962
extra : source : 3c34fd480729e3b6684fba747ff61078f672ce16
2015-03-19 16:15:33 -04:00
Ryan VanderMeulen 378481f17f Backed out changesets acbab9e22691 and 3c34fd480729 (bug 987360) for Android/B2G xpcshell bustage.
CLOSED TREE

--HG--
extra : rebase_source : d79b1dcfb12ae8e12efefd7d15b8a2f9f5063377
2015-03-27 13:12:19 -04:00
Andrew Halberstadt e3068d1b6f Bug 987360 - Add ability to tag tests with arbitrary strings and run them, r=chmanchester
Add a `tags` attribute to a test or DEFAULT section in a manifest:

[test_foo]
tags = foo

Then run all tests with a given tag by passing in `--tag foo` to a supported test harness. So far mochitest, xpcshell and marionette are supported.

--HG--
extra : rebase_source : 68a0931c6a8ee1df4f5c09d67c396490774aa856
2015-03-19 16:15:33 -04:00
Andreas Tolfsen e1106d6c59 Bug 1107706: Part 16: Fix rebase of action chains for chrome space
--HG--
extra : rebase_source : 8bc4938611eaf55c2b9ab125f1a2593db4ff98dd
extra : source : d026794b4c0b4a95414deaab831da79c27232586
2015-03-24 15:35:58 +00:00
Andreas Tolfsen b949463695 Bug 1107706: Part 15: Fix emulator callbacks for content process
--HG--
extra : rebase_source : 685c4d6710f8287ba82b902f3779401dc5dc08ec
extra : source : 3c25064e24da9f96ee02e71dfc1c9bde4c6dec38
2015-03-23 15:40:51 +00:00
Andreas Tolfsen f1a6764225 Bug 1107706: Part 14: Fix quitApplication
--HG--
extra : rebase_source : f736191baab38061e6e59074830a40e838369f36
extra : source : 3b7cdf06f4b96ee708c5fc2573cebda852627568
2015-03-20 20:44:17 +00:00
Andreas Tolfsen 3e7fc0e2d3 Bug 1107706: Part 13: Style fixes
Linting; no functional changes.

--HG--
extra : rebase_source : bf63a6d317af1cba44c6608437c0b0894e8231ce
extra : source : ec2b1317d3c6389826da0e8e8c12176ff2cf9eeb
2015-03-23 20:43:18 +00:00
Andreas Tolfsen 2cc5a43bfe Bug 1107706: Part 12: Drop marionette-* prefix on files
--HG--
rename : testing/marionette/marionette-actions.js => testing/marionette/actions.js
rename : testing/marionette/marionette-common.js => testing/marionette/common.js
rename : testing/marionette/marionette-elements.js => testing/marionette/elements.js
rename : testing/marionette/marionette-frame-manager.js => testing/marionette/frame-manager.js
rename : testing/marionette/marionette-listener.js => testing/marionette/listener.js
rename : testing/marionette/marionette-sendkeys.js => testing/marionette/sendkeys.js
rename : testing/marionette/marionette-simpletest.js => testing/marionette/simpletest.js
extra : rebase_source : 5cb9ed597e71980eabd15a01da2d0322be671830
extra : source : 91b35cb3308bc80d736e63434f9702e73115c41f
2015-03-23 21:32:03 +00:00
Andreas Tolfsen 8a3c86c0ad Bug 1107706: Part 11: Global modal dialogue support
--HG--
extra : rebase_source : d156204d3241920fd331a52e175316ecc26f153e
extra : source : 43c58b21251ffbbdfe695b4d2d2a2d5587356b41
2015-03-20 15:46:46 +00:00
Andreas Tolfsen 1c5e1db5a9 Bug 1107706: Part 10: Disable test_anonymous_content.py on B2G
It uses chrome context to test XUL related functionality that is not
necessary nor desirable to run on B2G.

--HG--
extra : rebase_source : bb82f0bd89d782b1427a872524a7c4fd0e0cdc66
extra : source : e3ddaf8aae394231f40db79ba38d7bd8e19f2d8c
2015-03-11 17:10:18 +00:00
Andreas Tolfsen fe617760a0 Bug 1107706: Part 9: Disable XUL component tests on B2G
--HG--
extra : rebase_source : 3c5e64c76cdb6a4f49d12c28ed491e26561abd6a
extra : source : 0cd696bfc3b04584c557d0647911483d54e42ab1
2015-03-12 18:12:05 +00:00
Andreas Tolfsen e68eba3f47 Bug 1107706: Part 8: Adapt emulator callbacks
Emulator callbacks are now created dynamically upon request, and uses
a nicer data structure in chrome context.  Each emulator callback is
encapsulated in EmulatorCallback, and stored on Emulator.

Emulator is stored on Dispatcher (as opposed to in marionette-server.js)
which bypasses some of the problems with circumventing the Marionette
protocol in GeckoDriver because of CommandProcessor.

Emulator callbacks to the client should be considered transparent, hence
they do not use the ListenerProxy.  They are explicitly meant _not_
to be blocking.

--HG--
extra : rebase_source : f9fa688f7ec2401dbe3b18713cef7a9c0a4ab0f5
extra : source : eeb3d39874b17e02888427afb9709f35abc95120
2015-03-17 16:10:58 +00:00
Andreas Tolfsen 3fb6c48440 Bug 1107706: Part 7: Add timeout test for async scripts
--HG--
extra : rebase_source : 7fa65ae0646eea9b07f6888fbd96728db0c2a73d
extra : source : 7bc309f733fa896e75f42e190f5f56f59bb74e05
2015-02-26 17:41:54 +00:00
Andreas Tolfsen 3d22164f70 Bug 1107706: Part 5: Refactor Marionette chrome/content communication
The Marionette server handles requests separately with a global sense
of state which makes it hard to introduce generalised behaviour to many
commands.  This effectively slows down protocol implementation because
each command request individually needs to do heavy lifting.

This patch introduces a series of abstractions that separates out the
WebDriver implementation to a new class, GeckoDriver.  It also features
a new interface to mediate messages between the chrome- and content
processes.

This allows the code living in the chrome context to make direct calls
on the listener through a promise-based API:

	let listener = new ListenerProxy(mm, sendCallback);
	let res = yield listener.functionOnListener("arg1", "arg2");

The MarionetteServer class that used to live in marionette-server.js
has now been moved to server.js, while the WebDriver implementation
has moved to driver.js.  By introducing more stringent separation,
MarionetteServer now properly encapsulates the server process allowing
us to unit tests for it in the future.

The patch is a refactor in the truest sense, in the meaning that no
input or output should have changed.

--HG--
extra : rebase_source : c94b8cd6b4e61addd3fe42c4b94a26ee987fc34a
extra : source : 7f506cdb77b88994ba9f5b13cc936a99a403f1fb
2015-03-19 21:12:58 +00:00
Andreas Tolfsen 50af3f4c74 Bug 1107706: Part 4: Add dispatching mechanism to encapsulate connection
The dispatcher is analogous to the client socket connection, and handles
receiving packets and closing connections.

It also encompasses some of the functionality needed to establish the
devtools and Marionette connection, that previously used to live in
MarionetteServerConnection in marionette-server.js.

For each connection, recognised commands will be forwarded to the command
processor (command.js) unless a handler is defined in Dispatcher.requests.

--HG--
extra : rebase_source : 13cc697ba45addb6191df7d2f7ea1133194177ce
extra : source : 7abef4010b3094d3f276fc16cfbae43b55da7b0d
2015-03-18 12:27:29 +00:00
Andreas Tolfsen a5a1831f0f Bug 1107706: Part 3: Add a command processor to Marionette
The command processor receives messages, processes them, and wraps the
execution of the command implementations.  This allows commands to throw
errors without worrying about the side effects.

This patch also introduces a Response object which correspondingly wraps
the replies to the client.  This shifts the responsibility of managing
the correctness of the packets from the commands to this.

--HG--
extra : rebase_source : 92e0ee1b3f7034a548a8a36705504b307906cf23
extra : source : b0d00faceef4e348cc99c020f01d59c7933677b7
2015-03-17 14:49:27 +00:00
Andreas Tolfsen 27cddf9d2f Bug 1107706: Part 2: Add error module and WebDriver error objects
Adds the ability to throw error objects for WebDriver statuses, and an
error module with convenience functions for manipulation of these and
for handling other error related operations.

--HG--
extra : rebase_source : 5ee047fd7a8e0ecea918e422cd12273b78a78153
extra : source : 0c074cdc434e3c8ba412db44aece7b1840198fe5
2015-03-17 14:27:20 +00:00
Andreas Tolfsen 74a5fc797e Bug 1107706: Part 1: Change context from strings to enum
--HG--
extra : rebase_source : 30d87b40c078ff0284237783bbceebddfc257b61
extra : source : 3b449f8dd470a2cc866c302f527e20bedaadb786
2015-02-25 21:11:51 +00:00
David Burns fb023ad02c Bug 1143565: Change requirements to not be fixed to a specific marionette transport and driver; r=chmanchester
--HG--
extra : rebase_source : 255351c790da15cc1730a36cf270829fc44afa33
2015-03-24 21:31:59 +00:00
David Burns ad27b9171b Bug 1143565: Bump marionette client to v 0.9.2; r=chmanchester
--HG--
extra : rebase_source : 2dbc7e301e2e56d5640d703f4bc01da685ff7739
2015-03-24 21:31:46 +00:00
David Burns 3813654736 Bug 1143565: Bump marionette driver to v 0.3.1; r=chmanchester
--HG--
extra : rebase_source : ba132e5ac13888582297e06097aa1531f5c72c11
2015-03-24 21:31:33 +00:00
Jonathan Griffin d3ec1cd8da Bug 1121577 - Unset pref at delete_session, r=dburns 2015-03-18 10:07:57 -07:00
Ryan VanderMeulen 4355764776 Backed out 16 changesets (bug 1107706) for Gaia JS integration test failures.
Backed out changeset d026794b4c0b (bug 1107706)
Backed out changeset bb481b2d170a (bug 1107706)
Backed out changeset 71eba829a8b4 (bug 1107706)
Backed out changeset 3ca5a996676e (bug 1107706)
Backed out changeset 18c48c6a0cd5 (bug 1107706)
Backed out changeset 5dce917aeb92 (bug 1107706)
Backed out changeset 933d7aa1c709 (bug 1107706)
Backed out changeset 0c6e1484ae7a (bug 1107706)
Backed out changeset 9972f443d70e (bug 1107706)
Backed out changeset 20f9b7b24fc5 (bug 1107706)
Backed out changeset 1f4ba5b0fc4f (bug 1107706)
Backed out changeset a4a8e755d815 (bug 1107706)
Backed out changeset 593a7917f917 (bug 1107706)
Backed out changeset 502320aec21f (bug 1107706)
Backed out changeset 60b58aed6d27 (bug 1107706)
Backed out changeset c8315bbbc104 (bug 1107706)

CLOSED TREE

--HG--
rename : testing/marionette/actions.js => testing/marionette/marionette-actions.js
rename : testing/marionette/common.js => testing/marionette/marionette-common.js
rename : testing/marionette/elements.js => testing/marionette/marionette-elements.js
rename : testing/marionette/frame-manager.js => testing/marionette/marionette-frame-manager.js
rename : testing/marionette/listener.js => testing/marionette/marionette-listener.js
rename : testing/marionette/sendkeys.js => testing/marionette/marionette-sendkeys.js
rename : testing/marionette/simpletest.js => testing/marionette/marionette-simpletest.js
2015-03-24 13:54:55 -04:00
Andreas Tolfsen 53cbc0626e Bug 1107706: Part 16: Fix rebase of action chains for chrome space
--HG--
extra : rebase_source : 82f95f1fd1e7eda093148bd4d0f7bdc1525cc8d2
2015-03-24 15:35:58 +00:00
Andreas Tolfsen 2bff29ff8d Bug 1107706: Part 15: Fix emulator callbacks for content process
--HG--
extra : rebase_source : e3dcb40c14fea6e1edc5e13455bf2bc0b46d4739
extra : source : 3c25064e24da9f96ee02e71dfc1c9bde4c6dec38
2015-03-23 15:40:51 +00:00
Andreas Tolfsen 6563f49f1e Bug 1107706: Part 14: Fix quitApplication
--HG--
extra : rebase_source : e52bef6c94e0410c8f227e6a13b9e7a34b8fcc02
extra : source : 3b7cdf06f4b96ee708c5fc2573cebda852627568
2015-03-20 20:44:17 +00:00
Andreas Tolfsen 55db85fbe5 Bug 1107706: Part 13: Style fixes
Linting; no functional changes.

--HG--
extra : rebase_source : 773765e663871a46f6b280510b92f71638aff170
extra : source : ec2b1317d3c6389826da0e8e8c12176ff2cf9eeb
2015-03-23 20:43:18 +00:00
Andreas Tolfsen 7fffd2bbd2 Bug 1107706: Part 12: Drop marionette-* prefix on files
--HG--
rename : testing/marionette/marionette-actions.js => testing/marionette/actions.js
rename : testing/marionette/marionette-common.js => testing/marionette/common.js
rename : testing/marionette/marionette-elements.js => testing/marionette/elements.js
rename : testing/marionette/marionette-frame-manager.js => testing/marionette/frame-manager.js
rename : testing/marionette/marionette-listener.js => testing/marionette/listener.js
rename : testing/marionette/marionette-sendkeys.js => testing/marionette/sendkeys.js
rename : testing/marionette/marionette-simpletest.js => testing/marionette/simpletest.js
extra : rebase_source : 5eb61551c11d1ff94eb86b18bbd1f98da93d648a
extra : source : 91b35cb3308bc80d736e63434f9702e73115c41f
2015-03-23 21:32:03 +00:00
Andreas Tolfsen 7dc914a462 Bug 1107706: Part 11: Global modal dialogue support
--HG--
extra : rebase_source : f5b23b9604b0139284e61755d5c881f7c26a3f8b
extra : source : 43c58b21251ffbbdfe695b4d2d2a2d5587356b41
2015-03-20 15:46:46 +00:00
Andreas Tolfsen b74b17df62 Bug 1107706: Part 10: Disable test_anonymous_content.py on B2G
It uses chrome context to test XUL related functionality that is not
necessary nor desirable to run on B2G.

--HG--
extra : rebase_source : f247c8b40325b682adaedea7b0812ede57438cf4
extra : source : e3ddaf8aae394231f40db79ba38d7bd8e19f2d8c
2015-03-11 17:10:18 +00:00
Andreas Tolfsen cc7693db17 Bug 1107706: Part 9: Disable XUL component tests on B2G
--HG--
extra : rebase_source : 9a580f563478e03c2b7319270ea115158c14f534
extra : source : 0cd696bfc3b04584c557d0647911483d54e42ab1
2015-03-12 18:12:05 +00:00
Andreas Tolfsen 443a731154 Bug 1107706: Part 8: Adapt emulator callbacks
Emulator callbacks are now created dynamically upon request, and uses
a nicer data structure in chrome context.  Each emulator callback is
encapsulated in EmulatorCallback, and stored on Emulator.

Emulator is stored on Dispatcher (as opposed to in marionette-server.js)
which bypasses some of the problems with circumventing the Marionette
protocol in GeckoDriver because of CommandProcessor.

Emulator callbacks to the client should be considered transparent, hence
they do not use the ListenerProxy.  They are explicitly meant _not_
to be blocking.

--HG--
extra : rebase_source : 9e887526af99c02036575e5c7b6790629d5f917d
extra : source : eeb3d39874b17e02888427afb9709f35abc95120
2015-03-17 16:10:58 +00:00
Andreas Tolfsen 04cfbfd5fe Bug 1107706: Part 7: Add timeout test for async scripts
--HG--
extra : rebase_source : 3f5deabd1711a258b800a7a3995f7738ced4f86d
extra : source : 7bc309f733fa896e75f42e190f5f56f59bb74e05
2015-02-26 17:41:54 +00:00
Andreas Tolfsen bd8f7a8359 Bug 1107706: Part 5: Refactor Marionette chrome/content communication
The Marionette server handles requests separately with a global sense
of state which makes it hard to introduce generalised behaviour to many
commands.  This effectively slows down protocol implementation because
each command request individually needs to do heavy lifting.

This patch introduces a series of abstractions that separates out the
WebDriver implementation to a new class, GeckoDriver.  It also features
a new interface to mediate messages between the chrome- and content
processes.

This allows the code living in the chrome context to make direct calls
on the listener through a promise-based API:

	let listener = new ListenerProxy(mm, sendCallback);
	let res = yield listener.functionOnListener("arg1", "arg2");

The MarionetteServer class that used to live in marionette-server.js
has now been moved to server.js, while the WebDriver implementation
has moved to driver.js.  By introducing more stringent separation,
MarionetteServer now properly encapsulates the server process allowing
us to unit tests for it in the future.

The patch is a refactor in the truest sense, in the meaning that no
input or output should have changed.

--HG--
extra : rebase_source : 72c68105df19dc1e328f78c6bfb2282b61d82c8d
extra : source : 7f506cdb77b88994ba9f5b13cc936a99a403f1fb
2015-03-19 21:12:58 +00:00
Andreas Tolfsen 2db8cf1de0 Bug 1107706: Part 4: Add dispatching mechanism to encapsulate connection
The dispatcher is analogous to the client socket connection, and handles
receiving packets and closing connections.

It also encompasses some of the functionality needed to establish the
devtools and Marionette connection, that previously used to live in
MarionetteServerConnection in marionette-server.js.

For each connection, recognised commands will be forwarded to the command
processor (command.js) unless a handler is defined in Dispatcher.requests.

--HG--
extra : rebase_source : a86a768323f9cf9450bc17a3b105265440e2c861
extra : source : 7abef4010b3094d3f276fc16cfbae43b55da7b0d
2015-03-18 12:27:29 +00:00
Andreas Tolfsen a9889b9f31 Bug 1107706: Part 3: Add a command processor to Marionette
The command processor receives messages, processes them, and wraps the
execution of the command implementations.  This allows commands to throw
errors without worrying about the side effects.

This patch also introduces a Response object which correspondingly wraps
the replies to the client.  This shifts the responsibility of managing
the correctness of the packets from the commands to this.

--HG--
extra : rebase_source : 9e66199b7977528345680eb8170a082156286b8b
extra : source : b0d00faceef4e348cc99c020f01d59c7933677b7
2015-03-17 14:49:27 +00:00
Andreas Tolfsen 1c95ea3e71 Bug 1107706: Part 2: Add error module and WebDriver error objects
Adds the ability to throw error objects for WebDriver statuses, and an
error module with convenience functions for manipulation of these and
for handling other error related operations.

--HG--
extra : rebase_source : 9b03a17a9568c98c79461effa39da5d42aaf4d26
extra : source : 0c074cdc434e3c8ba412db44aece7b1840198fe5
2015-03-17 14:27:20 +00:00
Andreas Tolfsen f8edb38333 Bug 1107706: Part 1: Change context from strings to enum
--HG--
extra : rebase_source : 3d83084b53778dbf272c3403977475afdb8fd605
extra : source : 3b449f8dd470a2cc866c302f527e20bedaadb786
2015-02-25 21:11:51 +00:00
Giovanny Andres Gongora Granada 241d879037 Bug 1118313 - newSession looks for non-conforming session_id property on Command. r=dburns 2015-03-23 19:56:00 -04:00
Wes Kocher 954df9f7bc Backed out 15 changesets (bug 1107706) for marionette bustage CLOSED TREE
Backed out changeset 3c25064e24da (bug 1107706)
Backed out changeset 3b7cdf06f4b9 (bug 1107706)
Backed out changeset ec2b1317d3c6 (bug 1107706)
Backed out changeset 91b35cb3308b (bug 1107706)
Backed out changeset 43c58b21251f (bug 1107706)
Backed out changeset e3ddaf8aae39 (bug 1107706)
Backed out changeset 0cd696bfc3b0 (bug 1107706)
Backed out changeset eeb3d39874b1 (bug 1107706)
Backed out changeset 7bc309f733fa (bug 1107706)
Backed out changeset 69669d0e6ddc (bug 1107706)
Backed out changeset 7f506cdb77b8 (bug 1107706)
Backed out changeset 7abef4010b30 (bug 1107706)
Backed out changeset b0d00faceef4 (bug 1107706)
Backed out changeset 0c074cdc434e (bug 1107706)
Backed out changeset 3b449f8dd470 (bug 1107706)

--HG--
rename : testing/marionette/actions.js => testing/marionette/marionette-actions.js
rename : testing/marionette/common.js => testing/marionette/marionette-common.js
rename : testing/marionette/elements.js => testing/marionette/marionette-elements.js
rename : testing/marionette/frame-manager.js => testing/marionette/marionette-frame-manager.js
rename : testing/marionette/listener.js => testing/marionette/marionette-listener.js
rename : testing/marionette/sendkeys.js => testing/marionette/marionette-sendkeys.js
rename : testing/marionette/simpletest.js => testing/marionette/marionette-simpletest.js
2015-03-23 18:48:07 -07:00
Wes Kocher e31cda410a Backed out changeset 3f4f37b1b910 (bug 1143565) for web platform test failures due to pypi download errors CLOSED TREE 2015-03-23 18:36:15 -07:00
Wes Kocher aca3b4d7bf Backed out changeset 8673899b8229 (bug 1143565) 2015-03-23 18:35:46 -07:00
Andreas Tolfsen 1d8f5a8b04 Bug 1107706: Part 15: Fix emulator callbacks for content process
--HG--
extra : rebase_source : c688926fa68751405406483fd420180e87415798
2015-03-23 15:40:51 +00:00
Andreas Tolfsen 208b570e6c Bug 1107706: Part 14: Fix quitApplication
--HG--
extra : rebase_source : a2fb0d0d8e64cfa6e3801f454858cdfa45d05b2d
2015-03-20 20:44:17 +00:00
Andreas Tolfsen 4cd49ffb2d Bug 1107706: Part 13: Style fixes
Linting; no functional changes.

--HG--
extra : rebase_source : d354ee2aaa5d16774e23b75946c3cfecb9d22624
2015-03-23 20:43:18 +00:00
Andreas Tolfsen 82d54fa5b0 Bug 1107706: Part 12: Drop marionette-* prefix on files
--HG--
rename : testing/marionette/marionette-actions.js => testing/marionette/actions.js
rename : testing/marionette/marionette-common.js => testing/marionette/common.js
rename : testing/marionette/marionette-elements.js => testing/marionette/elements.js
rename : testing/marionette/marionette-frame-manager.js => testing/marionette/frame-manager.js
rename : testing/marionette/marionette-listener.js => testing/marionette/listener.js
rename : testing/marionette/marionette-sendkeys.js => testing/marionette/sendkeys.js
rename : testing/marionette/marionette-simpletest.js => testing/marionette/simpletest.js
extra : rebase_source : 4508c93a8928f3b183076cfbf49690faafd4b880
2015-03-23 21:32:03 +00:00
Andreas Tolfsen 53b157db9e Bug 1107706: Part 11: Global modal dialogue support
--HG--
extra : rebase_source : 7936cd07ae30df9d2cb5baeb00841ad7cabec3a3
2015-03-20 15:46:46 +00:00
Andreas Tolfsen 12f8f08874 Bug 1107706: Part 10: Disable test_anonymous_content.py on B2G
It uses chrome context to test XUL related functionality that is not
necessary nor desirable to run on B2G.

--HG--
extra : rebase_source : 64b32ff15ff2fce0ba0356b49736a404ec8e5c5d
2015-03-11 17:10:18 +00:00
Andreas Tolfsen b708bc2f6b Bug 1107706: Part 9: Disable XUL component tests on B2G
--HG--
extra : rebase_source : 54cefaebaa7abdc7b5e6ab8f2cd47aa17fd6f240
2015-03-12 18:12:05 +00:00
Andreas Tolfsen dc845b7773 Bug 1107706: Part 8: Adapt emulator callbacks
Emulator callbacks are now created dynamically upon request, and uses
a nicer data structure in chrome context.  Each emulator callback is
encapsulated in EmulatorCallback, and stored on Emulator.

Emulator is stored on Dispatcher (as opposed to in marionette-server.js)
which bypasses some of the problems with circumventing the Marionette
protocol in GeckoDriver because of CommandProcessor.

Emulator callbacks to the client should be considered transparent, hence
they do not use the ListenerProxy.  They are explicitly meant _not_
to be blocking.

--HG--
extra : rebase_source : cc936f6556b666ac68f7cc5040c1772b74a0dd66
2015-03-17 16:10:58 +00:00
Andreas Tolfsen 96d49c1612 Bug 1107706: Part 7: Add timeout test for async scripts
--HG--
extra : rebase_source : 3bf4ee380e5d217d38d56af69fdbea79b53bc31f
2015-02-26 17:41:54 +00:00
Andreas Tolfsen ebdf7bb882 Bug 1107706: Part 5: Refactor Marionette chrome/content communication
The Marionette server handles requests separately with a global sense
of state which makes it hard to introduce generalised behaviour to many
commands.  This effectively slows down protocol implementation because
each command request individually needs to do heavy lifting.

This patch introduces a series of abstractions that separates out the
WebDriver implementation to a new class, GeckoDriver.  It also features
a new interface to mediate messages between the chrome- and content
processes.

This allows the code living in the chrome context to make direct calls
on the listener through a promise-based API:

	let listener = new ListenerProxy(mm, sendCallback);
	let res = yield listener.functionOnListener("arg1", "arg2");

The MarionetteServer class that used to live in marionette-server.js
has now been moved to server.js, while the WebDriver implementation
has moved to driver.js.  By introducing more stringent separation,
MarionetteServer now properly encapsulates the server process allowing
us to unit tests for it in the future.

The patch is a refactor in the truest sense, in the meaning that no
input or output should have changed.

--HG--
extra : rebase_source : 2513f6e88b79b2420757e66890d5ca49d5266318
2015-03-19 21:12:58 +00:00
Andreas Tolfsen 4e6729590a Bug 1107706: Part 4: Add dispatching mechanism to encapsulate connection
The dispatcher is analogous to the client socket connection, and handles
receiving packets and closing connections.

It also encompasses some of the functionality needed to establish the
devtools and Marionette connection, that previously used to live in
MarionetteServerConnection in marionette-server.js.

For each connection, recognised commands will be forwarded to the command
processor (command.js) unless a handler is defined in Dispatcher.requests.

--HG--
extra : rebase_source : 2cf2e3ab1ab8b1044aff798b461dfee9b08cf7a4
2015-03-18 12:27:29 +00:00
Andreas Tolfsen a54df09114 Bug 1107706: Part 3: Add a command processor to Marionette
The command processor receives messages, processes them, and wraps the
execution of the command implementations.  This allows commands to throw
errors without worrying about the side effects.

This patch also introduces a Response object which correspondingly wraps
the replies to the client.  This shifts the responsibility of managing
the correctness of the packets from the commands to this.

--HG--
extra : rebase_source : cfab78a0919b0cc95db9dfdf47b2b5e29a15094b
2015-03-17 14:49:27 +00:00
Andreas Tolfsen 81b0e98226 Bug 1107706: Part 2: Add error module and WebDriver error objects
Adds the ability to throw error objects for WebDriver statuses, and an
error module with convenience functions for manipulation of these and
for handling other error related operations.

--HG--
extra : rebase_source : 8095e97f974cdf157cb3100a4249a6ae1a6451dc
2015-03-17 14:27:20 +00:00
Andreas Tolfsen b7ada23175 Bug 1107706: Part 1: Change context from strings to enum
--HG--
extra : rebase_source : e9e02cd686e353f214ea7c7b026120616fc1e823
2015-02-25 21:11:51 +00:00
David Burns f3cedd8fd8 Bug 1143565: Bump marionette client to v 0.9.1; r=chmanchester
--HG--
extra : rebase_source : 31f3ed16c624797c42eba1a9a7a291ce9474173f
2015-03-23 23:34:02 +00:00
David Burns bb6061f40d Bug 1143565: Bump marionette driver to v 0.3; r=chmanchester
--HG--
extra : rebase_source : d54ef25353daf60d03c4456a13a8429b9c187c00
2015-03-23 23:33:30 +00:00
Chris Manchester 7c534982bc Bug 1135846 - Expose marionette's actions code to chrome scope where applicable. r=dburns
--HG--
extra : transplant_source : %1E%A0Q3%FBa%03%3E%E7%DE%178D%25K%A6%BC%2A%895
2015-03-19 18:41:19 -07:00
Ryan VanderMeulen f827302d4c Backed out changesets 72c48d6ddc0b, 85c4ceb3c650, 78a27ab48c54, and 414fe682de4b (bug 1141519) for intermittent test_set_window_size.py failures.
CLOSED TREE
2015-03-23 13:59:28 -04:00
David Burns ec300e839b Bug 1141519: if we try call marionette calls in the teardown and they don't work we should just carry on; r=jgriffin
--HG--
extra : rebase_source : e6eb764a59e618c3252cc1f65a63cf9664d9f0c5
2015-03-19 00:01:00 +00:00
David Burns 852e6e567d Bug 1141519: error if we are going to try send a message to a frame that we know doesnt exist; r=jgriffin
--HG--
extra : rebase_source : 02e80d0712f5e689c8f69916c5ff8e2a88337474
2015-03-19 00:02:47 +00:00
David Burns 256b025ad1 Bug 1141519: added test that puts marionette into a position that can cause hangs when in content scope
--HG--
extra : rebase_source : ef148bb45365b07f84dd1b91ba68da21050c9f18
2015-03-11 00:05:59 +00:00
David Burns 1b8305ba46 Bug 1141519: Don't switch to content scope for logging the test end; r=jgriffin
--HG--
extra : rebase_source : 329e22c622ad34fb1669e6acf68b8f1ea0e08495
2015-03-10 23:23:28 +00:00
Chris Manchester 980c278456 Bug 1144907 - Restore previous context after calling marionette's gather_debug. r=davehunt
--HG--
extra : rebase_source : e9432531d3602b5c81e74832e9dfd11b19120f82
2015-03-18 15:34:12 -07:00
Dave Hunt 8d3cf141a5 Bug 1144240 - Fix generated Marionette documentation. r=ato
--HG--
extra : rebase_source : b1611484f19b7690d679d5860c8989fde3cca672
2015-03-17 11:04:00 -04:00
Chris Manchester 45c8205d96 Bug 1142404 - Fix marionette's restarts to keep from attempting to reconnect to the browser as it's shutting down.;r=dburns 2015-03-16 14:59:46 -07:00
Chris Manchester d0cfd84d5a Bug 1142344 - Remove a racy assertion added in marionette test for frequently failing on a pgo build. r=jgriffin
--HG--
extra : rebase_source : 2b0c77cf464bc9bb48bfabe9daf955fa04687f6e
2015-03-11 18:41:10 -07:00
Chris Manchester ab72518ff4 Bug 1141679 - Ignore the server's response when quitting the application with marionette.;r=jgriffin 2015-03-11 10:17:33 -07:00
Julien Pagès a4da41567d Bug 1141129 - BaseMarionetteTestRunner.__init__ should initialize self.prefs as dictionary. r=dburns
--HG--
extra : rebase_source : 0210a4acd6dd86bea705dd116091b3044ef35f72
2015-03-09 14:05:00 +01:00
David Burns 712b9ac895 NO BUG: correct import in marionette about_pages tests r=me DONTBUILD 2015-03-11 01:21:58 +00:00
Wes Kocher 38217a193e Backed out changeset bdbdf7c42859 for pushing extra files that weren't supposed to be pushed 2015-03-10 18:20:28 -07:00
David Burns e24214fc31 NO BUG: correct import in marionette about_pages tests r=me DONTBUILD 2015-03-11 01:18:10 +00:00
Chris Manchester 1737fece83 Bug 1096488 - Detect and handle switching from remote to non-remote pages and back in marionette.;r=automatedtester 2015-03-10 16:19:40 -07:00
Chris Manchester 63225992a3 Bug 1096488 - Test that switching browser remoteness leaves marionette in a usable state.;r=automatedtester 2015-03-10 16:19:40 -07:00
Chris Manchester 3f66122259 Bug 1096488 - Unskip marionette test navigating to non-remote pages.;r=automatedtester 2015-03-10 16:19:40 -07:00
Julien Pagès fa13622978 Bug 1025125 - If enabled, enter pdb session when test fails. r=ahal 2015-03-10 07:46:00 -04:00
Chris Manchester 72d3ec850e Bug 1137388 - Add a facility to restart firefox from marionette from within the browser for update tests.;r=automatedtester 2015-03-06 17:39:26 -08:00
Barbara Miller 4c72753d2f Bug 1134872 - Fixing getElementValueOfCssProperty to support chrome elements. r=dburns 2015-03-06 13:45:00 -08:00
David Burns 915067447c Bug 1137653: Correct the shape of the data object sent over if there are are crashes or the packet is malformed; r=jgriffin
--HG--
extra : rebase_source : 764983eab93ba07ff9bcffe6ea0c9b3cef8adcf2
2015-03-02 15:27:55 +00:00
David Burns 21ab974554 Bug 1137653: If there is a crash don't try any more marionette commands as they will just cause unnecessary errors; r=jgriffin
--HG--
extra : rebase_source : c16b35a8d9ef860b03d6dd90a061cff2495e5274
2015-03-02 15:19:19 +00:00
David Burns 72b6474e03 Bug 1108590: Update key that is used to return elements from marionette to the client; r=chmanchester
--HG--
extra : rebase_source : 198538bb307a79201463712c96e2bb6a0ae32c0c
extra : histedit_source : 597f4590558f0879bc4bad214f867a1d1fdf7f9b%2C93c6a61cec69547c63c7597f7dbaeb20aadee030
2015-03-05 23:01:05 +00:00
Jeremy Chen 938b6f9559 Bug 1138839 - Part2 - Fix naming issue in marionette test for selection carets. r=automatedtester 2015-03-03 02:03:00 +01:00
Jeremy Chen 9feed0ea5e Bug 1138839 - Part1 - Marionette test for selecting text inside an iframe. r=automatedtester 2015-03-03 01:58:00 +01:00
Chris Manchester dc928c0e88 Bug 1109183 - Fix imports of the marionette client and remove spurious entry from sys.path provided by mach. r=ahal
--HG--
extra : rebase_source : 1c6579dfd5cd44973a74b5c0f81b14fca6f170d4
2015-03-03 17:37:19 -08:00
Jeremy Chen a3d6378544 Bug 1136567 - Marionette test for selection carets' positions after changing orientation of device. r=Automatedtester 2015-03-01 22:45:00 +01:00
Chris Manchester bd1efc3d27 Bug 1097705 - Add ability to right and middle click to marionette's action chains.;r=automatedtester 2015-02-27 17:30:07 -08:00