Added dynamic DOM reordering to FX View so that the order of announcement in screen readers and tab sorting, matches the visual changes made by the responsive CSS layout.
Differential Revision: https://phabricator.services.mozilla.com/D157256
It looks like the linked bug is caused by a different issue, but this still seemed worth fixing considering the mock data got moved to `head.js` and is being used in a few different test files now.
Differential Revision: https://phabricator.services.mozilla.com/D158705
* Rename fxaSignedIn to fxaSignedInAndSyncEnabled to better reflect what its doing
* Re-enable the test_sync_disconnected_error test case and add another
Differential Revision: https://phabricator.services.mozilla.com/D158201
Try to keep feature callouts within the viewport if possible. Make some
changes to fix a bug where callouts could overflow ~10px over the
available space before being repositioned, and also fix a minor typo
issue. Choose the backup position with the greatest available space
instead of based on the position's order in the `positions` object.
Differential Revision: https://phabricator.services.mozilla.com/D157688
Pass down the zap_gradient experimental theme property to pages that
load contentTheme.js, and use it to set the zap gradient value in
Firefox View (with a generic fallback color for themes that don't set
this experimental property)
Differential Revision: https://phabricator.services.mozilla.com/D158278
I have fixed the underlying XPConnect issue, so these workarounds should
no longer be needed.
There are also two more in browser/base/content/browser-siteProtections.js
that I have not fixed.
Differential Revision: https://phabricator.services.mozilla.com/D158158
Apply the usual HCM hover style to buttons in Firefox View, but also
override some of the custom properties for HCM so that Emily's patch for
bug 1790396 can use the same custom properties for feature callout hover
styles that we use in system content generally.
Differential Revision: https://phabricator.services.mozilla.com/D157364
Replaced tag containing Fx View logo and title with a non-navigational tag, so that screen readers do not announce it as a navigational element.
Differential Revision: https://phabricator.services.mozilla.com/D157260
* Show the error state when the Primary Password is locked and the user is signed-in
* Trigger a tab sync when the user clicks the "try again" button from the setup error step.
This will also result in an unlock prompt if the primary password is locked.
Differential Revision: https://phabricator.services.mozilla.com/D156360
* Show the error state when the Primary Password is locked and the user is signed-in
* Trigger a tab sync when the user clicks the "try again" button from the setup error step.
This will also result in an unlock prompt if the primary password is locked.
Differential Revision: https://phabricator.services.mozilla.com/D156360
* Remove the synced-tabs-not-ready state and instead make a waitingForTabs boolean the container can check when updating
* Refactor around the maybeUpdateUI so we either pass in a force-update param, or conditionally send
the notification if the state changes
* Observe 'services.sync.tabs.changed' instead of the pref which gets updated as a side-effect of a
tab sync
* Check recent tabs via SyncedTabs.jsm in TabsSetupFlowManager and queue up SyncedTabs.syncTabs() and refreshDevices() calls when the user signs in.
Differential Revision: https://phabricator.services.mozilla.com/D156997
When the user moves focus outside of a callout popup while it's open, this patch tracks and saves the most recently focused element until the focus moves back to the popup. Once the user exits the callout series, the focus is (visibly) placed back where the user last left it.
Differential Revision: https://phabricator.services.mozilla.com/D157398