Closed Bug 885334 Opened 12 years ago Closed 12 years ago

change const Promise to something else to avoid name-collision with DOM Promises

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 885318

People

(Reporter: rcampbell, Unassigned)

Details

Our current code is creating a name collision with DOM Promises implementation. const Promise = Cu.import... is preventing the DOM Promise object from landing. We should rename our Promise object (or use a destructuring assignment which I think will be more difficult to undo because of the multiple entries per file we'll have to search for) to clear this blockage. Baku suggested JSPromise. I would also entertain _Promise with varying numbers of underscores. This should not be done until after the merge on Monday, June 24, 2013.
Blocks: 885333
Assignee: wbamberg → nobody
OS: Mac OS X → All
Product: Developer Documentation → Firefox
Hardware: x86 → All
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
No longer blocks: 885333
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.