Closed Bug 1293485 Opened 8 years ago Closed 8 years ago

tabs.remove callback called before tab is removed

Categories

(WebExtensions :: Untriaged, defect)

51 Branch
defect
Not set
normal

Tracking

(firefox51 affected)

RESOLVED DUPLICATE of bug 1291830
Tracking Status
firefox51 --- affected

People

(Reporter: robwu, Assigned: robwu)

Details

Attachments

(1 obsolete file)

My change to bug 1288901 caused the following test failure:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=4ce8fad27a47&selectedJob=24999434
207 INFO TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_getViews.js | tab count correct - Got 2, expected 1

This is because the callback for tabs.remove (http://searchfox.org/mozilla-central/rev/5b35b60ada19621c84ecab78998416d8b86a8254/browser/components/extensions/test/browser/browser_ext_getViews.js#59) is called before the tab is removed.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Comment on attachment 8779112 [details]
Bug 1293485 - wait until tab is gone before calling callback of tabs.remove

https://reviewboard.mozilla.org/r/70154/#review67434
Attachment #8779112 - Flags: review?(kmaglione+bmo) → review-
Attachment #8779112 - Attachment is obsolete: true
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: