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

Unified Diff: LayoutTests/bluetooth/getCharacteristic.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/connectGATT.html ('k') | LayoutTests/bluetooth/getPrimaryService.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/bluetooth/getCharacteristic.html
diff --git a/LayoutTests/bluetooth/getCharacteristic.html b/LayoutTests/bluetooth/getCharacteristic.html
index e42fee5ec35af6a688e6d6af610e8b673063599c..f5454650cb4599b62853831d55eea006a1e01682 100644
--- a/LayoutTests/bluetooth/getCharacteristic.html
+++ b/LayoutTests/bluetooth/getCharacteristic.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";
// Battery Level. Belongs to Battery Service.
var nonIncludedCharacteristicUUID = "00002a19-0000-1000-8000-00805f9b34fb";
-sequential_promise_test(function() {
+promise_test(function() {
testRunner.setBluetoothMockDataSet('ConnectableDeviceAdapter');
return navigator.bluetooth.requestDevice({
filters: [{services: [serviceUUID]}]
@@ -33,7 +32,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]}]
@@ -49,7 +48,7 @@ sequential_promise_test(function() {
});
}, 'Request for wrong characteristic. Should return null.');
-sequential_promise_test(function() {
+promise_test(function() {
testRunner.setBluetoothMockDataSet('ConnectableDeviceAdapter');
return navigator.bluetooth.requestDevice({
filters: [{services: [serviceUUID]}]
@@ -65,7 +64,7 @@ sequential_promise_test(function() {
});
}, 'Request for characteristic. Should return right characteristic');
-sequential_promise_test(function() {
+promise_test(function() {
testRunner.setBluetoothMockDataSet('ConnectableDeviceAdapter');
return navigator.bluetooth.requestDevice({
filters: [{services: [serviceUUID]}]
« no previous file with comments | « LayoutTests/bluetooth/connectGATT.html ('k') | LayoutTests/bluetooth/getPrimaryService.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698