зеркало из https://github.com/mozilla/gecko-dev.git
null check aFile otherwise we crash
This commit is contained in:
Родитель
7f6e581258
Коммит
165f587bb7
|
@ -67,6 +67,8 @@
|
|||
<parameter name="aFile"/>
|
||||
<body>
|
||||
<![CDATA[
|
||||
if (!aFile)
|
||||
return "";
|
||||
var ios = Components.classes["@mozilla.org/network/io-service;1"]
|
||||
.getService(Components.interfaces.nsIIOService);
|
||||
var fph = ios.getProtocolHandler("file")
|
||||
|
|
Загрузка…
Ссылка в новой задаче