Auth: Spelling fixes - #1925
Auth: Spelling fixes#1925
Conversation
There was a problem hiding this comment.
Code Review
This pull request corrects several spelling errors and typos across the Firebase Auth codebase, including correcting misspelled AuthError enum values (kAuthErrorWebStorateUnsupported and kAuthErrorFederatedProviderAreadyInUse) and updating related tests and documentation. While correcting these typos is beneficial, renaming public enum values introduces breaking changes for existing clients. To maintain backward compatibility, it is recommended to keep the old misspelled enum names as deprecated aliases pointing to the newly corrected ones.
| /// Indicates that 3rd party cookies or data are disabled, or that there was | ||
| /// a problem with the browser. | ||
| kAuthErrorWebStorateUnsupported, | ||
| kAuthErrorWebStorageUnsupported, |
There was a problem hiding this comment.
Renaming kAuthErrorWebStorateUnsupported to kAuthErrorWebStorageUnsupported is a breaking change for public APIs. To maintain backward compatibility for existing clients, consider keeping the old misspelled name as a deprecated alias pointing to the new name.
| kAuthErrorWebStorageUnsupported, | |
| kAuthErrorWebStorageUnsupported, | |
| kAuthErrorWebStorateUnsupported = kAuthErrorWebStorageUnsupported, |
| /// authorization request. Try again when the previous authorization request | ||
| /// completes. | ||
| kAuthErrorFederatedProviderAreadyInUse, | ||
| kAuthErrorFederatedProviderAlreadyInUse, |
There was a problem hiding this comment.
Renaming kAuthErrorFederatedProviderAreadyInUse to kAuthErrorFederatedProviderAlreadyInUse is a breaking change for public APIs. To maintain backward compatibility for existing clients, consider keeping the old misspelled name as a deprecated alias pointing to the new name.
| kAuthErrorFederatedProviderAlreadyInUse, | |
| kAuthErrorFederatedProviderAlreadyInUse, | |
| kAuthErrorFederatedProviderAreadyInUse = kAuthErrorFederatedProviderAlreadyInUse, |
There was a problem hiding this comment.
It sure is a breaking change
Integration test with FLAKINESS (succeeded after retry)Requested by @AustinBenoit on commit 44d460a
Add flaky tests to go/fpl-cpp-flake-tracker |
Description
Auth: Spelling fixes
Testing
Ran integration tests
Type of Change
Place an
xthe applicable box:Notes
Release Notessection ofrelease_build_files/readme.md.