[wpt-sync] Sync PR 19119 - Block Xr.DeviceChange event without FeaturePolicy and add tests
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox71 fixed)
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 19119 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/19119
Details from upstream follow.
Alex Cooper <alcooper@chromium.org> wrote:
Block Xr.DeviceChange event without FeaturePolicy and add tests
While both requestSession and supportsSession reject without the WebXr
Feature Policy being enabled, DeviceChange events were still firing.
This makes it so that those events do not fire unless the feature policy
is set. Given that this is a decision based on events from the system,
and not user, if the FeaturePolicy is not set, no reporting is done.This also adds a web platform test with the expected behavior of all of
the xr functions when the feature policy is not enabled.Bug:1003842
Change-Id: Ie9ae16b5c1d863b730e556b511c024bae8a4503c
Reviewed-on: https://chromium-review.googlesource.com/1808800
WPT-Export-Revision: 9b33feca23330efd3ef1a3f50a262b7ed9dd7a79
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
| Assignee | ||
Comment 6•6 years ago
|
||
| Assignee | ||
Comment 7•6 years ago
|
||
| Assignee | ||
Comment 8•6 years ago
|
||
| Assignee | ||
Comment 9•6 years ago
|
||
| Assignee | ||
Comment 10•6 years ago
|
||
| Assignee | ||
Comment 11•6 years ago
|
||
| Assignee | ||
Comment 12•6 years ago
|
||
| Assignee | ||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0d34ec0cb3b4
https://hg.mozilla.org/mozilla-central/rev/825d060e34af
Description
•