Index: third_party/WebKit/LayoutTests/usb/resources/open-in-iframe.html |
diff --git a/third_party/WebKit/LayoutTests/usb/resources/open-in-iframe.html b/third_party/WebKit/LayoutTests/usb/resources/open-in-iframe.html |
deleted file mode 100644 |
index 83c5a309b41aadcd5baa6a872850841b7a438798..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/usb/resources/open-in-iframe.html |
+++ /dev/null |
@@ -1,17 +0,0 @@ |
-<!DOCTYPE html> |
-<script> |
-'use strict'; |
-window.onmessage = messageEvent => { |
- if (messageEvent.data === 'Ready') { |
- navigator.usb.addEventListener('connect', connectEvent => { |
- connectEvent.device.open().then(() => { |
- parent.postMessage('Success', '*'); |
- }).catch(error => { |
- console.log(error); |
- parent.postMessage('FAIL: open rejected ' + error, '*'); |
- }); |
- }); |
- parent.postMessage('Ready', '*'); |
- } |
-}; |
-</script> |