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

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

Issue 2506903003: [sensors] Gyroscope sensor bindings implementation (Closed)
Patch Set: Comments + rebase Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/sensor/idl-Gyroscope.html
diff --git a/third_party/WebKit/LayoutTests/sensor/idl-Gyroscope.html b/third_party/WebKit/LayoutTests/sensor/idl-Gyroscope.html
new file mode 100644
index 0000000000000000000000000000000000000000..30306327a0feec198d149be46c60ffd282bfa208
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/sensor/idl-Gyroscope.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script>
+test(function() {
+ // Test that Gyroscope interface exists
+ assert_true('Gyroscope' in window);
+ // Test that GyroscopeReading interface exists
+ assert_true('GyroscopeReading' in window);
+}, 'Test that the Gyroscope and GyroscopeReading interfaces are present.');
+</script>

Powered by Google App Engine
This is Rietveld 408576698