[conversions] Add better feature detection for origin trial
What: Ensure the CM runtime feature only looks enabled in renderer when the browser process base::Feature is also enabled. Why: It is currently impossible to do feature detection for the API, as you do not know whether the client has the browser feature enabled. How: Adds a depends_on condition to our existing runtime feature which uses a webruntime feature matching the browser process base::Feature. This requires removing API related expectations from web_tests/webexposed until the browser side feature is enabled by default/for testing. Bug: 1115786 Change-Id: I1db0583551d25cc3def51a89ebddbbbed675362a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2353732Reviewed-by:Charlie Harrison <csharrison@chromium.org> Reviewed-by:
Jeremy Roman <jbroman@chromium.org> Commit-Queue: John Delaney <johnidel@chromium.org> Cr-Commit-Position: refs/heads/master@{#799917}
Showing
Please register or sign in to comment