Commit graph

11 commits

Author SHA1 Message Date
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
Mark Banner
bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Gabor Krizsanits
216527edfc Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-23 14:15:30 +01:00
Mark Banner
39df62d9dc Bug 1328338 - Fix more no-undef eslint issues in toolkit/ and browser/. r=mossop
MozReview-Commit-ID: 78dXLYVW1gC

--HG--
extra : rebase_source : 4d2c50697307177c76a71ca7989863f01b05290b
2017-01-03 11:55:24 +00:00
Dave Townsend
0a2c8f9b78 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ

--HG--
extra : rebase_source : 78fe71a1d673a1c698520a9c82c6f35959614f8f
2016-11-10 14:48:04 -08:00
Mike Conley
c498e6fd40 Bug 1309316 - Follow-up: disable test when crashreporter is not available. r=bustage-fix
MozReview-Commit-ID: 189oSFKHmxU
2016-11-11 13:18:43 -05:00
Mike Conley
d73c1e3013 Bug 1309316 - Hide email field in about:tabcrashed by default. r=Felipe
As requested by UX. Disabling it behind a pref in case we decide we really
need to expose users to that form field again.

MozReview-Commit-ID: 4ICZXuApFBL

--HG--
extra : rebase_source : 8d42989c44d38299d5586eeb58d7aa6ac0196a29
2016-11-10 22:13:09 -05:00
Mike Conley
514138cbd4 Bug 1309316 - Add tests for autosubmission request in about:tabcrashed. r=Felipe
MozReview-Commit-ID: 9EWat5WJzCp

--HG--
extra : rebase_source : 7910f251cdd03a6fde4d452651b42febfeb300a5
2016-11-11 01:58:35 -05: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