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

112 Коммитов

Автор SHA1 Сообщение Дата
Andreas Tolfsen f6bfff23ab Bug 1257523 - Remove unused imports; r=automatedtester
MozReview-Commit-ID: K12laAg8zLy

--HG--
extra : rebase_source : 01f495019e69ac859b3f7eb7653a14653477bb93
2016-03-17 14:29:41 +00:00
Andreas Tolfsen 158557f87b Bug 1245064 - Pass all capabilities to listener; r=automatedtester
MozReview-Commit-ID: 2UgKKAUowM4

--HG--
extra : rebase_source : 5ffd21c06fb98ac908d5118f55736b5f4271ff95
2016-03-04 18:02:56 +00:00
Andreas Tolfsen e3854ffb41 Bug 1245064 - Implement element pointer-interactability; r=automatedtester
Implements the WebDriver pointer-interactability algorithm described in
http://w3c.github.io/webdriver/webdriver-spec.html#dfn-interactable-element.

The specification compatible behaviour is enabled only when the client
requests the capability specificationLevel >= 0.

MozReview-Commit-ID: BP60SGj49OW

--HG--
extra : rebase_source : d84d38510e28ab5e0debce2051e336e1fd3f0f86
2016-03-04 16:44:38 +00:00
Andreas Tolfsen 71b94d4505 Bug 1245064 - Refactor interaction- and accessibility API; r=automatedtester
MozReview-Commit-ID: LblRZz8KqPx

--HG--
extra : rebase_source : fbb7995924c7e2707e2aaa2293b8a5c51fc563bc
2016-03-03 13:58:13 +00:00
Carsten "Tomcat" Book 84efe80138 Backed out changeset 4dec8d87c105 (bug 1245064) for marionette bustage 2016-03-09 14:03:28 +01:00
Carsten "Tomcat" Book 38c337c81b Backed out changeset 1dd0bcc1c45e (bug 1245064) 2016-03-09 14:03:07 +01:00
Carsten "Tomcat" Book b685a90a5e Backed out changeset 2483596f62ef (bug 1245064) 2016-03-09 14:03:04 +01:00
Andreas Tolfsen 64ff8c0c0e Bug 1245064 - Pass all capabilities to listener; r=automatedtester
MozReview-Commit-ID: 2UgKKAUowM4

--HG--
extra : rebase_source : aae2e03f133b21ab1e65b51aebdec155a2990beb
2016-03-04 18:02:56 +00:00
Andreas Tolfsen ed18a3de7d Bug 1245064 - Implement element pointer-interactability; r=automatedtester
Implements the WebDriver pointer-interactability algorithm described in
http://w3c.github.io/webdriver/webdriver-spec.html#dfn-interactable-element.

The specification compatible behaviour is enabled only when the client
requests the capability specificationLevel >= 0.

MozReview-Commit-ID: BP60SGj49OW

--HG--
extra : rebase_source : 357accaa38b44704fcaf839aa50e1e29af0b3f99
2016-03-04 16:44:38 +00:00
Andreas Tolfsen fcdf164815 Bug 1245064 - Refactor interaction- and accessibility API; r=automatedtester
MozReview-Commit-ID: LblRZz8KqPx

--HG--
extra : rebase_source : 347210842fae698acde760c2733dd8d882a09c25
2016-03-03 13:58:13 +00:00
Andreas Tolfsen 1a08c44699 Bug 1253244 - Use element.coordinates in listener; r=automatedtester
MozReview-Commit-ID: 4sWZNXrenqZ

--HG--
extra : rebase_source : 8a212826ff0dbe4a2555a9712f7fd7039f7ad5ff
2016-03-03 14:28:40 +00:00
Andreas Tolfsen 772f8fbb0b Bug 1253248 - Use element.Strategy enum consistently; r=automatedtester
Removes the exported constants from testing/marionette/element.js and
introduces the migrates to using the element.Strategy enum consistently
throughout Marionette.

The supported strategies array passed into ElementManager's ctor has
also received some much needed attention and now actually works.

