Fischer Liu
ec0d69bec5
Bug 1382579 - Part 3: Tests, r=Gijs
...
This commit
- adds 2 utility functions to the uitour's head.js
- adds the browser_UITour4.js
- moves the tests in the browser_showMenu_controlCenter.js into the newly added the browser_showMenu.js
- deletes the browser_showMenu_urlbar.js because it's test has been modified and moved into the browser_showMenu.js
- adds one test case for the page action panel in the browser_showMenu.js
- updates the browser_UITour_availableTargets.js test because we have more targets right now.
MozReview-Commit-ID: CydEAkqAl3V
2017-08-02 13:53:05 +08:00
Florian Quèze
c0468168f5
Bug 1368456 - remove Promise.jsm imports in tests, r=mconley.
2017-06-23 11:25:52 +02:00
Christoph Kerschbaumer
5452a95b49
Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian
2017-05-15 21:49:50 +02:00
Florian Quèze
15feaa278a
Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop.
2017-05-12 14:55:27 +02:00
Florian Quèze
38c24463e4
Bug 1353542 - Cleanup the script output and fix tests, r=Mossop.
2017-05-12 14:54:05 +02:00
Florian Quèze
ff53eb9a63
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
Mark Banner
25c75db032
Bug 1342459 - Add a rule to automatically detect ContentTask.spawn and inject the relevant globals. r=mossop
...
This reduces the amount of places where we need to specify the mozilla/frame-script environment. It does have
the side effect of allowing those globals in the whole file, but that is what specifying the environment would
do, and this is also for mochitest test files only.
MozReview-Commit-ID: 1LLFbn6fFJR
2017-04-05 10:00:25 +01:00
Mark Banner
7d691acb44
Bug 1344027 - Fix most of the remaining ESLint no-undef issues in browser/components. r=jaws
...
MozReview-Commit-ID: DUnxVITvZgh
2017-03-03 09:29:14 +00:00
Florian Quèze
91f7a2ef3a
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Florian Quèze
45647c4570
Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws.
2017-01-09 20:27:25 +01:00
Jared Wein
ef8b1e86ca
Bug 1316870 - Enable no-shadow eslint rule for browser/. r=mossop
2016-11-15 22:58:30 -05:00
Dave Townsend
12596ced47
Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
...
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Jared Wein
8860cdf2c1
Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
...
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Pushpankar
77a14e357c
Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao
2016-07-16 10:20:04 +02:00
Alessio Placitelli
55c05f3181
Bug 1262368 - Fix browser_UITour_heartbeat.js to work on e10s. r=MattN
...
MozReview-Commit-ID: 6DtCPx9wa1r
2016-04-08 23:50:00 +02:00
Dave Townsend
17d8a23b3f
Bug 1257246: Update browser for eslint 2. r=felipe
...
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.
MozReview-Commit-ID: DEskVIjiKDM
2016-04-05 11:33:33 -07:00
Gijs Kruitbosch
8bbf5fc398
Bug 1256625 - enable function parameters to gContentAPI wrappers to fix UITour tests in e10s mode, r=MattN
...
MozReview-Commit-ID: 6A4X8bmgaun
2016-03-15 11:47:49 +00:00
Matthew Noorenberghe
a706591b71
Bug 1248849 - UITour: showInfoPromise: Add panel event listener before having content call showInfo. r=felipe
...
MozReview-Commit-ID: Cv5gkmfrTsI
2016-02-22 16:33:42 -08:00
Matthew Noorenberghe
44caa1ca3e
Bug 1073247 - UITour: Proxy gContentAPI method calls to the content process via ContentTask and fix tests for e10s. r=felipe
...
This gets us to 414 / 917 checks passing with e10s compared to non-e10s on my OS X machine.
2016-02-01 14:29:11 -08:00
Matthew Noorenberghe
0e14f13c91
Bug 1200488 - browser_UITour_heartbeat.js: requestLongerTimeout(2) and add logging to see where/if the test is hanging. r=test-only
2015-09-25 15:50:20 -07:00
Matthew Noorenberghe
650e836854
Bug 1206943 - UITour: Remove the event listener in promisePanelElementEvent upon timeout. r=bgrins
...
The event listener wasn't getting removed in the reject case.
2015-09-21 16:34:27 -07:00
Matthew Noorenberghe
6615b0ceb1
Bug 1196104 - Heartbeat: Support prompts that target private windows. r=bgrins
2015-08-28 15:13:59 -07:00
Ryan VanderMeulen
fdf47e6ff0
Backed out 2 changesets (bug 1196105, bug 1196104) for frequent OSX browser_UITour_heartbeat.js failures.
...
Backed out changeset e2ac20d24cb2 (bug 1196105 )
Backed out changeset 52b8ae99625a (bug 1196104)
2015-08-26 14:02:52 -04:00
Matthew Noorenberghe
0103b33772
Bug 1196104 - Heartbeat: Support prompts that target private windows. r=bgrins
2015-08-25 15:33:26 -07:00
Matthew Noorenberghe
e54063c3ac
Bug 1185579 - UITour: Make the "accountStatus" target use the FxA avatar when logged in. r=markh
2015-08-04 22:55:21 -07:00
Wes Kocher
8c99676459
Backed out changeset 1376c328fbb3 (bug 1185579) for browser_fxa.js test failures
2015-08-05 13:50:59 -07:00
Matthew Noorenberghe
2288539687
Bug 1185579 - UITour: Make the "accountStatus" target use the FxA avatar when logged in. r=markh
2015-08-04 22:55:21 -07:00
Carsten "Tomcat" Book
1513fb8c45
Backed out changeset 7f106466e9ad (bug 1185579) for memory leaks on a CLOSED TREE
2015-08-05 16:57:20 +02:00
Matthew Noorenberghe
544a2a76cc
Bug 1185579 - UITour: Make the "accountStatus" target use the FxA avatar when logged in. r=markh
2015-08-04 22:55:21 -07:00
Paolo Amadini
3e38200c8c
Bug 1177175 - Add a UITour target inside the TP panel. r=MattN
2015-07-20 13:44:32 +01:00
Michael Layzell
a91e81b778
Bug 1165263 - Part 6: Update browser tests to support new permissions semantics, r=ehsan
2015-07-16 14:50:01 -04:00
Wes Kocher
c06754ff70
Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
...
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Michael Layzell
05997f40bf
Bug 1165263 - Part 6: Update browser tests to support new permissions semantics, r=ehsan
2015-07-14 15:06:39 -04:00
Matthew Noorenberghe
f3a89c5848
Bug 1177162 - Don't delete the UITour variable from the browser window as it breaks later tests. r=bgrins
2015-07-10 17:38:30 -04:00
Michael Layzell
20f33b6cf4
Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove; r=ehsan
2015-07-03 17:12:27 -04:00
Ehsan Akhgari
7015e19689
Backout bug 1170200 because of test failures on a CLOSED TREE
2015-07-03 16:43:47 -04:00
Michael Layzell
b70b5a5766
Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove; r=ehsan
2015-07-03 14:18:23 -04:00
Matthew Noorenberghe
32c3c71cee
Bug 1122830 - Remove pinned tab APIs from UITour. r=Unfocused
2015-01-21 10:33:25 -08:00
Blair McBride
96fd46f6a4
Bug 1098071 - Move uitour.js library out of test directory. r=MattN
2015-01-06 19:13:46 +13:00