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

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

Issue 266533004: Create unprefixed versions of pointerlockchange & pointerlockerror events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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-allow-pointer-lock-prefixed.html
diff --git a/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html b/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock-prefixed.html
similarity index 75%
copy from LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html
copy to LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock-prefixed.html
index 59cea55fd622a79567cf4aab03c60934d4a93b34..6aa5b87047a999ce95ea0fd11bbec91b83d5f36c 100644
--- a/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html
+++ b/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock-prefixed.html
@@ -2,12 +2,12 @@
<html>
<head>
<script src="/js-test-resources/js-test.js"></script>
-<script src="../resources/pointer-lock/pointer-lock-test-harness.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.html" sandbox="allow-pointer-lock allow-scripts" onload="doNextStepWithUserGesture()"></iframe>
+ <iframe src="../resources/pointer-lock/iframe-allows-inner-iframe-prefixed.html" sandbox="allow-pointer-lock allow-scripts" onload="doNextStepWithUserGesture()"></iframe>
</div>
<script>
description("Test nested sandboxed iframes with allow-pointer-lock allow pointer lock.");
@@ -21,7 +21,7 @@
iframe.contentWindow.postMessage(["pass message down", "eval", 'document.body.webkitRequestPointerLock()'], "*");
window.onmessage = function (messageEvent) {
message = messageEvent.data;
- shouldBeEqualToString("message", "inner-iframe.html onwebkitpointerlockchange, document.webkitPointerLockElement = [object HTMLBodyElement]");
+ shouldBeEqualToString("message", "inner-iframe-prefixed.html onwebkitpointerlockchange, document.webkitPointerLockElement = [object HTMLBodyElement]");
window.onmessage = null;
doNextStep();
}

Powered by Google App Engine
This is Rietveld 408576698