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

Side by Side Diff: third_party/WebKit/LayoutTests/bluetooth/server/connect/connection-fails.html

Issue 2544513004: Fix WebBluetooth generator to distinguish between different methods. (Closed)
Patch Set: Remove TL;DR in README Created 4 years 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script> 2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script> 3 <script src="../../../resources/testharnessreport.js"></script>
4 <script src="../../resources/bluetooth/bluetooth-helpers.js"></script> 4 <script src="../../../resources/bluetooth/bluetooth-helpers.js"></script>
5 <script> 5 <script>
6 'use strict'; 6 'use strict';
7 // The following tests make sure the Web Bluetooth implementation 7 // The following tests make sure the Web Bluetooth implementation
8 // responds correctly to the different types of errors the 8 // responds correctly to the different types of errors the
9 // underlying platform might throw. 9 // underlying platform might throw.
10 10
11 // Each implementation maps these devices to specific code paths 11 // Each implementation maps these devices to specific code paths
12 // that result in different errors thus increasing code coverage 12 // that result in different errors thus increasing code coverage
13 // when testing. Therefore some of these devices might not be useful 13 // when testing. Therefore some of these devices might not be useful
14 // for all implementations. 14 // for all implementations.
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // .then(device => assert_promise_rejects_with_message( 108 // .then(device => assert_promise_rejects_with_message(
109 // device.gatt.connect(), 109 // device.gatt.connect(),
110 // testSpec.error, 110 // testSpec.error,
111 // testSpec.testName)); 111 // testSpec.testName));
112 }); 112 });
113 return test_promises; 113 return test_promises;
114 }); 114 });
115 }, 'Adapter fails to connect to device. Should reject with the correct ' + 115 }, 'Adapter fails to connect to device. Should reject with the correct ' +
116 'exception.'); 116 'exception.');
117 </script> 117 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698