mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-24 00:24:14 +00:00
Bug 872906 - Calls from JS served from file:// urls are greyed out; r=anton
This commit is contained in:
parent
0692d1a52d
commit
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
|
||||
|
Loading…
Reference in New Issue
Block a user