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

Unified Diff: LayoutTests/bluetooth/idl-Bluetooth.html

Issue 639533002: bluetooth: Extend navigator.bluetooth IDL to include Bluetooth interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/bluetooth/idl-NavigatorBluetooth.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/bluetooth/idl-Bluetooth.html
diff --git a/LayoutTests/bluetooth/idl-Bluetooth.html b/LayoutTests/bluetooth/idl-Bluetooth.html
new file mode 100644
index 0000000000000000000000000000000000000000..8ece688045dcac4cbad781d82f3658a13156c261
--- /dev/null
+++ b/LayoutTests/bluetooth/idl-Bluetooth.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script>
+test(function() {
+ assert_throws(null, function() { new Bluetooth(); },
+ 'the constructor should not be callable with "new"');
+ assert_throws(null, function() { Bluetooth(); },
+ 'the constructor should not be callable');
+}, 'Bluetooth IDL test');
+</script>
« no previous file with comments | « no previous file | LayoutTests/bluetooth/idl-NavigatorBluetooth.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698