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

Side by Side Diff: third_party/WebKit/LayoutTests/sensor/idl-Magnetometer.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 5
6 test(function() { 6 test(function() {
7 // Test that Magnetometer interface exists 7 // Test that Magnetometer interface exists
8 assert_true('Magnetometer' in window); 8 assert_true('Magnetometer' in window);
9 // Test that MagnetometerReading interface exists 9 }, 'Test that the Magnetometer interface is present.');
10 assert_true('MagnetometerReading' in window);
11 }, 'Test that the Magnetometer and MagnetometerReading interfaces'
12 + ' are present.');
13 10
14 </script> 11 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/sensor/idl-Gyroscope.html ('k') | third_party/WebKit/LayoutTests/sensor/magnetometer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698