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

Unified Diff: chrome/test/data/android/webvr_instrumentation/html/webvr_instrumentation_base.html

Issue 2588703003: Add WebVR WebVR E2E test capabilities via Android instrumentation (Closed)
Patch Set: Simplify Javascript code slightly Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/android/webvr_instrumentation/html/webvr_instrumentation_base.html
diff --git a/chrome/test/data/android/webvr_instrumentation/html/webvr_instrumentation_base.html b/chrome/test/data/android/webvr_instrumentation/html/webvr_instrumentation_base.html
new file mode 100644
index 0000000000000000000000000000000000000000..4516f4625a26855295a85e04cb2c060d7e17db2a
--- /dev/null
+++ b/chrome/test/data/android/webvr_instrumentation/html/webvr_instrumentation_base.html
@@ -0,0 +1,38 @@
+<!doctype html>
+<!--
+A page that contains the basic tools for automated WebVR testing via
+instrumentation tests - a canvas and a page-covering button that presents.
+-->
Lei Lei 2017/02/16 22:04:50 This file is unused.
bsheedy 2017/02/16 23:30:14 Done. It was meant to be a template that people co
+<html>
+ <head>
+ <style>
+ html, body {
+ margin: 0;
+ padding: 0;
+ width: 100%;
+ height: 100%;
+ }
+ #webgl-canvas {
+ box-sizing: border-box;
+ height: 100%;
+ left: 0;
+ margin: 0;
+ position: absolute;
+ top: 0;
+ width: 100%;
+ }
+ #log {
+ display: none;
+ }
+ </style>
+ </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 src="../resources/webvr_boilerplate.js"></script>
+ <script>
+ // Your Javascript code goes here
+ </script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698