| Index: LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock-prefixed.html
|
| diff --git a/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html b/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock-prefixed.html
|
| similarity index 70%
|
| copy from LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html
|
| copy to LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock-prefixed.html
|
| index ef2f5f7629ebfafd49dcfa86c7ba76cc1a2e9e31..6c062e70828176617282cc9f319acad2abfd2641 100644
|
| --- a/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html
|
| +++ b/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-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/inner-iframe.html" sandbox="allow-pointer-lock allow-scripts" onload="doNextStepWithUserGesture()"></iframe>
|
| + <iframe src="../resources/pointer-lock/inner-iframe-prefixed.html" sandbox="allow-pointer-lock allow-scripts" onload="doNextStepWithUserGesture()"></iframe>
|
| </div>
|
| <script>
|
| description("Test sandboxed iframe with allow-pointer-lock allows pointer lock.");
|
| @@ -21,7 +21,7 @@
|
| iframe.contentWindow.postMessage(["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();
|
| }
|
|
|