Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-prefixed.html

Issue 437443005: Revert of Revert of Remove prefixed Pointer Lock API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-prefixed.html
diff --git a/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-prefixed.html b/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-prefixed.html
deleted file mode 100644
index c6d392b529d6962e5c5b2c766d8173e06035ef2d..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-prefixed.html
+++ /dev/null
@@ -1,33 +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="../resources/pointer-lock/iframe-allows-inner-iframe-prefixed.html" sandbox="allow-scripts" onload="doNextStepWithUserGesture()"></iframe>
-</div>
-<script>
- description("Test nested sandboxed iframes without and then with allow-pointer-lock disallow pointer lock.");
- window.jsTestIsAsync = true;
-
- targetDiv1 = document.getElementById("target1");
- iframe = document.getElementsByTagName("iframe")[0];
-
- todo = [
- function () {
- iframe.contentWindow.postMessage(["pass message down", "eval", 'document.body.webkitRequestPointerLock()'], "*");
- window.onmessage = function (messageEvent) {
- message = messageEvent.data;
- shouldBeEqualToString("message", "inner-iframe-prefixed.html onwebkitpointerlockerror");
- window.onmessage = null;
- doNextStep();
- }
- },
- ];
- // doNextStep() called by iframe onload handler.
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698