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

Unified Diff: LayoutTests/bluetooth/connectGATT.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 | « no previous file | LayoutTests/bluetooth/getCharacteristic.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/bluetooth/connectGATT.html
diff --git a/LayoutTests/bluetooth/connectGATT.html b/LayoutTests/bluetooth/connectGATT.html
index f647599d2c1c0b35cbf48b60d1643912f52017e4..686f56533ae14397648cb7231e63915fbd3ab854 100644
--- a/LayoutTests/bluetooth/connectGATT.html
+++ b/LayoutTests/bluetooth/connectGATT.html
@@ -1,13 +1,12 @@
<!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>
test(function(t) { assert_true(window.testRunner instanceof Object); t.done(); },
"window.testRunner is required for the following tests.");
-sequential_promise_test(function() {
+promise_test(function() {
testRunner.setBluetoothMockDataSet('ConnectableDeviceAdapter');
return navigator.bluetooth.requestDevice({
filters: [{services: [genericAccessServiceUuid]}]
@@ -22,7 +21,7 @@ sequential_promise_test(function() {
});
}, 'Device goes out of range. Reject with NetworkError.');
-sequential_promise_test(function() {
+promise_test(function() {
testRunner.setBluetoothMockDataSet('UnconnectableDeviceAdapter');
return navigator.bluetooth.requestDevice({
filters: [{services: [genericAccessServiceUuid]}]
@@ -36,7 +35,7 @@ sequential_promise_test(function() {
});
}, 'Device failed to connect. Reject with NetworkError.');
-sequential_promise_test(function() {
+promise_test(function() {
testRunner.setBluetoothMockDataSet('ConnectableDeviceAdapter');
return navigator.bluetooth.requestDevice({
filters: [{services: [genericAccessServiceUuid]}]
« no previous file with comments | « no previous file | LayoutTests/bluetooth/getCharacteristic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698