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
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
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
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