| Index: chrome/test/data/android/webvr_instrumentation/html/test_nfc_fires_onvrdisplayactivate.html
|
| diff --git a/chrome/test/data/android/webvr_instrumentation/html/test_nfc_fires_onvrdisplayactivate.html b/chrome/test/data/android/webvr_instrumentation/html/test_nfc_fires_onvrdisplayactivate.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4afac65680c79fb444b002e63660122986ad7575
|
| --- /dev/null
|
| +++ b/chrome/test/data/android/webvr_instrumentation/html/test_nfc_fires_onvrdisplayactivate.html
|
| @@ -0,0 +1,20 @@
|
| +<!doctype html>
|
| +<!--
|
| +Tests that scanning the Daydream View NFC tag on supported devices fires the
|
| +ondisplayactivate event
|
| +-->
|
| +<html>
|
| + <head>
|
| + <link rel="stylesheet" type="text/css" href="../resources/webvr_e2e.css">
|
| + </head>
|
| + <body>
|
| + <canvas id="webgl-canvas"></canvas>
|
| + <script src="../../../../../../third_party/WebKit/LayoutTests/resources/testharness.js"></script>
|
| + <script src="../resources/webvr_e2e.js"></script>
|
| + <script>
|
| + var t = async_test("NFC scan fires the vrdisplayactivate event");
|
| + window.addEventListener("vrdisplayactivate", () => {t.done();}, false);
|
| + // NFC scan triggered after page load
|
| + </script>
|
| + </body>
|
| +</html>
|
|
|