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

Side by Side Diff: third_party/WebKit/LayoutTests/vr/getLayers_presenting.html

Issue 2624263003: Add more WebVR layout tests and fix small issues they found (Closed)
Patch Set: Added a few clarifying comments Created 3 years, 11 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 <script src="../resources/testharness.js"></script> 2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script> 3 <script src="../resources/testharnessreport.js"></script>
4 <script src="../resources/mojo-helpers.js"></script> 4 <script src="../resources/mojo-helpers.js"></script>
5 <script src="resources/fake-vr-displays.js"></script> 5 <script src="resources/fake-vr-displays.js"></script>
6 <script src="resources/mock-vr-service.js"></script> 6 <script src="resources/mock-vr-service.js"></script>
7 <script src="resources/test-constants.js"></script> 7 <script src="resources/test-constants.js"></script>
8 <canvas id="webgl-canvas"></canvas> 8 <canvas id="webgl-canvas"></canvas>
9 <script src="resources/presentation-setup.js"></script> 9 <script src="resources/presentation-setup.js"></script>
10 <script> 10 <script>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 t.done(); 46 t.done();
47 }); 47 });
48 }); 48 });
49 }, (err) => { 49 }, (err) => {
50 t.step( () => { 50 t.step( () => {
51 assert_unreached(); 51 assert_unreached();
52 }, "getVRDisplays rejected"); 52 }, "getVRDisplays rejected");
53 t.done(); 53 t.done();
54 }); 54 });
55 }, [fakeDisplays["Pixel"]], 55 }, [fakeDisplays["Pixel"]],
56 "Test getLayers returns an empty array when not presenting"); 56 "Test getLayers returns given canvas and default bounds when expected");
57 57
58 </script> 58 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698