Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/bluetooth/disconnect-frame-detached/hide-detach.html |
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/disconnect-frame-detached/hide-detach.html b/third_party/WebKit/LayoutTests/bluetooth/disconnect-frame-detached/hide-detach.html |
| deleted file mode 100644 |
| index eeea6e77da218d70c276bee050d2a0de14d8c4ed..0000000000000000000000000000000000000000 |
| --- a/third_party/WebKit/LayoutTests/bluetooth/disconnect-frame-detached/hide-detach.html |
| +++ /dev/null |
| @@ -1,34 +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 if (messageEvent.data === 'Connected') { |
| - let iframe = document.querySelector('iframe'); |
| - // Hide |
| - testRunner.setPageVisibility('hidden'); |
| - // Detach |
| - iframe.remove(); |
| - test.done(); |
| - } else { |
| - assert_unreached('iframe sent invalid data: ' + messageEvent.data); |
| - } |
| - }); |
| - setBluetoothFakeAdapter('HeartRateAdapter') |
| - .then(() => { |
| - let iframe = document.createElement('iframe'); |
| - iframe.src = '../../resources/bluetooth/connect-iframe.html'; |
| - document.body.appendChild(iframe); |
| - }); |
| - }, 'Hide then detach frame. We shouldn\'t crash.'); |
|
Jeffrey Yasskin
2016/05/04 00:49:32
This one's just deleted because hiding no longer d
ortuno
2016/05/04 16:41:49
Yup!
|
| - </script> |
| -</body> |