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

Side by Side Diff: LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="/js-test-resources/js-test-pre.js"></script> 4 <script src="/js-test-resources/js-test.js"></script>
5 <script src="../resources/pointer-lock/pointer-lock-test-harness.js"></script> 5 <script src="../resources/pointer-lock/pointer-lock-test-harness.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <div> 8 <div>
9 <div id="target1"></div> 9 <div id="target1"></div>
10 <iframe src="../resources/pointer-lock/inner-iframe.html" onload="doNextStepWi thUserGesture()"></iframe> 10 <iframe src="../resources/pointer-lock/inner-iframe.html" onload="doNextStepWi thUserGesture()"></iframe>
11 </div> 11 </div>
12 <script> 12 <script>
13 description("Test iframe from same origin can not access webkitPointerLockEl ement.") 13 description("Test iframe from same origin can not access webkitPointerLockEl ement.")
14 window.jsTestIsAsync = true; 14 window.jsTestIsAsync = true;
(...skipping 18 matching lines...) Expand all
33 shouldBeEqualToString("message", "inner-iframe.html document.webki tPointerLockElement = null"); 33 shouldBeEqualToString("message", "inner-iframe.html document.webki tPointerLockElement = null");
34 window.onmessage = null; 34 window.onmessage = null;
35 doNextStep(); 35 doNextStep();
36 } 36 }
37 }, 37 },
38 ]; 38 ];
39 // doNextStep() called by iframe onload handler. 39 // doNextStep() called by iframe onload handler.
40 </script> 40 </script>
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698