commit | 36e485aae6fcb3231843941f750df0428bcb401d | [log] [tgz] |
---|---|---|
author | Biao She <bshe@chromium.org> | Wed Aug 30 23:52:38 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Aug 30 23:52:38 2017 |
tree | 94975c64d0afac429c12577bad167e6baf73d26b | |
parent | db2c080f98ef73f441c11ab9144fd8a337496c68 [diff] |
Add vr feature policy This CL enables vr feature policy. So that, if you want to disable vr within your application, you can delivering the following HTTP response header: Feature-Policy: vr 'none' If you want to enable vr for all frames(including cross-origin iframes), delivering this: Feature-Policy: vr * If you want to enable vr just for your own origin, delivering this: Feature-Policy: vr 'self' To request vr for iframes, you can <iframe src="https://foo.bar" allow="vr"></iframe> to grant vr to this iframe. Bug: 666767 Change-Id: I48d7accf8553d6a9ac19d9f41dbbce2ff9934579 Reviewed-on: https://chromium-review.googlesource.com/636663 Reviewed-by: Ian Vollick <vollick@chromium.org> Reviewed-by: Michael Thiessen <mthiesse@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Reviewed-by: Ian Clelland <iclelland@chromium.org> Commit-Queue: Biao She <bshe@chromium.org> Cr-Commit-Position: refs/heads/master@{#498674}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .