Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / pointer-lock / iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html
index 4cc36b1..f45c3ad 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML>
 <html>
 <head>
-<script src="../resources/js-test-pre.js"></script>
+<script src="/js-test-resources/js-test.js"></script>
 <script src="../resources/pointer-lock/pointer-lock-test-harness.js"></script>
 </head>
 <body>
@@ -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 onwebkitpointerlockerror");
+              shouldBeEqualToString("message", "inner-iframe.html onpointerlockerror");
               window.onmessage = null;
               doNextStep();
           }
@@ -29,6 +29,5 @@
     ];
     // doNextStep() called by iframe onload handler.
 </script>
-<script src="../resources/js-test-post.js"></script>
 </body>
 </html>