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

Side by Side Diff: third_party/WebKit/LayoutTests/sensor/idl-Gyroscope.html

Issue 2668173003: [Sensors] Remove SensorReading interfaces (Closed)
Patch Set: updated global-interface-listing.html 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 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> 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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698