MozReview-Commit-ID: LPuDX0aishM

--HG--
extra : rebase_source : bb06ea5a25d9a0dbcd6f3e1311d31df95cd4e26d
2016-03-04 12:01:09 +00:00
Andreas Tolfsen a1495c253c Bug 1253236 - Remove window argument from element.isVisible; r=automatedtester
MozReview-Commit-ID: ITzY9RXjJCG

--HG--
extra : rebase_source : 7954e5d2891a8d214fdbf00ea1b0b62acc0482b3
2016-03-03 14:20:39 +00:00
Andreas Tolfsen 4a0bcbbee4 Bug 1253236 - Rename element.checkVisible to isVisible; r=automatedtester
MozReview-Commit-ID: 1fkH93OXjWF

--HG--
extra : rebase_source : 39c628d9ca7ef1713a68e620a8c759813c5415fc
2016-03-03 14:18:52 +00:00
Andreas Tolfsen 278e4c6847 Bug 1251701 - Store imported scripts in memory; r=jgriffin
This bug is also a dependency for scheduling Mn-e10s tests on Windows 7
(bug 1251351).

MozReview-Commit-ID: 2jE4C99d1MX

--HG--
extra : rebase_source : 96c9fad49538fdadcc8f001aeef5926e82419001
2016-02-29 18:52:30 +00:00
Andreas Tolfsen 46bb47edff Bug 1250102 - Employ new element location API; r=automatedtester
MozReview-Commit-ID: K831MhwAT6X

--HG--
extra : rebase_source : 6f3edeb2b42d8168887738ce4863cc8e15bf5d05
2016-02-23 15:19:21 +00:00
Andreas Tolfsen cb2ec4bbdf Bug 1250102 - Correct exported symbol from testing/marionette/element.js; r=automatedtester
MozReview-Commit-ID: 9naIfpy9HPD

--HG--
extra : rebase_source : dc6b96137ed6c378772477cc36687a1655028ae3
2016-02-23 15:01:12 +00:00
Andreas Tolfsen 04268e1ed9 Bug 1242655 - Have ActionChain#dispatchActions return a promise; r=automatedtester
MozReview-Commit-ID: ITqAH4rVsHc

--HG--
extra : rebase_source : 678d4097585bedde7f12b646106a592cf42598d3
2016-02-22 13:18:13 +00:00
Andreas Tolfsen fddfa9ac45 Bug 1245153 - Rename actions.js to action.js; r=automatedtester
MozReview-Commit-ID: 58v7aMH2deS

--HG--
rename : testing/marionette/actions.js => testing/marionette/action.js
extra : histedit_source : ffe0d88ffcef11c8faf7fc7f3c3432044847afe4
extra : rebase_source : c4b890c3fbcd6952d1c4a63a321a7cf35c5cd1ee
extra : commitid : CvejXEffZ33
extra : source : 1be5f60393a02b47cc21cccd6cc73f5e5dd9bcc7
extra : intermediate-source : 9f3f1c358e47b0851a2789e627b1e385cfa61410
2016-02-03 19:25:28 +00:00
Andreas Tolfsen b96bf07b7f Bug 1245153 - Rename interactions.js to interaction.js; r=automatedtester
MozReview-Commit-ID: F51ENbkcoR2

--HG--
rename : testing/marionette/interactions.js => testing/marionette/interaction.js
extra : histedit_source : 7269fae81673ad9630ad26e4506f978401c28c3f
extra : rebase_source : d2212a7701857f5a3ea37c400cd7cc49479f6bad
extra : commitid : BW8g2i1Wntt
extra : source : c1e0abbfa66e6289b25e3c6d45867c3b627d33d8
extra : intermediate-source : 6da8099573f3c84ab4361c9987441643488baf5b
2016-02-03 19:15:54 +00:00
Andreas Tolfsen c9fdd91435 Bug 1245153 - Rename elements.js to element.js; r=automatedtester
MozReview-Commit-ID: KAGGXOHMvyM

