Closed Bug 1715496 Opened 3 years ago Closed 3 years ago

Remove defer usage in devtools/shared/protocol/Front.js

Categories

(DevTools :: Shared Components, task)

task

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1686353

People

(Reporter: hexagonrecursion, Unassigned)

References

(Blocks 1 open bug)

Details

I'm not sure how to approach this one. Everything I came up with so far essentially duplicates defer(). Here is the issue:

  • By design Front has to be able to resolve or reject the promise
  • Front.waitForRequestsToSettle() requires references to all the promises

I believe this is the last usage of defer() in devtools (not counting patches already in the queue).

Component: General → Shared Components
Blocks: 1283869
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.