| OLD | NEW |
| (Empty) |
| 1 <!doctype html> | |
| 2 <!-- | |
| 3 Tests that scanning the Daydream View NFC tag on supported devices fires the | |
| 4 ondisplayactivate event | |
| 5 --> | |
| 6 <html> | |
| 7 <head> | |
| 8 <link rel="stylesheet" type="text/css" href="../resources/webvr_e2e.css"> | |
| 9 </head> | |
| 10 <body> | |
| 11 <canvas id="webgl-canvas"></canvas> | |
| 12 <script src="../../../../../../third_party/WebKit/LayoutTests/resources/test
harness.js"></script> | |
| 13 <script src="../resources/webvr_e2e.js"></script> | |
| 14 <script> | |
| 15 var t = async_test("NFC scan fires the vrdisplayactivate event"); | |
| 16 window.addEventListener("vrdisplayactivate", () => {t.done();}, false); | |
| 17 // NFC scan triggered after page load | |
| 18 </script> | |
| 19 </body> | |
| 20 </html> | |
| OLD | NEW |