[uri] Fix issues with external protocol handlers.

Remove early return in nsExternalProtocolHandler::NewChannel when handler doesn't exist.
Fix devtools expectation that newChannel throws for unsupported external handlers
This commit is contained in:
Moonchild 2024-06-11 19:19:55 +02:00 committed by roytam1
commit a09accc204
4 changed files with 13 additions and 43 deletions

View file

@ -19,7 +19,7 @@
#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif
#define _WIN32_WINNT 0x0600
#define _WIN32_WINNT 0x0601
#include <shlobj.h>
class nsMIMEInfoWin;
@ -32,7 +32,6 @@ public:
// override nsIExternalProtocolService methods
nsresult OSProtocolHandlerExists(const char * aProtocolScheme, bool * aHandlerExists);
nsresult LoadUriInternal(nsIURI * aURL);
NS_IMETHOD GetApplicationDescription(const nsACString& aScheme, nsAString& _retval);
// method overrides for windows registry look up steps....