Commit graph

5 commits

Author SHA1 Message Date
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Mike Conley
a792e520a7 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 : 71afc1f82ecd979b101a9f1a1ef1766185eefd75
2017-03-17 09:59:38 -04:00
Carsten "Tomcat" Book
c35121e343 Backed out changeset b3abd0e89699 (bug 1340842) 2017-03-22 16:40:02 +01:00
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
Mike Conley
a44beb08d3 Bug 1309316 - Move about:tabcrashed tests into their own directory. r=Felipe
MozReview-Commit-ID: C3emEC3JbiL

--HG--
rename : browser/base/content/test/general/browser_aboutTabCrashed_clearEmail.js => browser/base/content/test/tabcrashed/browser_clearEmail.js
rename : browser/base/content/test/general/browser_aboutTabCrashed_showForm.js => browser/base/content/test/tabcrashed/browser_showForm.js
rename : browser/base/content/test/general/browser_aboutTabCrashed.js => browser/base/content/test/tabcrashed/browser_shown.js
rename : browser/base/content/test/general/browser_aboutTabCrashed_withoutDump.js => browser/base/content/test/tabcrashed/browser_withoutDump.js
extra : rebase_source : b8333240ca7628b991cf3a2445dc3575197c82a8
2016-11-10 23:17:48 -05:00
Renamed from browser/base/content/test/general/browser_aboutTabCrashed_withoutDump.js (Browse further)