| Index: third_party/WebKit/LayoutTests/usb/usbDevice.html
|
| diff --git a/third_party/WebKit/LayoutTests/usb/usbDevice.html b/third_party/WebKit/LayoutTests/usb/usbDevice.html
|
| index 3fefee2ca5a03950503373d17a024e25dae1b85f..e611148ddf9d09b43377a4f104d6d6076353b22e 100644
|
| --- a/third_party/WebKit/LayoutTests/usb/usbDevice.html
|
| +++ b/third_party/WebKit/LayoutTests/usb/usbDevice.html
|
| @@ -7,16 +7,6 @@
|
| <script>
|
| 'use strict';
|
|
|
| -function assertRejectsWithError(promise, name, message) {
|
| - return promise.then(() => {
|
| - assert_unreached('expected promise to reject with ' + name);
|
| - }, error => {
|
| - assert_equals(error.name, name);
|
| - if (message !== undefined)
|
| - assert_equals(error.message, message);
|
| - });
|
| -}
|
| -
|
| function assertRejectsWithNotFoundError(promise) {
|
| return assertRejectsWithError(promise, 'NotFoundError');
|
| }
|
|
|