gecko-dev/remote/sessions
Andreas Tolfsen ab0b38e5c0 bug 1537775: remote: move method sanity check into Domains.splitMethod; r=ochameau
This moves the assertions related to the well-formedness of the method
from the TabSession consumer to Domains.splitMethod.  Following the
introduction of TabSession, this was missing from the superclass Session.

This also fixes the "Foo.bar.baz" test case in
remote/test/unit/test_Domains.js by removing the split() function
and instead relying on String#split() inside Domains.splitMethod.

Thanks-to: Alexandre Poirot <ochameau@mozilla.com>

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

--HG--
extra : moz-landing-system : lando
2019-04-04 09:39:28 +00:00
..
ContentProcessSession.jsm bug 1537775: remote: clarify method/domain/command terminology; r=ochameau 2019-04-04 11:35:24 +00:00
Session.jsm bug 1537775: remote: move method sanity check into Domains.splitMethod; r=ochameau 2019-04-04 09:39:28 +00:00
TabSession.jsm bug 1537775: remote: move method sanity check into Domains.splitMethod; r=ochameau 2019-04-04 09:39:28 +00:00
frame-script.js