Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/screen-orientation/resources/sandboxed-iframe-locking.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/screen-orientation/resources/sandboxed-iframe-locking.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/screen-orientation/resources/sandboxed-iframe-locking.html |
deleted file mode 100644 |
index 74dac82a5b05e2b64feed60ad5bb6579b9008647..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/screen-orientation/resources/sandboxed-iframe-locking.html |
+++ /dev/null |
@@ -1,18 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<script> |
- var msg = ""; |
- screen.orientation.lock("portrait-primary").then(function() { |
- msg = screen.orientation.type; |
- }, function(error) { |
- msg = error.name; |
- }); |
- |
- // FIXME: for the moment, tests gets notified when there is a failure but |
- // not a success, this hack should allow us to still have the test running. |
- // That should be removed as soon as we get a resolved promise in tests. |
- setTimeout(function() { |
- parent.window.postMessage(msg, "*"); |
- }) |
-</script> |
-</html> |