OLD | NEW |
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> | 4 <script> |
5 test(function() { | 5 test(function() { |
6 // Test that Gyroscope interface exists | 6 // Test that Gyroscope interface exists |
7 assert_true('Gyroscope' in window); | 7 assert_true('Gyroscope' in window); |
8 // Test that GyroscopeReading interface exists | 8 }, 'Test that the Gyroscope interface is present.'); |
9 assert_true('GyroscopeReading' in window); | |
10 }, 'Test that the Gyroscope and GyroscopeReading interfaces are present.'); | |
11 </script> | 9 </script> |
OLD | NEW |