| Index: third_party/WebKit/LayoutTests/vr/requestPresent_reject_nullsource.html
|
| diff --git a/third_party/WebKit/LayoutTests/vr/requestPresent_reject_nullsource.html b/third_party/WebKit/LayoutTests/vr/requestPresent_reject_nullsource.html
|
| deleted file mode 100644
|
| index dc9568e0d1b492ef1d168f947b4857c6a1a95dc0..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/vr/requestPresent_reject_nullsource.html
|
| +++ /dev/null
|
| @@ -1,38 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<script src="../resources/testharness.js"></script>
|
| -<script src="../resources/testharnessreport.js"></script>
|
| -<script src="../resources/mojo-helpers.js"></script>
|
| -<script src="resources/fake-vr-displays.js"></script>
|
| -<script src="resources/mock-vr-service.js"></script>
|
| -<canvas id="webgl-canvas"></canvas>
|
| -<script src="resources/presentation-setup.js"></script>
|
| -<script>
|
| -let fakeDisplays = fakeVRDisplays();
|
| -
|
| -vr_test( (t) => {
|
| - return navigator.getVRDisplays().then( (displays) => {
|
| - var display = displays[0];
|
| -
|
| - runWithUserGesture( () => {
|
| - display.requestPresent([{ source : null }]).then( () => {
|
| - t.step( () => {
|
| - assert_unreached();
|
| - }, "Display should not be presenting");
|
| - }, (err) => {
|
| - t.step( () => {
|
| - assert_false(display.isPresenting);
|
| - }, "requestPresent rejected and not presenting");
|
| - }).then( () => {
|
| - t.done();
|
| - });
|
| - });
|
| - }, (err) => {
|
| - t.step( () => {
|
| - assert_unreached(err);
|
| - }, "getVRDisplays rejected");
|
| - t.done();
|
| - });
|
| -}, [fakeDisplays["Pixel"]],
|
| -"Test requestPresent rejects if given a null source");
|
| -
|
| -</script>
|
|
|