Closed Bug 943685 Opened 11 years ago Closed 9 years ago

Convert to Promise.jsm in the app manager

Categories

(DevTools Graveyard :: WebIDE, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bbenvie, Unassigned)

References

Details

Attachments

(1 file, 4 obsolete files)

      No description provided.
Blocks: 881050
Attached patch promise-appmanager.patch (obsolete) — Splinter Review
Switches app manger to use Promise.jsm. https://tbpl.mozilla.org/?tree=Try&rev=e72f99504fff
Assignee: nobody → bbenvie
Status: NEW → ASSIGNED
Attached patch promise-appmanager.patch (obsolete) — Splinter Review
I have a feeling this won't fix the failure, but let's try. https://tbpl.mozilla.org/?tree=Try&rev=3a6725252b5e
Attachment #8338950 - Attachment is obsolete: true
Clarification: this is a timing issue I cannot reproduce locally. =(
Blocks: 931679
Attached patch Updated patch (obsolete) — Splinter Review
Still failing after this obvious fix.

https://tbpl.mozilla.org/?tree=Try&rev=a2a32ac71943
Attachment #8339611 - Attachment is obsolete: true
Attached patch Race condition (obsolete) — Splinter Review
There seems to be a race condition with the selectProject function. It seems that the first project added is selected automatically, but we click the first element in the list again during the selection process, and this triggers the race condition.

This added timeout makes the race condition occur locally.

This might be related to the intermittent failure in bug 950613.

Ideas on how to fix this?
Attachment #8394135 - Attachment is obsolete: true
Blocks: 950613
Attached patch Simplified testSplinter Review
Simplified the test, but still fails remotely and not when run individually.
Attachment #8394913 - Attachment is obsolete: true
Assignee: bbenvie → nobody
Status: ASSIGNED → NEW
App Manager is slated to be removed, so it may not make sense to work on this.
Depends on: rm-am
App manager removed!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: