mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00

It should be illegal to add paths that cannot be handled/accessed or later referenced. Without a path, it is for example later impossible to delete the handler. To address this we return an NS_ERROR_INVALID_ARG when nsIHttpServer.registerPathHandler is called with an empty string. Differential Revision: https://phabricator.services.mozilla.com/D55160 --HG-- extra : moz-landing-system : lando