Index: LayoutTests/http/tests/pointer-lock/pointerlockelement-different-origin-prefixed.html |
diff --git a/LayoutTests/http/tests/pointer-lock/pointerlockelement-different-origin-prefixed.html b/LayoutTests/http/tests/pointer-lock/pointerlockelement-different-origin-prefixed.html |
deleted file mode 100644 |
index 4de5aa31d8531bb75947582fa9c71f5b7fcbdcef..0000000000000000000000000000000000000000 |
--- a/LayoutTests/http/tests/pointer-lock/pointerlockelement-different-origin-prefixed.html |
+++ /dev/null |
@@ -1,42 +0,0 @@ |
-<!DOCTYPE HTML> |
-<html> |
-<head> |
-<script src="/js-test-resources/js-test.js"></script> |
-<script src="../resources/pointer-lock/pointer-lock-test-harness-prefixed.js"></script> |
-</head> |
-<body> |
-<div> |
- <div id="target1"></div> |
- <iframe src="http://localhost:8080/resources/pointer-lock/inner-iframe-prefixed.html" onload="doNextStepWithUserGesture()"></iframe> |
-</div> |
-<script> |
- description("Test iframe from different origin can not access webkitPointerLockElement.") |
- window.jsTestIsAsync = true; |
- |
- targetDiv1 = document.getElementById("target1"); |
- iframe = document.getElementsByTagName("iframe")[0]; |
- |
- todo = [ |
- function () { |
- expectOnlyChangeEvent("Lock targetDiv1."); |
- targetDiv1.webkitRequestPointerLock(); |
- // doNextStep called by event handler. |
- }, |
- function () { |
- shouldBe("document.webkitPointerLockElement", "targetDiv1"); |
- doNextStep(); |
- }, |
- function () { |
- iframe.contentWindow.postMessage(["eval", 'parent.postMessage(thisFileName() + " document.webkitPointerLockElement = " + document.webkitPointerLockElement, "*")'], "*"); |
- window.onmessage = function (messageEvent) { |
- message = messageEvent.data; |
- shouldBeEqualToString("message", "inner-iframe-prefixed.html document.webkitPointerLockElement = null"); |
- window.onmessage = null; |
- doNextStep(); |
- } |
- }, |
- ]; |
- // doNextStep() called by iframe onload handler. |
-</script> |
-</body> |
-</html> |