Bug 872906 - Calls from JS served from file:// urls are greyed out; r=anton

This commit is contained in:
Gabriel Luong 2013-08-12 15:21:34 -07:00
Родитель 0692d1a52d
Коммит 941364f5df
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -398,6 +398,13 @@ function parseRawProfile(requestID, params, rawProfile) {
});
}
if (protocol.startsWith("file")) {
return ensureResource("file_" + host, {
type: "file",
name: host
});
}
return ensureResource("otherhost_" + host, {
type: "otherhost",
name: host