зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1508660 - Fix eslint issue from rebase r=ochameau CLOSED TREE
This commit is contained in:
Родитель
3dd7393356
Коммит
020c286b42
|
@ -391,7 +391,7 @@ Target.prototype = {
|
|||
|
||||
// Get a Front for a target-scoped actor.
|
||||
// i.e. an actor served by RootActor.listTabs or RootActorActor.getTab requests
|
||||
getFront(typeName) {
|
||||
async getFront(typeName) {
|
||||
let front = this.fronts.get(typeName);
|
||||
// the front might have been destroyed and no longer have an actor ID
|
||||
if (front && front.actorID || front && typeof front.then === "function") {
|
||||
|
|
Загрузка…
Ссылка в новой задаче