Add ASSERT_ORIGIN_TRIAL.
This adds a compile-time assertion macro to test whether a given feature is part of an origin trial, and uses it to assert that WebVR and WebXR are under origin trial when constructing the feature policy default feature list. Change-Id: I71a24d73ef0837165aefcdc0a12ed6212cee5553 Reviewed-on: https://chromium-review.googlesource.com/c/1136989 Commit-Queue: Ian Clelland <iclelland@chromium.org> Reviewed-by:Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#611452}
Showing
Please register or sign in to comment