Commit graph

17 commits

Author SHA1 Message Date
Masayuki Nakano
cf83ee7bb4 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Mark Banner
01008c7d57 Bug 1412778 - Enable ESLint rule no-cpows-in-tests across the whole tree. r=florian
MozReview-Commit-ID: 8pidN7x6MYh

--HG--
extra : rebase_source : 6a0d6800091231fc1535223bd7fc6df0ba40d47b
2017-10-30 09:55:39 +00:00
Fischer.json
cd05af9091 Bug 1386226 - Perma failure when 56 merges to beta in browser/base/content/test/newtab/browser_newtab_focus.js, r=mossop
This commit

- Fixes the focus count failure. The bug 1375793 turned on the onboarding on all channels but this test still checks `AppConstants.NIGHTLY_BUILD`. Hence although the onboarding is enabled on Beta, this test thought it is disabled and missed counting the onboarding elements. The solution is to remove `AppConstants.NIGHTLY_BUILD` condition.

- Updates the `promiseTourNotificationOpened` function the same as the bug 1383070 btw

MozReview-Commit-ID: 2TVyqDxMGS6

--HG--
extra : rebase_source : f6d0488f06d9fda42ba01e78e70ea64d389b0294
2017-08-02 15:57:33 +08:00
Fischer.json
38803e780c Bug 1377439 - Should adapt the oboarding UI to the hight-contrast display mode, r=mossop
This patch makes the mininmum and the important elements and images visible in the high-constrast mode, including
- making button have border (using the given default grey border in the high-constrast mode)
- making the upper-left overlay button's fox image visible
- making the images of the X close buttons on the notification bar and on the overlay visible
- making that the navigation item of the current tour on the overlay's right side would have outline
- making the hovered navigation item on the overlay's right side would have outline
- making sure using <button> element for buttons for a better semantic
- changing #onboarding-overlay-icon to #onboarding-overlay-button for a better semantic

MozReview-Commit-ID: Aj6wndb4to9

--HG--
extra : rebase_source : 927658d278dc2ecec762cf856a10020329a95a50
2017-07-18 14:26:25 +08:00
Fischer.json
7d13c565c2 Bug 1372067 - Part 2: Add the test cases, r=mossop
This commit
- splits up the browser_onboarding_notification.js test
- adds the test_mute_notification_on_1st_session test case
- adds the test_move_on_to_next_notification_when_reaching_max_prompt_count test case
- adds the test_move_on_to_next_notification_when_reaching_max_life_time test case
- adds the test_move_on_to_next_notification_after_interacting_with_notification test case
- updates the existing test cases for the new notification timing policy
- updates the browser_newtab_focus.js test

MozReview-Commit-ID: Ej2bHJSr35z

--HG--
extra : rebase_source : b96eccecf4a82d575ca8dcb13d2ea83848c537a2
2017-07-12 12:44:34 +08:00
Fischer.json
9fbf3ccc81 Bug 1377433 - Should not do the sliding-up tour notification transition, r=mossop
MozReview-Commit-ID: L4aDUF1s9OI

--HG--
extra : rebase_source : cfdd97d6f6ee5196d6f22303e0a332fa5cd59d31
2017-06-30 06:37:09 -07:00
Fischer.json
14773a27fc Bug 1357641 - Part 2: Add the browser_onboarding_notification.js test, r=mossop
MozReview-Commit-ID: 8kEDXaQ0zqK

--HG--
extra : rebase_source : 3994b272dc185ea25d4257eb79e766d23bf6892e
2017-06-16 17:44:06 +08:00
Phil Ringnalda
291cb6e01b Backed out 2 changesets (bug 1357641) for OS X near-permaorange in browser_permissionsPromptDeny.js
Backed out changeset ad8486907154 (bug 1357641)
Backed out changeset 3eb9c03bd0cd (bug 1357641)

MozReview-Commit-ID: DuESQH4FecO
2017-06-22 20:44:50 -07:00
Fischer.json
99a6b74591 Bug 1357641 - Part 2: Add the browser_onboarding_notification.js test, r=mossop
MozReview-Commit-ID: 8kEDXaQ0zqK

--HG--
extra : rebase_source : 3994b272dc185ea25d4257eb79e766d23bf6892e
2017-06-16 17:44:06 +08:00
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
Neil Deakin
114a97b9bd Bug 1240014, enable test browser_newtab_focus in e10s, r=adw 2016-01-26 08:16:10 -05:00
Maxim Zhilyaev
5dce3adde9 Bug 1195699 - Port tests fixes from 1180387 uplift [r=emtwo] 2015-08-19 04:29:26 -07:00
Drew Willcoxon
0e5c640329 Bug 962490 - Add a search field to the new tab page (part 2: about:newtab changes). r=ttaubert 2014-04-24 19:09:23 -07:00
Tim Taubert
33a343345c Bug 791670 - part 3 - fix newtab page tests; r=jaws 2013-06-04 22:20:44 +02:00
Andres Hernandez
62a92f1d14 Bug 786418 - browser_newtab_focus.js shouldn't fail when FKA is enabled on Mac, r=enn 2012-09-05 13:43:41 -06:00
Tim Taubert
0403d4a2d4 Bug 765235 - [New Tab Page] test suite should make use of underlying storages; r=gavin 2012-07-07 11:55:06 +02:00
Andres Hernandez
7bc38a546d Bug 719035 - [New Tab Page] Write keyboard navigation tests r=ttaubert 2012-07-03 15:17:25 -06:00