OLD | NEW |
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="http://localhost:8080/resources/pointer-lock/inner-iframe.html" o
nload="doNextStepWithUserGesture()"></iframe> | 10 <iframe src="http://localhost:8080/resources/pointer-lock/inner-iframe.html" o
nload="doNextStepWithUserGesture()"></iframe> |
11 </div> | 11 </div> |
12 <script> | 12 <script> |
13 description("Test iframe from different origin can not access webkitFullscre
enElement.") | 13 description("Test iframe from different origin can not access webkitFullscre
enElement.") |
14 window.jsTestIsAsync = true; | 14 window.jsTestIsAsync = true; |
(...skipping 27 matching lines...) Expand all Loading... |
42 shouldBeEqualToString("message", "inner-iframe.html document.webki
tCurrentFullScreenElement = null"); | 42 shouldBeEqualToString("message", "inner-iframe.html document.webki
tCurrentFullScreenElement = null"); |
43 window.onmessage = null; | 43 window.onmessage = null; |
44 doNextStep(); | 44 doNextStep(); |
45 } | 45 } |
46 }, | 46 }, |
47 ]; | 47 ]; |
48 // doNextStep() called by iframe onload handler. | 48 // doNextStep() called by iframe onload handler. |
49 </script> | 49 </script> |
50 </body> | 50 </body> |
51 </html> | 51 </html> |
OLD | NEW |