--HG--
rename : testing/marionette/elements.js => testing/marionette/element.js
extra : histedit_source : d76eb69ad2f5781bcd7a4c0cda4f2f3c6abe840c
extra : rebase_source : d7eb17a424f7c542f0081d4ea938bd461f3583ae
extra : commitid : 77YYJxt23TN
extra : source : 80ae953819c81f7aad1c635311fb0ab5517ca1dd
extra : intermediate-source : 63a56310a1b5593eeec4d546c87c9e9c4c04252d
2016-02-03 19:14:10 +00:00
Andreas Tolfsen 85d23f2052 Bug 1245153 - Remove testing/marionette/atoms; r=automatedtester
MozReview-Commit-ID: 1aeRNnvqmcS

--HG--
rename : testing/marionette/atoms/atoms.js => testing/marionette/atom.js
extra : histedit_source : 3f864808e86d7cafbcb9edee3702f9cc16089b76
extra : rebase_source : 8d80f0505b8b0b3779eb04165c98c72f284ce573
extra : commitid : Ekqmuuhp0pC
extra : source : 3edb67388ad6bbdee9f735b2a99d1999a1af0a46
extra : amend_source : 142a6496da5d8c7edb72b27f27944add2ce0dc8d
extra : intermediate-source : 5fe42d498a2a4511b3d479c4d75b078817f05632
2016-02-03 19:00:46 +00:00
Andreas Tolfsen a683538e91 Bug 1245153 - Employ new modules throughout Marionette; r=automatedtester
This change removes almost all the remaining uses of loadSubScript and
global scope pollution.  The only remaining use is for common.js, which
is resolved by a later bug for evaluating scripts.

MozReview-Commit-ID: 96h0yLElauq

--HG--
extra : histedit_source : 70f70a8aeffef3fca18addfa3fca575a9128e11a
extra : rebase_source : c251c58a7a086c606d3d3941adfeee26ecc49504
extra : commitid : 8XlX4zVZQUN
extra : source : 6bb93562a57656e6cc744c3c901a5ec80f9ec4d8
extra : intermediate-source : ad5bf32d8fef351a0bc4d6249bd16a34aa83f548
2016-02-03 18:56:02 +00:00
Carsten "Tomcat" Book 33e27d2555 Backed out 18 changesets (bug 1245153) for multiple test failures
Backed out changeset 18d54b8d4ae8 (bug 1245153)
Backed out changeset 98b6d0c053c0 (bug 1245153)
Backed out changeset c29a348930a4 (bug 1245153)
Backed out changeset f79252e92acc (bug 1245153)
Backed out changeset 9f3f1c358e47 (bug 1245153)
Backed out changeset 3b9e9a027fa7 (bug 1245153)
Backed out changeset 6da8099573f3 (bug 1245153)
Backed out changeset 63a56310a1b5 (bug 1245153)
Backed out changeset 5fe42d498a2a (bug 1245153)
Backed out changeset b3be2d2f3ac1 (bug 1245153)
Backed out changeset ad5bf32d8fef (bug 1245153)
Backed out changeset 68a6dda373d2 (bug 1245153)
Backed out changeset 6ebd9fde50c0 (bug 1245153)
Backed out changeset e41a5b41859a (bug 1245153)
Backed out changeset 048d70070751 (bug 1245153)
Backed out changeset eff85dc0eaa9 (bug 1245153)
Backed out changeset dc6460e0f336 (bug 1245153)
Backed out changeset 36526a2e8b00 (bug 1245153)

--HG--
rename : testing/marionette/event.js => testing/marionette/EventUtils.js
rename : testing/marionette/action.js => testing/marionette/actions.js
rename : testing/marionette/atom.js => testing/marionette/atoms/atoms.js
rename : testing/marionette/element.js => testing/marionette/elements.js
rename : testing/marionette/frame.js => testing/marionette/frame-manager.js
rename : testing/marionette/interaction.js => testing/marionette/interactions.js
2016-02-11 17:05:41 +01:00
Andreas Tolfsen fd1a2f3260 Bug 1245153 - Rename actions.js to action.js; r=automatedtester
MozReview-Commit-ID: 58v7aMH2deS

