mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 21:28:04 +02:00
Automatic update from web-platform-testsCorrect WebXR idlharness test XR devices and sessions cannot be obtained without a physical device connected to the system or a system to mock out the backend APIs. As setting up such as system would take a lot of work, it is unlikely to be worthwhile while the spec is still undergoing so much change. Therefore, the incorrect calls to get device and session have been removed, and can be written correctly at a later date. Bug: 870602 Change-Id: I0c9f512605d17dc3df890d699da016a8bc1e1c0c Reviewed-on: https://chromium-review.googlesource.com/1185285 Commit-Queue: Anna Offenwanger <offenwanger@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Cr-Commit-Position: refs/heads/master@{#585306} -- wpt-commits: 1aace0320ac65ead4f7569484fab741e6fdfb81d wpt-pr: 12626
17 lines
321 B
JavaScript
17 lines
321 B
JavaScript
// META: script=/resources/WebIDLParser.js
|
|
// META: script=/resources/idlharness.js
|
|
|
|
'use strict';
|
|
|
|
// https://immersive-web.github.io/webxr/
|
|
|
|
idl_test(
|
|
['webxr'],
|
|
['webgl1', 'html', 'dom'],
|
|
async idl_array => {
|
|
idl_array.add_objects({
|
|
Navigator: ['navigator'],
|
|
XR: ['navigator.xr'],
|
|
});
|
|
}
|
|
);
|