зеркало из https://github.com/mozilla/gecko-dev.git
Bug 872906 - Calls from JS served from file:// urls are greyed out; r=anton
This commit is contained in:
Родитель
0692d1a52d
Коммит
941364f5df
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче