mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
eba3f6a314
There were options already being passed to BrowserTestUtils.removeTab, with only a single property being observed, "dontRemove". This caused BrowserTestUtils.removeTab to return a Promise once a tab is removed, but didn't actually remove the tab (as the calling test would be responsible for that themselves). This patch removes that option, and adds a method to BrowserTestUtils called tabRemoved to use for that case instead. The options being passed to removeTab are now forwarded along directly to tabbrowser's removeTab method. MozReview-Commit-ID: JzfZuoZmlJ0 --HG-- extra : rebase_source : cd9e7834f2f507b91cac8e9bb8e1dd58e2ba33d5 |
||
---|---|---|
.. | ||
content | ||
BrowserTestUtils.jsm | ||
ContentTask.jsm | ||
ContentTaskUtils.jsm | ||
moz.build |