--HG--
rename : testing/marionette/actions.js => testing/marionette/action.js
extra : commitid : CvejXEffZ33
extra : rebase_source : d7cb58bc1a84b4d96e0a011c36f2be22e72fea4b
extra : source : 1be5f60393a02b47cc21cccd6cc73f5e5dd9bcc7
extra : histedit_source : ffe0d88ffcef11c8faf7fc7f3c3432044847afe4
2016-02-03 19:25:28 +00:00
Andreas Tolfsen 8601465556 Bug 1245153 - Rename interactions.js to interaction.js; r=automatedtester
MozReview-Commit-ID: F51ENbkcoR2

--HG--
rename : testing/marionette/interactions.js => testing/marionette/interaction.js
extra : commitid : BW8g2i1Wntt
extra : rebase_source : a8fcc42b45fb2edeeec4fbee97a472fe0300bc66
extra : source : c1e0abbfa66e6289b25e3c6d45867c3b627d33d8
extra : histedit_source : 7269fae81673ad9630ad26e4506f978401c28c3f
2016-02-03 19:15:54 +00:00
Andreas Tolfsen 111c3bc1a1 Bug 1245153 - Rename elements.js to element.js; r=automatedtester
MozReview-Commit-ID: KAGGXOHMvyM

--HG--
rename : testing/marionette/elements.js => testing/marionette/element.js
extra : commitid : 77YYJxt23TN
extra : rebase_source : 9ed6f3e8d0b43e68716c462b83cdd718346b6c16
extra : source : 80ae953819c81f7aad1c635311fb0ab5517ca1dd
extra : histedit_source : d76eb69ad2f5781bcd7a4c0cda4f2f3c6abe840c
2016-02-03 19:14:10 +00:00
Andreas Tolfsen e55d84e08c Bug 1245153 - Remove testing/marionette/atoms; r=automatedtester
MozReview-Commit-ID: 1aeRNnvqmcS

--HG--
rename : testing/marionette/atoms/atoms.js => testing/marionette/atom.js
extra : histedit_source : 3f864808e86d7cafbcb9edee3702f9cc16089b76
extra : rebase_source : 9af66df47570b37b18469940f7efbe7862da5725
extra : commitid : Ekqmuuhp0pC
extra : source : 3edb67388ad6bbdee9f735b2a99d1999a1af0a46
extra : amend_source : 142a6496da5d8c7edb72b27f27944add2ce0dc8d
2016-02-03 19:00:46 +00:00
Andreas Tolfsen 33ab7ed5af Bug 1245153 - Employ new modules throughout Marionette; r=automatedtester
This change removes almost all the remaining uses of loadSubScript and
global scope pollution.  The only remaining use is for common.js, which
is resolved by a later bug for evaluating scripts.

MozReview-Commit-ID: 96h0yLElauq

--HG--
extra : commitid : 8XlX4zVZQUN
extra : rebase_source : a5c8057c7ce0f52dc319f2e9d0937d6a4aab84d4
extra : source : 6bb93562a57656e6cc744c3c901a5ec80f9ec4d8
extra : histedit_source : 70f70a8aeffef3fca18addfa3fca575a9128e11a
2016-02-03 18:56:02 +00:00
Carsten "Tomcat" Book d07b3125f8 Backed out 16 changesets (bug 1245153) for mochitest test-bustage on a CLOSED TREE
Backed out changeset 30c8ec933737 (bug 1245153)
Backed out changeset 4c2b1902d7cd (bug 1245153)
Backed out changeset 1be5f60393a0 (bug 1245153)
Backed out changeset 22321e6b65e9 (bug 1245153)
Backed out changeset c1e0abbfa66e (bug 1245153)
Backed out changeset 80ae953819c8 (bug 1245153)
Backed out changeset 3edb67388ad6 (bug 1245153)
Backed out changeset 55f64197f6b5 (bug 1245153)
Backed out changeset 6bb93562a576 (bug 1245153)
Backed out changeset 5da7628c3767 (bug 1245153)
Backed out changeset bd41e4ab829d (bug 1245153)
Backed out changeset ee7ee24cc65e (bug 1245153)
Backed out changeset 4b2a5ee7199e (bug 1245153)
Backed out changeset d75ad1397656 (bug 1245153)
Backed out changeset 1f5e37f8e446 (bug 1245153)
Backed out changeset aec0a0166685 (bug 1245153)

