-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate chrome injected vars API to new platform #22911
Migrate chrome injected vars API to new platform #22911
Conversation
This comment has been minimized.
This comment has been minimized.
c508e54
to
ce20392
Compare
ack: I can review this PR on Monday only (I'm off for this week) unless Court will review it earlier. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a pass on the code and had some comments. I'll check it out locally now.
This comment has been minimized.
This comment has been minimized.
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* [core/public/injectedMetadat] migrate injected metadata APIs * [ui/replaceInjectedVars] fix test * [tests/browser] move injectedVars out of legacyMetadata * [core/public/injectedMetadata] add types for legacyMetadata * [tests/browser] move uiSettings back into legacyMetadata * [tests/browser] fix old references to legacyMetadata * [tests/browser] remove old tests * [core/public/deepFreeze] fix snapshot for removal of ReadonlyArray * [chrome/apis] use slightly less permissive types for `chrome` argument
* [core/public/injectedMetadat] migrate injected metadata APIs * [ui/replaceInjectedVars] fix test * [tests/browser] move injectedVars out of legacyMetadata * [core/public/injectedMetadata] add types for legacyMetadata * [tests/browser] move uiSettings back into legacyMetadata * [tests/browser] fix old references to legacyMetadata * [tests/browser] remove old tests * [core/public/deepFreeze] fix snapshot for removal of ReadonlyArray * [chrome/apis] use slightly less permissive types for `chrome` argument
6.5/6.x: 816cd17 |
One of the last parts of #20696, adds methods to the
InjectedMetadata
service for reading one or all of the injected vars and updatesui/chrome
to consume them. No changes were made to the public API so everything should behave just as it always has.