gecko-dev/remote/test
Andreas Tolfsen 26201b29a2 bug 1553317: remote: improve error message on missing method; r=remote-protocol-reviewers,ochameau
We return with this rather omnious message when we are missing the
implementation of a CDP method:

	Error: Protocol error (Target.createBrowserContext): TypeError: inst[command] is not a function:

This patch improves the error message so that debugging is not
necessary to find out which domain or command is missing.

Ideally Session.jsm and ContentProcessSession.jsm would share the
same execute() function (there's really not reason they don't),
but that involves more work.

Differential Revision: https://phabricator.services.mozilla.com/D32069

--HG--
extra : moz-landing-system : lando
2019-05-27 11:39:16 +00:00
..
browser bug 1553317: remote: improve error message on missing method; r=remote-protocol-reviewers,ochameau 2019-05-27 11:39:16 +00:00
unit bug 1553317: remote: improve error message on missing method; r=remote-protocol-reviewers,ochameau 2019-05-27 11:39:16 +00:00
demo.js Bug 1548098 - Implement Runtime.callFunctionOn. r=remote-protocol-reviewers,ato 2019-05-13 16:10:20 +00:00
moz.build bug 1523104: remote: add browser mochitest to test the agent via chrome-remote-interface; r=ato 2019-03-08 16:26:39 +00:00
puppeteer-demo.js Bug 1533682 - Implements empty domains used by puppeteer. r=ato 2019-03-11 12:51:09 +00:00