--HG--
rename : testing/marionette/event.js => testing/marionette/EventUtils.js
rename : testing/marionette/action.js => testing/marionette/actions.js
rename : testing/marionette/atom.js => testing/marionette/atoms/atoms.js
rename : testing/marionette/element.js => testing/marionette/elements.js
rename : testing/marionette/frame.js => testing/marionette/frame-manager.js
rename : testing/marionette/interaction.js => testing/marionette/interactions.js
extra : rebase_source : 11bba1116e87ed79fa72f24ff41216a6e3fb00d6
2016-02-05 14:18:19 +01:00
Andreas Tolfsen 0c901fb28c Bug 1245153 - Rename actions.js to action.js; r=automatedtester
--HG--
rename : testing/marionette/actions.js => testing/marionette/action.js
extra : commitid : CvejXEffZ33
extra : rebase_source : 36f2508ade5513896a171ab0b8398be8f0fc0c0e
extra : histedit_source : ffe0d88ffcef11c8faf7fc7f3c3432044847afe4
2016-02-03 19:25:28 +00:00
Andreas Tolfsen e08f76bd5b Bug 1245153 - Rename interactions.js to interaction.js; r=automatedtester
--HG--
rename : testing/marionette/interactions.js => testing/marionette/interaction.js
extra : commitid : BW8g2i1Wntt
extra : rebase_source : b9fb3a3f1cd9a9a1cd1e2ffd71d64bef5d2b3e52
extra : histedit_source : 7269fae81673ad9630ad26e4506f978401c28c3f
2016-02-03 19:15:54 +00:00
Andreas Tolfsen 462619ecc4 Bug 1245153 - Rename elements.js to element.js; r=automatedtester
--HG--
rename : testing/marionette/elements.js => testing/marionette/element.js
extra : commitid : 77YYJxt23TN
extra : rebase_source : 987be9441ad296eaf9e4a1624d9af96d496d687d
extra : histedit_source : d76eb69ad2f5781bcd7a4c0cda4f2f3c6abe840c
2016-02-03 19:14:10 +00:00
Andreas Tolfsen c547c09644 Bug 1245153 - Remove testing/marionette/atoms; r=automatedtester
--HG--
rename : testing/marionette/atoms/atoms.js => testing/marionette/atom.js
extra : commitid : Ekqmuuhp0pC
extra : rebase_source : 2de6bdf828d578821006adbf6b79772ec16e0cfa
extra : amend_source : 142a6496da5d8c7edb72b27f27944add2ce0dc8d
extra : histedit_source : 3f864808e86d7cafbcb9edee3702f9cc16089b76
2016-02-03 19:00:46 +00:00
Andreas Tolfsen 0414e11cb2 Bug 1245153 - Employ new modules throughout Marionette; r=automatedtester
This change removes almost all the remaining uses of loadSubScript and
global scope pollution.  The only remaining use is for common.js, which
is resolved by a later bug for evaluating scripts.

--HG--
extra : commitid : 8XlX4zVZQUN
extra : rebase_source : b5420c4ba5298a7e972e7b14a13325bb8ea1a540
extra : histedit_source : 70f70a8aeffef3fca18addfa3fca575a9128e11a
2016-02-03 18:56:02 +00:00
Andreas Tolfsen b6fcf96be2 Bug 1243704 - Serialise errors sent over IPC; r=automatedtester
This fixes an instance of passing an Error prototype over the message
manager as a CPOW.  We solve this by marshaling the error, which is
now done automatically by the new AsyncMessageChannel.  It allows us to
create an (almost) transparent promise-based interface between chrome-
and content contexts.

