| 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>
|
|
|