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

Unified Diff: LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin-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/pointerlockelement-same-origin-prefixed.html
diff --git a/LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin.html b/LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin-prefixed.html
similarity index 82%
copy from LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin.html
copy to LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin-prefixed.html
index 4e000680e6adcd2d0980103faf61d90a35e80614..b63eb5be580fdd669da842d6d841593da2185a36 100644
--- a/LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin.html
+++ b/LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin-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/inner-iframe.html" onload="doNextStepWithUserGesture()"></iframe>
+ <iframe src="../resources/pointer-lock/inner-iframe-prefixed.html" onload="doNextStepWithUserGesture()"></iframe>
</div>
<script>
description("Test iframe from same origin can not access webkitPointerLockElement.")
@@ -30,7 +30,7 @@
iframe.contentWindow.postMessage(["eval", 'parent.postMessage(thisFileName() + " document.webkitPointerLockElement = " + document.webkitPointerLockElement, "*")'], "*");
window.onmessage = function (messageEvent) {
message = messageEvent.data;
- shouldBeEqualToString("message", "inner-iframe.html document.webkitPointerLockElement = null");
+ shouldBeEqualToString("message", "inner-iframe-prefixed.html document.webkitPointerLockElement = null");
window.onmessage = null;
doNextStep();
}

Powered by Google App Engine
This is Rietveld 408576698