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

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

Issue 2471003002: [sensors] Accelerometer sensor bindings implementation (Closed)
Patch Set: Rebased after splitting the refactor for the tests. 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-Accelerometer.html
diff --git a/third_party/WebKit/LayoutTests/sensor/idl-Accelerometer.html b/third_party/WebKit/LayoutTests/sensor/idl-Accelerometer.html
new file mode 100644
index 0000000000000000000000000000000000000000..891d1e727abd1b1a1709e8c125f2179e9f1c0380
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/sensor/idl-Accelerometer.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script>
+test(function() {
+ // Test that Accelerometer interface exists
+ assert_true('Accelerometer' in window);
+ // Test that AccelerometerReading interface exists
+ assert_true('AccelerometerReading' in window);
+}, 'Test that the Accelerometer and AccelerometerReading interfaces'
+ + ' are present.');
+</script>

Powered by Google App Engine
This is Rietveld 408576698