The patch also makes AsyncMessageChannel reusable on both sides of the
message listener, but it's currently not used at its maximum potential
because of the way the listener is architected.

--HG--
extra : commitid : EQd5E4Digdv
extra : rebase_source : 8e0c36960759d25c73bbbc0f4f0bcb453c1028f4
extra : amend_source : 6bb6a76a8b30a5524639f8236291980b16402e6a
2016-01-29 12:57:46 +00:00
Andreas Tolfsen d34dde504d Bug 1242459 - Replace dump() with logger in actions.js; r=automatedtester
Turns testing/marionette/actions.js into a JS module.

--HG--
extra : commitid : 9H79Czlo1bR
extra : rebase_source : 361ba48bf1e25aff74f919b3f8d6999e3ef76209
extra : amend_source : e3d437eff976a4fd1381d5048e160c0359763d7d
2016-01-27 19:33:48 +00:00
Andreas Tolfsen c2d519ab45 Bug 1153828 - Merge message listeners in AsyncContentSender; r=automatedtester
This change reduces the number of content frame script message senders
from three to one by imposing a message format.

--HG--
extra : rebase_source : 2e2940eb7d095e22a60d3e6f3af44446bb425c93
2016-01-21 19:27:23 +00:00
Yura Zenevich 5132ceb11b Bug 1238744 - centralizing interactions into its own file. r=ato 2016-01-17 12:22:22 -05:00
David Burns 0a584993f6 Bug 1239307: Marionette to click on centre first client rect r=ato
Updating Marionette to click on the centre of the first client rect instead of
clicking on the centre of the bounding rect. This allows us to click on multiline
links and other items where where are mutliple DOMRects associated with
an element.

--HG--
extra : commitid : LdAoye46nTf
extra : rebase_source : d70743027886996dbea8e5cb33b4c0cdf81114b0
extra : histedit_source : 5ff0b5e7a247c810a7ff21ecbbbb714371871280
2016-01-13 14:24:48 +00:00
Andreas Tolfsen 522c335953 Bug 1221187: testing/marionette: Adjust log levels to match new defaults; r=automatedtester
--HG--
extra : rebase_source : e8abfc0bfed9d74f90ba5f758a74ebbdd4da3605
2016-01-03 17:19:59 +00:00
Edgar Chen 31a7f4d9c9 Bug 1230847 - Use increasing value as id for runEmulatorCmd and runEmulatorShell. r=ato
--HG--
extra : commitid : 5Sl2Yge4LNO
extra : rebase_source : 57a16f6ee3e2fae4177f137263546d5e0f6c5cba
extra : amend_source : f3de7188493a5ef64c2e7ff96cad0e7abf9bba9a
2015-12-06 16:27:18 -05:00
Andreas Tolfsen 3421774080 Bug 1211489: Provide message sequencing in Marionette
Message sequencing allows Marionette to provide an asynchronous,
parallel pipelining user-facing interface, limit chances of payload
race conditions, and remove stylistic inconsistencies in how commands
and responses are dispatched internally.

Clients that deliver a blocking WebDriver interface are still be expected
to not send further command requests before the response from the last
command has come back, but if they still happen to do so because of
programming error or otherwise, no harm will be done.  This will guard
against bugs such as bug 1207125.

This patch formalises the command and response concepts, and applies
these concepts to emulator callbacks. Through the new message format,
Marionette is able to provide two-way parallel communication.  In other
words, the server will be able to instruct the client to perform a
command in a non ad-hoc way.

runEmulatorCmd and runEmulatorShell are both turned into command
instructions originating from the server.  This resolves a lot of
technical debt in the server code because they are no longer special-cased
to circumvent the dispatching technique used for all other commands;
commands may originate from either the client or the server providing
parallel pipelining enforced through message sequencing:

             client      server
               |            |
    msgid=1    |----------->|
               |  command   |
               |            |
    msgid=2    |<-----------|
               |  command   |
               |            |
    msgid=2    |----------->|
               |  response  |
               |            |
    msgid=1    |<-----------|
               |  response  |
               |            |

