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

59 Коммитов

Автор SHA1 Сообщение Дата
Eddy Bruel ad07bd7e64 Bug 859372 - Refactor transport.js; r=past 2014-04-24 13:23:30 +02:00
David Burns a6047ce66c Bug 967021: Check that a window listener is not null in marionette; r=mdas 2014-04-17 21:14:09 +01:00
Malini Das cdc2d8b982 Bug 991959 - fix chrome iframe switching, r=dburns 2014-04-10 10:33:39 -04:00
Malini Das ca7e8f22b4 Bug 958036 - fix scrolling in apps with APZ enabled, r=dburns 2014-04-10 10:26:08 -04:00
Vicamo Yang 9d5db529f2 Bug 985537: add runEmulatorShell to Marionette. r=mdas 2014-03-20 13:01:25 +08:00
Eddy Bruel 477b2d2f33 Bug 859372 - Refactor DevToolsUtils.js;r=past 2014-03-04 15:38:05 +01:00
David Burns c51399006c Bug 976831: Remove unused getStatus method from Marionette; r=mdas 2014-02-26 17:06:24 +00:00
Andreas Tolfsen b462b718e5 Bug 964366 - Session capabilities missing browserVersion. r=mdas 2014-02-20 15:36:56 -05:00
Andreas Tolfsen f874b79dc6 Bug 962182 - Add "screenshot" command alias to Marionette. r=mdas 2014-02-20 15:36:35 -05:00
Andreas Tolfsen e3838e9da2 Bug 964367 - Fix incorrect format on platformName capability. r=mdas
The platformName capability (which AFAICT isn't checked in use by any
dependants) should be a limited subset of prescribed platforms as
defined by the WebDriver specification.  System.appinfo.OS returns the
correct values, but not upper cased.

Additionally this patch introduces some tests and documentation for
the getSessionCapabilities function in Marionette and cleans up the
capability list.
2014-02-10 15:58:46 -05:00
Andreas Tolfsen cfcc412200 Bug 940554 - Fix Marionette's newSession to return capabilities. r=mdas 2014-02-07 10:21:49 -05:00
Ryan VanderMeulen cc7805c454 Backed out changeset 5d1c157bbb46 (bug 940554) for changing the Marionette script timeout message in a TBPL-unfriendly way.
CLOSED TREE
2014-02-06 15:37:48 -05:00
Andreas Tolfsen 10357d24fa Bug 940554 - Fix Marionette's newSession to return capabilities. r=mdas 2014-02-06 09:46:28 -05:00
David Burns 8d72f4cda9 Bug 959186 - Remove platform capability in favour of platformName; r=mdas 2014-01-27 23:42:10 +00:00
Andreas Tolfsen 248753160a Bug 963166 - Add getWindowHandles end-point for WebDriver compatibility. r=dburns 2014-01-27 08:18:27 -05:00
Andreas Tolfsen 284751d31e Bug 963162 - Add WebDriver compatible getWindowHandle alias. r=dburns
getCurrentWindowHandle and getWindow are both aliases to this command
now.
2014-01-24 10:47:54 -05:00
Andreas Tolfsen c7c2a08338 Bug 941148 - Rename screenShot to takeScreenshot for webdriver compliance. r=dburns 2014-01-24 08:45:58 -05:00
Andreas Tolfsen 63c79ad8a7 Bug 941145 - Rename goUrl to get for WebDriver compatibility. r=dburns 2014-01-24 08:39:23 -05:00
Andreas Tolfsen 53d09122db Bug 941144 - getWindows not matching Selenium command. r=dburns 2014-01-24 08:30:10 -05:00
Andreas Tolfsen acd1fd0eeb Bug 961792 - Break iteration when browser is found. r=mdas
The iteration used to look up the current window's server-assigned
unique identifier in Marionette continues after the response has been
sent.  This is unnecessary and a potential synchronization problem
because the client only expects a single response.
2014-01-21 13:31:32 -05:00
Andreas Tolfsen cca4fe0a18 Bug 941132 - getElementPosition not matching webdriver command. r=dburns 2014-01-22 14:04:04 -05:00
Andreas Tolfsen bce6fbe347 Bug 941136 - getUrl not matching webdriver command getCurrentUrl. r=dburns 2014-01-21 13:31:31 -05:00
Ryan VanderMeulen a36d197fc7 Backed out 3 changesets (bug 941132, bug 941136, bug 961792) for breaking the Marionette harness. CLOSED TREE
Backed out changeset 301044380886 (bug 961792)
Backed out changeset 236a56500ef3 (bug 941132)
Backed out changeset 02130207774e (bug 941136)
2014-01-21 14:47:41 -05:00
Andreas Tolfsen 5ed04bbfd0 Bug 961792 - Break iteration when browser is found. r=mdas
The iteration used to look up the current window's server-assigned
unique identifier in Marionette continues after the response has been
sent.  This is unnecessary and a potential synchronization problem
because the client only expects a single response.
2014-01-21 13:31:32 -05:00
Andreas Tolfsen fe855f06e6 Bug 941132 - getElementPosition not matching webdriver command. r=dburns 2014-01-21 13:31:31 -05:00
Andreas Tolfsen 1864d067bf Bug 941136 - getUrl not matching webdriver command getCurrentUrl. r=dburns 2014-01-21 13:31:31 -05:00
Andreas Tolfsen b6d66fdc65 Bug 941140 - getWindow not matching webdriver command. r=dburns 2014-01-21 11:40:20 -05:00
Andreas Tolfsen 7b55bb5555 Bug 941129 - Fix getAllCookies not matching WebDriver command. r=dburns
The protocol command getAllCookies remains for backwards compatibility.
2014-01-21 11:40:20 -05:00
Andreas Tolfsen 4e17ecd5d6 Bug 941102 - Fix closeWindow not matching WebDriver command close. r=dburns
The closeWindow request type name has been left for backwards
compatibility.
2014-01-17 10:03:43 -05:00
David Burns d167a8b102 Bug 951453: Updating capabilities of Marionette; r=mdas 2013-12-18 00:19:11 +00:00
Ryan VanderMeulen 4b42450d1d Backed out changeset aad5b9304896 (bug 951453) for Gaia UI test perma-fail. 2013-12-18 14:20:09 -05:00
David Burns 717b595159 Bug 951453: Updating capabilities of Marionette; r=mdas 2013-12-18 16:40:14 +00:00
Bill McCloskey 3bfe21996a Bug 682048 - Change B2G frame script handling to support anon/global scope (r=fabrice) 2013-11-23 21:32:39 -08:00
Andreas Tolfsen c652774643 Bug 804515 - Add screen orientation commands to Marionette
setScreenOrientation allows for a subset of the permitted orientation
change values that screen.mozLockOrientation can take.  Specifically
portrait, landscape, portrait-primary, landscape-primary,
portrait-secondary, landscape-secondary.

