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

Side by Side Diff: LayoutTests/http/tests/security/cross-frame-access-call.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="/js-test-resources/js-test-pre.js"></script> 3 <script src="/js-test-resources/js-test.js"></script>
4 <script src="resources/cross-frame-access.js"></script> 4 <script src="resources/cross-frame-access.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get -test.html" style=""></iframe> 7 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get -test.html" style=""></iframe>
8 <pre id="console"></pre> 8 <pre id="console"></pre>
9 <script> 9 <script>
10 10
11 window.jsTestIsAsync = true; 11 window.jsTestIsAsync = true;
12 window.targetWindow = frames[0]; 12 window.targetWindow = frames[0];
13 13
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // - Tests for the Location object - 59 // - Tests for the Location object -
60 shouldThrow("window.location.toString.call(targetWindow.location)", '"Securi tyError: Blocked a frame with origin \\"http://127.0.0.1:8000\\" from accessing a cross-origin frame."'); 60 shouldThrow("window.location.toString.call(targetWindow.location)", '"Securi tyError: Blocked a frame with origin \\"http://127.0.0.1:8000\\" from accessing a cross-origin frame."');
61 61
62 // Work around DRT bug that causes subsequent tests to fail. 62 // Work around DRT bug that causes subsequent tests to fail.
63 window.stop(); 63 window.stop();
64 finishJSTest(); 64 finishJSTest();
65 } 65 }
66 </script> 66 </script>
67 </body> 67 </body>
68 </html> 68 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698