Commit Graph

11 Commits

Author SHA1 Message Date
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
dac05c8fbd Bug 1223028: Exhaust server-originated commands
The Python client does not currently exhaust all the command
requests originating from the server as pointed out by :bhsu in
https://bugzilla.mozilla.org/show_bug.cgi?id=1211503#c12.

This prevents making multiple calls to runEmulatorCmd and runEmulatorShell
inside executeScript/executeJSScript/executeAsyncScript.  This failure
makes marionette-webapi fail.

We loop through all the commands originating from the server until we
get sent back a response.

r=dburns

--HG--
extra : commitid : 1SVHwcJrDcU
2015-11-09 15:54:10 +00:00
Andreas Tolfsen
22ca8dbc18 Backed out changeset a3f9ac7c8454 (bug 1223028)
CLOSED TREE

--HG--
extra : commitid : 1bAUklMyy5l
extra : amend_source : 93e1e088fe70a510b51b27bdf8380ef577daf946
2015-11-10 22:47:17 +00:00
Andreas Tolfsen
942d6c9426 Bug 1223028: Exhaust server-originated commands
The Python client does not currently exhaust all the command
requests originating from the server as pointed out by :bhsu in
https://bugzilla.mozilla.org/show_bug.cgi?id=1211503#c12.

This prevents making multiple calls to runEmulatorCmd and runEmulatorShell
inside executeScript/executeJSScript/executeAsyncScript.  This failure
makes marionette-webapi fail.

We loop through all the commands originating from the server until we
get sent back a response.

r=dburns

--HG--
extra : commitid : 8oBRRddi4TJ
extra : rebase_source : 98b10ccaba525acd391bf614a91aec1b8f7daf4e
2015-11-09 15:54:10 +00:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Chris Manchester
cc73ee6143 Bug 1185486 - Part 2: Prevent message listeners from a failed command from causing an out of order response when a content command hangs. r=ato
--HG--
extra : commitid : 9x2P0ubHLCZ
2015-09-25 07:33:11 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07: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