gecko-dev/remote/test
Andreas Tolfsen de8c9e85cf bug 1553317: remote: improve error message on missing method; r=remote-protocol-reviewers,ochameau CLOSED TREE
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 : source : f3d44dbce7e3d1b529ce37b21a4d7471a918edd4
extra : histedit_source : df4d534565efb3e2babbc277a3aecce5d534ac39
2019-05-27 11:39:16 +00:00
..
browser bug 1553317: remote: improve error message on missing method; r=remote-protocol-reviewers,ochameau CLOSED TREE 2019-05-27 11:39:16 +00:00
unit bug 1553317: remote: improve error message on missing method; r=remote-protocol-reviewers,ochameau CLOSED TREE 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