Commit Graph

1269 Commits

Author SHA1 Message Date
Chris Manchester
e5b31e1213 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
061cdaf4cd 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
4b995d9cae Bug 1169381 - Bump dependency for mozinfo in marionette-client to >=0.8. r=jgriffin 2015-05-28 12:05:00 -04:00
Jonathan Griffin
3f41402bd2 Bug 1168997 - Bump marionette-client to 0.14, r=dburns 2015-05-28 08:58:22 -07:00
Alive Kuo
353eab3926 Bug 1169122 - Change the way to reference AppWindowManager. r=jgriffin 2015-05-28 10:42:30 +08:00
Jonathan Griffin
943a9030d5 Bug 1163833 - Add integration with browsermob-proxy, r=dburns 2015-05-27 10:00:09 -07:00
Jonathan Griffin
6de678a759 Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Ting-Yu Chou
9d9e0a5441 Bug 1141418 - Fix index after calling splice while iterating remoteFrames array. r=jgriffin 2015-05-18 12:04:26 +08:00
Jonathan Griffin
a68f9f6666 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
0e5292a487 Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Jonathan Griffin
4f6a87b451 Bug 1161606 - Implement 'using_permission' context manager, r=dburns 2015-05-14 12:08:17 -07:00
Jonathan Griffin
5fb5e32261 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
af0282d75f 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
2015-04-29 12:00:43 +01:00
Jonathan Griffin
4d39ae0ffb Bug 1149618 - Add a sandbox parameter to execute, r=dburns 2015-04-23 13:39:38 -07:00
Jonathan Griffin
88e8363be4 Bug 1149618 - Implement push_permission in Marionette, r=dburns 2015-05-04 09:49:08 -07:00
Andreas Tolfsen
187bd4010f Bug 1060300: Match Marionette's navigation API docs to reality
r=dhunt
2015-05-04 11:25:03 +01:00
Andreas Tolfsen
723de82abc 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
2015-04-29 11:32:01 +01:00
Andreas Tolfsen
569725e802 Bug 1155716: Part 1: Remove submitElement from Marionette
r=dburns
2015-04-29 11:31:19 +01:00
Andreas Tolfsen
e2a266155d 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
2015-04-28 19:16:46 +01:00
Armen Zambrano Gasparnian
de83c926f9 Bug 1159816 - Bump marionette_client to 0.12. DONTBUILD. CLOSED TREE. r=chmanchester 2015-04-29 16:35:33 -04:00
Andreas Tolfsen
dbb677bf03 Bug 1157259: Correct ScriptTimeoutError reference in listener
r=dburns
2015-04-28 18:59:07 +01:00
Andreas Tolfsen
a5c25ed367 Bug 1157266: Fix error unable to set cookie in listener
r=dburns
2015-04-28 18:53:51 +01:00
Andreas Tolfsen
209b182f43 Bug 1159232: Avoid use of template string in GeckoDriver#sendAsync
Also avoids it in GeckoDriver#execute.

r=dburns
2015-04-28 14:34:55 +01:00
Andreas Tolfsen
8f3ff4e71b Bug 1159238. Generate UUID internally to ContentSender
r=dburns
2015-04-28 18:15:08 +01:00
Andreas Tolfsen
5d21719632 Bug 1159219: Make ContentSender a separate module
r=dburns
2015-04-28 14:25:37 +01:00
Andreas Tolfsen
18920e544d 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
2015-04-23 14:34:40 +01:00
Andreas Tolfsen
fc30774886 Bug 1157253: Port ListenerProxy to use Proxy instead of __noSuchMethod__
r=chmanchester
2015-04-23 16:59:12 +01:00
Andreas Tolfsen
44da56021d 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
2015-04-24 17:55:22 +01:00
Andreas Tolfsen
72965f5e45 Bug 1157258: Fix null type comparisons in driver.js
r=davehunt
2015-04-24 13:55:52 +01:00
Chris Manchester
69c37a726b Bug 1157725 - Rewrite test_mouse_action.py to be more robust. r=ato 2015-04-23 22:17:30 -07:00
Andreas Tolfsen
5e0e0a420f Bug 1158113: Removing two straggling error codes from Marionette
r=davehunt
2015-04-24 12:06:43 +01:00
Andreas Tolfsen
38ec7986e5 Bug 1155658: Rename "illegal argument" error to "invalid argument"
r=chmanchester
2015-04-17 18:43:05 +01:00
Andreas Tolfsen
aecc680db5 Bug 1157665: Add mozrunner dependency to marionette_driver
Also bumps the version to 0.5.

r=davehunt
2015-04-23 13:11:31 +01:00
Chris Manchester
59fabc1d0f Bug 1157823 - Update dependency to reflect that the marionette client requires a more recent mozhttpd. r=ato 2015-04-23 11:08:34 -07:00
Chris Manchester
ced9f6905d Bug 1157261 - Fix typo in reference to curFrame in marionette listener. r=ato 2015-04-22 10:22:26 -07:00
Andreas Tolfsen
a101eb60e1 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
2015-04-17 17:02:14 +01:00
Andreas Tolfsen
b413361fca 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
2015-04-08 19:02:34 +01:00
Andreas Tolfsen
bb73fd49fe Bug 1152682: Correct invalid selector errors in elements.js
r=jgriffin
2015-04-20 13:45:59 +01:00
Andreas Tolfsen
56c1116703 Bug 1154757: Correct unable to set cookie error
r=dburns
2015-04-20 13:53:51 +01:00
Andreas Tolfsen
c7bed7be9e Bug 1154681: Use static lookups in errors.py
r=jgraham
2015-04-21 12:26:39 +01:00
Carsten "Tomcat" Book
e08f573d86 Backed out changeset 9947bd361636 (bug 945729) for wpt test failures 2015-04-21 16:01:40 +02:00
Chris Manchester
3567aa7b0b Bug 1083131 - Always remove a profile created by marionette when the runner shuts down. r=ato 2015-04-16 18:04:24 -07:00
Andreas Tolfsen
7aeb354d1d 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
2015-04-08 19:02:34 +01:00
Andreas Tolfsen
de74524f84 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
2015-04-15 13:38:01 +01:00
Andreas Tolfsen
eafb58a345 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
2015-04-15 12:18:00 +01:00
Andreas Tolfsen
484664d9a9 Bug 1155260: Fix base URL override in Marionette runner
Fixes regression from bug 941085, and bumps marionette_client to 0.11.

r=davehunt
2015-04-20 11:22:00 +01:00
Carsten "Tomcat" Book
3c12a1d2ab Backed out changeset 0b28f5ff48a6 (bug 1153832) for suspicion of making dt Asan test fail frequent/permanently 2015-04-20 14:37:12 +02:00
Carsten "Tomcat" Book
ef1c5e32ee Backed out changeset 330f6df11b2f (bug 1154691) 2015-04-20 14:36:17 +02:00
Andreas Tolfsen
9b73a581f2 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
2015-04-15 13:38:01 +01:00
Ryan VanderMeulen
95ac0282a4 Backed out changeset c7eea3e8f98a (bug 1154691) for Windows w-p-t failures.
CLOSED TREE
2015-04-17 17:55:08 -04:00