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

Unified Diff: LayoutTests/bluetooth/readValue.html

Issue 1216203003: Replace all sequential_promise_tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@update-testharnessjs
Patch Set: Created 5 years, 5 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 | « LayoutTests/bluetooth/idl-BluetoothDevice.html ('k') | LayoutTests/bluetooth/requestDevice.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/bluetooth/readValue.html
diff --git a/LayoutTests/bluetooth/readValue.html b/LayoutTests/bluetooth/readValue.html
index 2f72b9bfd28651c3a41a66c9dce914cbd755e8c3..540c3137da679b491498692ca06c9c35afe77683 100644
--- a/LayoutTests/bluetooth/readValue.html
+++ b/LayoutTests/bluetooth/readValue.html
@@ -1,6 +1,5 @@
<!DOCTYPE html>
<script src="../resources/testharness.js"></script>
-<script src="../resources/testharness-helpers.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="bluetooth-helpers.js"></script>
<script>
@@ -14,7 +13,7 @@ var includedCharacteristicUUID = '00002a00-0000-1000-8000-00805f9b34fb';
// Reconnection Address. Belongs to Generic Access.
var unreadableCharacteristicUUID = '00002a03-0000-1000-8000-00805f9b34fb';
-sequential_promise_test(function() {
+promise_test(function() {
testRunner.setBluetoothMockDataSet('ConnectableDeviceAdapter');
return navigator.bluetooth.requestDevice({
filters: [{services: [serviceUUID]}]
@@ -35,7 +34,7 @@ sequential_promise_test(function() {
});
}, 'Device goes out of range. Reject with NetworkError.');
-sequential_promise_test(function() {
+promise_test(function() {
testRunner.setBluetoothMockDataSet('ConnectableDeviceAdapter');
return navigator.bluetooth.requestDevice({
filters: [{services: [serviceUUID]}]
@@ -57,7 +56,7 @@ sequential_promise_test(function() {
// TODO(ortuno): Add a test for when a characterstics gets removed.
// http://crbug.com/499552
-sequential_promise_test(function() {
+promise_test(function() {
testRunner.setBluetoothMockDataSet('ConnectableDeviceAdapter');
return navigator.bluetooth.requestDevice({
filters: [{services: [serviceUUID]}]
« no previous file with comments | « LayoutTests/bluetooth/idl-BluetoothDevice.html ('k') | LayoutTests/bluetooth/requestDevice.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698