gecko-dev/testing/marionette
Andreas Tolfsen bf95b9ed17 Bug 1337743 - Handle corrupt packets to Marionette; r=whimboo
When Marionette receives packets it does not know how to deal with,
handle this gracefully and attempt to respond to the client that we were
unable to process them.

If it receives a packet that is corrupt, e.g. one it is impossible to
determine the message ID of, report an error to the console without
failing spectacularly.

If it receives a packet that it is unable to unmarshal, attempt to craft
a response for it with containing the error signature.

MozReview-Commit-ID: BLi8yIkGQfF

--HG--
extra : rebase_source : e7dc763a2345f79712b5e8524bd1d4f81b66699c
2017-02-09 18:29:25 +00:00
..
chrome Bug 1331037 - Fix failures in test_localization.py for Fennec. r=ato 2017-01-18 09:47:58 +01:00
client Bug 1337743 - Make session and param checks safer against falsy values; r=whimboo 2017-02-09 18:15:26 +00:00
components Bug 1344748 - List --marionette in CLI help; r=whimboo 2017-03-09 20:16:17 +00:00
harness Backed out changeset 5573ab27d696 (bug 1291320) for timeouts in navigation.py 2017-03-27 12:02:17 +02:00
puppeteer Backed out changeset 20f6edaec61e (bug 1322383) 2017-03-01 12:48:57 +01:00
accessibility.js Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
action.js Bug 1347658: Allow negative integers for Marionette pointerMove. r=maja_zf 2017-03-15 22:28:10 +00:00
addon.js Bug 1316975 - Correct function definition style in Marionette components; r=ato 2016-12-04 12:42:52 +01:00
assert.js Bug 1337743 - Add assert.callable for checking callbacks; r=maja_zf 2017-02-10 19:28:51 +00:00
atom.js Bug 1316975 - Correct function definition style in Marionette components; r=ato 2016-12-04 12:42:52 +01:00
browser.js Bug 1319237 - Calculate correct window position; r=automatedtester 2016-11-21 23:33:03 +01:00
capture.js Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
cert.js Bug 1316975 - Correct function definition style in Marionette components; r=ato 2016-12-04 12:42:52 +01:00
cookies.js
driver.js Backed out changeset 3f619577e5d7 (bug 1291320) 2017-03-27 12:01:49 +02:00
element.js Bug 1333014 - Lint testing/marionette/element.js; r=maja_zf 2017-02-07 19:18:40 +00:00
error.js Bug 1337133 - Add MoveTargetOutOfBoundsError as a new Webdriver error type; r=ato+446296 2017-02-17 14:52:58 -05:00
evaluate.js Bug 1322862 - Make __webDriverArguments et al. content safe; r=automatedtester 2016-12-10 16:15:53 -10:00
event.js Bug 1337133 - Add more MouseEvent event properties to synthesizeMouseAtPoint; r=ato+446296 2017-02-17 16:49:03 -05:00
frame.js Bug 1316975 - Correct function definition style in Marionette components; r=ato 2016-12-04 12:42:52 +01:00
interaction.js Bug 1333014 - Support intercepted clicks and align with spec; r=automatedtester,whimboo 2017-02-03 19:52:34 +00:00
jar.mn Bug 1344748 - Merge dispatcher into server.js; r=maja_zf 2017-03-06 17:39:42 +00:00
l10n.js Bug 1331037 - Fix failures in test_localization.py for Fennec. r=ato 2017-01-18 09:47:58 +01:00
legacyaction.js Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
listener.js Backed out changeset 3f619577e5d7 (bug 1291320) 2017-03-27 12:01:49 +02:00
logging.js
mach_commands.py Bug 1323217 - Fix mach marionette-test. r=whimboo a=test-only 2016-12-13 18:10:51 +01:00
mach_test_package_commands.py Bug 1334209 - Activate mozharness virtualenv in-process from one click loaner mach commands, r=jmaher 2017-01-31 11:53:36 -05:00
marionette.eslintrc.js Bug 1315402: Make toolkit/mozapps/update pass no-undef. r=jaws 2016-11-04 17:03:01 -07:00
message.js Bug 1337743 - More data validation checks for Marionette messages; r=whimboo 2017-02-09 18:22:09 +00:00
modal.js Bug 1316975 - Correct function definition style in Marionette components; r=ato 2016-12-04 12:42:52 +01:00
moz.build Bug 1344748 - Rename and register Marionette prefs; r=maja_zf 2017-03-09 11:12:53 +00:00
navigate.js Backed out changeset 3f619577e5d7 (bug 1291320) 2017-03-27 12:01:49 +02:00
prefs.js Bug 1344748 - Rename and register Marionette prefs; r=maja_zf 2017-03-09 11:12:53 +00:00
proxy.js Bug 1336214 - Preserve stacktraces in Marionette errors; r=maja_zf 2017-02-10 18:36:52 +00:00
server.js Bug 1337743 - Handle corrupt packets to Marionette; r=whimboo 2017-02-09 18:29:25 +00:00
session.js Bug 1342162 - Align pageLoad key with WebDriver; r=maja_zf 2017-02-23 18:33:26 +00:00
simpletest.js
test_action.js Bug 1347658: Allow negative integers for Marionette pointerMove. r=maja_zf 2017-03-15 22:28:10 +00:00
test_assert.js Bug 1337743 - Add assert.callable for checking callbacks; r=maja_zf 2017-02-10 19:28:51 +00:00
test_element.js
test_error.js Bug 1336214 - Preserve stacktraces in Marionette errors; r=maja_zf 2017-02-10 18:36:52 +00:00
test_message.js Bug 1337743 - More data validation checks for Marionette messages; r=whimboo 2017-02-09 18:22:09 +00:00
test_navigate.js Backed out changeset 3f619577e5d7 (bug 1291320) 2017-03-27 12:01:49 +02:00
test_session.js Bug 1342162 - Align pageLoad key with WebDriver; r=maja_zf 2017-02-23 18:33:26 +00:00
test_wait.js Bug 1319237 - Lower timeout elapse evaluation count; r=me a=followup-to-prevent-back out 2017-02-13 12:02:01 -08:00
unit.ini Bug 1319237 - Generalise wait condition utility; r=automatedtester,maja_zf 2016-11-21 23:41:20 +01:00
wait.js Bug 1319237 - Generalise wait condition utility; r=automatedtester,maja_zf 2016-11-21 23:41:20 +01:00