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

Unified Diff: LayoutTests/bluetooth/navigator-bluetooth.html

Issue 639533002: bluetooth: Extend navigator.bluetooth IDL to include Bluetooth interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: GC Compile issue 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
Index: LayoutTests/bluetooth/navigator-bluetooth.html
diff --git a/LayoutTests/fast/serviceworker/serviceworkercontainer-interface.html b/LayoutTests/bluetooth/navigator-bluetooth.html
similarity index 58%
copy from LayoutTests/fast/serviceworker/serviceworkercontainer-interface.html
copy to LayoutTests/bluetooth/navigator-bluetooth.html
index 64d79804e97874aea789fe04c4307d631897439d..d3819d9f43dd8366c3fd1e2cf595b934640357fc 100644
--- a/LayoutTests/fast/serviceworker/serviceworkercontainer-interface.html
+++ b/LayoutTests/bluetooth/navigator-bluetooth.html
@@ -10,14 +10,11 @@ function getPropertyDescriptor(name) {
}
test(function() {
- assert_true('ServiceWorkerContainer' in window,
- 'the constructor should be defined');
- assert_throws(null, function() { new ServiceWorkerContainer(); },
+ assert_true('bluetooth' in navigator,
+ 'navigator.bluetooth exists.');
+ assert_throws(null, function() { new Bluetooth(); },
'the constructor should not be callable with "new"');
- assert_throws(null, function() { ServiceWorkerContainer(); },
+ assert_throws(null, function() { Bluetooth(); },
'the constructor should not be callable');
-
- assert_false(getPropertyDescriptor('controller').configurable,
- 'the controller property should be Unforgeable');
-}, 'ServiceWorkerContainer interface');
+}, 'navigator.bluetooth IDL test');
</script>
« no previous file with comments | « no previous file | Source/modules/bluetooth/Bluetooth.h » ('j') | Source/modules/bluetooth/NavigatorBluetooth.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698