Due to W3C bug 23950 both error replies use the non-descriptive 500
status code.  I've filed bug 945734 about this.
---
 testing/marionette/client/marionette/marionette.py | 47 +++++++++--
 .../tests/unit/test_screen_orientation.py          | 90 ++++++++++++++++++++++
 .../client/marionette/tests/unit/unit-tests.ini    |  2 +
 testing/marionette/marionette-server.js            | 50 +++++++++++-
 4 files changed, 183 insertions(+), 6 deletions(-)
 create mode 100644 testing/marionette/client/marionette/tests/unit/test_screen_orientation.py
2013-12-17 11:01:29 -05:00
Ryan VanderMeulen 5dad8f16c4 Backed out changesets e7aa50b69994, bc00eed50b7d, and 30a8127b9277 (bug 682048) for causing frequent B2G reftest timeouts.
CLOSED TREE
2013-12-03 22:44:28 -05:00
Bill McCloskey 6f0d1bf5de Bug 682048 - Change B2G frame script handling to support anon/global scope (r=fabrice) 2013-11-23 21:32:39 -08:00
Malini Das 8697a25b19 Bug 909129 - stop leaking imported scripts and don't import duplicates, r=jgriffin 2013-10-08 16:11:45 -04:00
Andrew Halberstadt 50b673a415 Bug 927568 - fix misplaced null check in marionette-server.js, r=mdas 2013-10-21 10:32:48 -04:00
Vicamo Yang b368696347 Bug 927432: fix 'finish() not called' in chrome js Marionette test cases. r=jgriffin 2013-10-17 10:26:27 +08:00
Wes Kocher 5ee8245702 Merge m-c to fx-team 2013-10-15 20:32:13 -07:00
Blair McBride 89d1cbef27 Bug 451283 - Move log4moz.js to Toolkit as Log.jsm. r=gps,Mossop
--HG--
rename : services/common/log4moz.js => toolkit/modules/Log.jsm
rename : services/common/tests/unit/test_log4moz.js => toolkit/modules/tests/xpcshell/test_Log.js
2013-08-26 11:55:58 -07:00
David Burns 51b68603bf Bug 759485: Add submit to HTMLElement on Marionette to submit forms without click() or send_keys(); r=mdas 2013-10-15 15:40:48 +01:00
David Burns 319540ebdd Bug 807282 - Update marionette command/response to match that of the WebDriver spec; r=mdas 2013-10-01 16:13:04 +01:00
Ed Morley e553f8322f Backed out changeset 8ecb68f17618 (bug 909129) for causing bug 924959 2013-10-09 17:13:22 +01:00
Malini Das 19967cd8d1 Bug 909129 - fix leaking imported scripts from marionette, r=dburns 2013-10-08 16:11:45 -04:00
Malini Das 00bfcedc58 Bug 779284 - Implement B2G Modal dialog handling to Marionette, r=jgriffin,mdas 2013-09-19 13:35:19 -04:00
Mihnea Dobrescu-Balaur c0025c07ba Bug 904232 - Add inactivity timeout for marionette tests. r=jgriffin 2013-08-28 10:06:03 -07:00
Jonathan Griffin f216c745e6 Bug 779284 - Back out 705d668fb81b for suspected perf regressions, a=test-only 2013-08-25 11:23:19 -07:00
Malini Das 8c49af2321 Bug 779284 - Implement Modal dialog handling to Marionette, r=jgriffin 2013-08-16 16:54:41 -04:00
Jonathan Griffin 341f7bc310 Bug 898074 - Don't send multiple responses to deleteSession, r=dhylands 2013-08-01 18:20:22 -07:00