Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice-sandboxed-iframe.html |
diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice-sandboxed-iframe.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice-sandboxed-iframe.html |
deleted file mode 100644 |
index 8d52e5e30d15eddec3d3a7c6905f4b31829cdd71..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice-sandboxed-iframe.html |
+++ /dev/null |
@@ -1,30 +0,0 @@ |
-<!DOCTYPE html> |
-<script src="../resources/testharness.js"></script> |
-<script src="../resources/testharnessreport.js"></script> |
-<script src="../resources/bluetooth/bluetooth-helpers.js"></script> |
-<body> |
- <script> |
- "use strict"; |
- async_test(test => { |
- window.onmessage = messageEvent => test.step(() => { |
- if (messageEvent.data === 'Ready') { |
- let iframe = document.querySelector('iframe'); |
- callWithKeyDown(() => { |
- iframe.contentWindow.postMessage('Go', '*'); |
- }); |
- } else { |
- assert_equals(messageEvent.data, 'SecurityError: requestDevice() ' + |
- 'called from cross-origin iframe.'); |
- test.done(); |
- } |
- }); |
- setBluetoothFakeAdapter('HeartRateAdapter') |
- .then(() => { |
- let iframe = document.createElement('iframe'); |
- iframe.sandbox.add('allow-scripts'); |
- iframe.src = '../resources/bluetooth/requestDevice-in-iframe.html'; |
- document.body.appendChild(iframe); |
- }); |
- }, 'Request device from a unique origin. Should reject with SecurityError.'); |
- </script> |
-</body> |