-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure onFirstSearchPostExtensionInstallCalls is called correctly (#2513
) When fixing the onboarding flow for the Chrome MV3 build[1], I made a mistake. For MV3 builds, the page's onFirstSearchPostExtensionInstall function was being called like: onFirstSearchPostExtensionInstall({ isAddressBarQuery: false, showCounterMessaging: true, showWelcomeBanner: true }, { hadFocusOnStart: true }) Instead of like: onFirstSearchPostExtensionInstall({ hadFocusOnStart: true, isAddressBarQuery: false, showCounterMessaging: true, showWelcomeBanner: true }) (I had missed a subtle Object.assign call.) Let's fix that here, and also add test coverage for that call to catch similar mistakes in the future. 1 - 2e4441d
- Loading branch information
Showing
2 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters