зеркало из https://github.com/mozilla/pjs.git
Fixed typo in JS protocol registration so that we now deal with mocha: URLs as well. r=pollmann
This commit is contained in:
Родитель
7f02506418
Коммит
36c3d7005e
|
@ -401,10 +401,9 @@ NSRegisterSelf(nsISupports* aServMgr, const char* aPath)
|
|||
|
||||
rv = compMgr->RegisterComponent(kJSProtocolHandlerCID,
|
||||
"JavaScript Protocol Handler",
|
||||
NS_NETWORK_PROTOCOL_PROGID_PREFIX "javascript",
|
||||
NS_NETWORK_PROTOCOL_PROGID_PREFIX "mocha",
|
||||
aPath, PR_TRUE, PR_TRUE);
|
||||
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче