Index: LayoutTests/webmidi/requestmidiaccess-in-detached-frame.html |
diff --git a/LayoutTests/webmidi/requestmidiaccess-in-detached-frame.html b/LayoutTests/webmidi/requestmidiaccess-in-detached-frame.html |
deleted file mode 100644 |
index 47273b629dac451a1062547b7038f139afb51278..0000000000000000000000000000000000000000 |
--- a/LayoutTests/webmidi/requestmidiaccess-in-detached-frame.html |
+++ /dev/null |
@@ -1,32 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
-<script src="../resources/js-test.js"></script> |
-</head> |
-<body> |
-<script> |
-description("Tests navigator.requestMIDIAccess fails in a detached frame."); |
- |
-window.jsTestIsAsync = true; |
-iframe = document.createElement('iframe'); |
-document.body.appendChild(iframe); |
-contentNavigator = iframe.contentWindow.navigator; |
-document.body.removeChild(iframe); |
- |
-// set testRunner configuration so that requestMIDIAccess returns "InvalidStateError". |
-contentNavigator.requestMIDIAccess().then(function() { |
- testFailed("requestMIDIAccess() does not fail unexpectedly."); |
- finishJSTest(); |
-}, function() { |
- errorName = error.name; |
- shouldBe("errorName", "'InvalidStateError'"); |
- testPassed("requestMIDIAccess() fail as expected."); |
- finishJSTest(); |
-}); |
-// FIXME: errorCallback should be called, but due to the Blink Promise impelementation the |
-// returned Promise never be resolved nor rejected. |
-finishJSTest(); |
- |
-</script> |
-</body> |
-</html> |