Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
|
ddorwin
2017/01/05 20:33:02
Regarding the file name:
It seems that mocking sh
| |
| 2 <script src="../resources/testharness.js"></script> | |
| 3 <script src="../resources/testharnessreport.js"></script> | |
| 4 <script> | |
| 5 | |
| 6 promise_test(t => navigator.getVRDisplays().then(devices => { | |
| 7 assert_true(devices != null); | |
|
ddorwin
2017/01/05 20:33:02
Can we check the type?
| |
| 8 assert_greater_than_equal(0, devices.length); | |
| 9 }), "Test that getVRDisplays always resolves to at least an empty array."); | |
|
ddorwin
2017/01/05 20:33:02
s/to/with/ ?
s/array/sequence/
| |
| 10 | |
| 11 </script> | |
| OLD | NEW |