Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(578)

Side by Side Diff: chrome/test/data/android/webvr_instrumentation/html/test_nfc_fires_vrdisplayactivate.html

Issue 2750763006: Correct misnamed WebVR event in tests (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <!-- 2 <!--
3 Tests that scanning the Daydream View NFC tag on supported devices fires the 3 Tests that scanning the Daydream View NFC tag on supported devices fires the
4 ondisplayactivate event 4 vrdisplayactivate event
5 --> 5 -->
6 <html> 6 <html>
7 <head> 7 <head>
8 <link rel="stylesheet" type="text/css" href="../resources/webvr_e2e.css"> 8 <link rel="stylesheet" type="text/css" href="../resources/webvr_e2e.css">
9 </head> 9 </head>
10 <body> 10 <body>
11 <canvas id="webgl-canvas"></canvas> 11 <canvas id="webgl-canvas"></canvas>
12 <script src="../../../../../../third_party/WebKit/LayoutTests/resources/test harness.js"></script> 12 <script src="../../../../../../third_party/WebKit/LayoutTests/resources/test harness.js"></script>
13 <script src="../resources/webvr_e2e.js"></script> 13 <script src="../resources/webvr_e2e.js"></script>
14 <script> 14 <script>
15 var t = async_test("NFC scan fires the vrdisplayactivate event"); 15 var t = async_test("NFC scan fires the vrdisplayactivate event");
16 window.addEventListener("vrdisplayactivate", () => {t.done();}, false); 16 window.addEventListener("vrdisplayactivate", () => {t.done();}, false);
17 // NFC scan triggered after page load 17 // NFC scan triggered after page load
18 </script> 18 </script>
19 </body> 19 </body>
20 </html> 20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698