зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1485453 [wpt PR 12626] - Correct WebXR idlharness test, a=testonly
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
This commit is contained in:
Родитель
dcf4234693
Коммит
c2196c6187
|
@ -654698,7 +654698,7 @@
|
|||
"support"
|
||||
],
|
||||
"webxr/idlharness.https.window.js": [
|
||||
"9576379f30f35500f59db67897332a0f77e86ea5",
|
||||
"3e54e367787cb95dada398790fe23b10174df29f",
|
||||
"testharness"
|
||||
],
|
||||
"webxr/resources/webxr_check.html": [
|
||||
|
|
|
@ -11,11 +11,7 @@ idl_test(
|
|||
async idl_array => {
|
||||
idl_array.add_objects({
|
||||
Navigator: ['navigator'],
|
||||
XR: ['navigator.XR'],
|
||||
XRDevice: ['device'],
|
||||
XRSession: ['session'],
|
||||
XR: ['navigator.xr'],
|
||||
});
|
||||
self.device = await navigator.XR.requestDevice();
|
||||
self.session = await device.requestSession();
|
||||
}
|
||||
);
|
||||
|
|
Загрузка…
Ссылка в новой задаче