gecko-dev/testing/mochitest/BrowserTestUtils
Mike Conley eba3f6a314 Bug 1340842 - Allow BrowserTestUtils.removeTab to pass options along to tabbrowser's removeTab method. r=mossop
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
2017-03-17 09:59:38 -04:00
..
content Bug 1335272 - prep: factor out registering about: pages into BTU, r=jaws 2017-02-02 14:34:40 +00:00
BrowserTestUtils.jsm Bug 1340842 - Allow BrowserTestUtils.removeTab to pass options along to tabbrowser's removeTab method. r=mossop 2017-03-17 09:59:38 -04:00
ContentTask.jsm Bug 1344616: Support running content script tests in xpcshell. r=mixedpuppy 2017-03-06 13:09:40 -08:00
ContentTaskUtils.jsm Bug 1163418 - Remove use of CPOWs in safebrowsing tests. r=felipe 2016-06-21 13:46:02 -07:00
moz.build Bug 1344616: Support running content script tests in xpcshell. r=mixedpuppy 2017-03-06 13:09:40 -08:00