The protocol now consists of a "Command" message and the corresponding
"Response" message.  A "Response" message must always be sent in reply
to a "Command" message.

This bumps the Marionette protocol level to 3.

r=dburns
r=jgriffin

--HG--
extra : commitid : 1kz4Oa2q3Un
2015-09-26 17:12:01 +01:00
Sebastian Hengst 2bc8fc4402 Backed out changeset c2aa06a2ab49 (bug 1211489) for Gij(39) failures. r=backout 2015-11-26 23:47:34 +01:00
Andreas Tolfsen 86bd46756a Bug 1211489: Provide message sequencing in Marionette
Message sequencing allows Marionette to provide an asynchronous,
parallel pipelining user-facing interface, limit chances of payload
race conditions, and remove stylistic inconsistencies in how commands
and responses are dispatched internally.

Clients that deliver a blocking WebDriver interface are still be expected
to not send further command requests before the response from the last
command has come back, but if they still happen to do so because of
programming error or otherwise, no harm will be done.  This will guard
against bugs such as bug 1207125.

This patch formalises the command and response concepts, and applies
these concepts to emulator callbacks. Through the new message format,
Marionette is able to provide two-way parallel communication.  In other
words, the server will be able to instruct the client to perform a
command in a non ad-hoc way.

runEmulatorCmd and runEmulatorShell are both turned into command
instructions originating from the server.  This resolves a lot of
technical debt in the server code because they are no longer special-cased
to circumvent the dispatching technique used for all other commands;
commands may originate from either the client or the server providing
parallel pipelining enforced through message sequencing:

             client      server
               |            |
    msgid=1    |----------->|
               |  command   |
               |            |
    msgid=2    |<-----------|
               |  command   |
               |            |
    msgid=2    |----------->|
               |  response  |
               |            |
    msgid=1    |<-----------|
               |  response  |
               |            |

The protocol now consists of a "Command" message and the corresponding
"Response" message.  A "Response" message must always be sent in reply
to a "Command" message.

This bumps the Marionette protocol level to 3.

r=dburns
r=jgriffin

--HG--
extra : commitid : 2upWRuXyqPF
extra : rebase_source : f384801e209e4b49ef57055fd550c3c435ece4ef
2015-09-26 17:12:01 +01:00
Andreas Tolfsen 3ddc4dcff5 Bug 1223907: Refactor cookies in Marionette
Moves most of the cookie implementation to a new file,
testing/marionette/cookies.js.  The new Cookies class encapsulates all
APIs for manipulating and querying cookies from content space.

It communicates with chrome space, where the cookie manager lives, through
a new SyncContentSender provided by testing/marionette/proxy.js.  This new
interface provides synchronous and transparent communication from content
to chrome, not dissimilar from how the original listener proxy works.

r=dburns

--HG--
extra : commitid : 7jF7OFSx4Yk
extra : rebase_source : 8fc73fb59196f8076e85673d002c42e2ae458ad0
2015-11-13 13:35:22 +00:00
Andreas Tolfsen 6d114b137e Bug 1201050: Part 3: Use dispatcher for listener mutliAction
r=dburns

--HG--
extra : commitid : 1lEK3P90oh0
extra : rebase_source : 45a9aded327adb1899ef795898683fa71aaf5c26
2015-09-02 14:04:58 +01:00
Andreas Tolfsen 407cfefbc9 Bug 1201050: Part 1: Use dispatcher for listener actionChain
r=dburns

--HG--
extra : commitid : EcKvt9OtC10
extra : rebase_source : b9f9d53fa2d3815863bf5c3261c0b8a4334d4028
2015-09-02 13:36:03 +01:00
Yura Zenevich 2c5a38020c Bug 1227147 - ensuring that switchToShadowRoot does not crash when shadowRoot host element is dead. r=automatedtester 2015-11-26 09:23:30 -05:00
Yura Zenevich 0f813762b9 Bug 1224339 - making sure a11y and DOM trees are in sync when performing a11y checks with marionette. r=automatedtester 2015-11-13 09:58:08 -05:00