{"push_id":758526547,"size":1,"distinct_size":1,"ref":"refs/heads/bug_1168396","head":"c6572bbb0d09af183a589532f0ff4b79b082a4c4","before":"c446fcb31a36464f2ed2f20c53459fc9452ec924","commits":[{"sha":"c6572bbb0d09af183a589532f0ff4b79b082a4c4","author":{"email":"dab4293f93c7233f547c2dcfbe48efb5ac3ee2f4@mozilla.com","name":"Andreas Tolfsen"},"message":"Bug 1168396 - Adjust Marionette JS client to protocol changes; r=gaye\n\nBug 1153822 to Gecko reduces the amount of data sent will make requests\nfaster. Aligning the protocol closer to what WebDriver expects, will\nreduce the amount of post-processing required in the httpd.\n\nThe Marionette protocol version 1 value response looked like this:\n\n\t{\"from\":\"0\",\"value\":null,\"status\":0,\"sessionId\":\"{6b6d68d2-4ac9-4308-9f07-d2e72519c407}\"}\n\nAnd this for ok responses:\n\n\t{\"from\":\"0\",\"ok\":true}\n\nAnd this for errors:\n\n\t{\"from\":\"0\",\"status\":21,\"sessionId\":\"{6b6d68d2-4ac9-4308-9f07-d2e72519c407}\",\"error\":{\"message\":\"Error loading page, timed out (onDOMContentLoaded)\",\"stacktrace\":null,\"status\":21}}\n\nBug 1153822 (protocol 2) drops the \"from\" and \"sessionId\" fields and\n\"status\" field from non-error responses. It also drops the \"ok\" field\nin non-value responses and flattes the error response.\n\nThis patch adds support for protocol version 2 with backwards\ncompatibility for protocol 1.","distinct":true,"url":"https://api.github.com/repos/andreastt/gaia/commits/c6572bbb0d09af183a589532f0ff4b79b082a4c4"}]}