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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/cross-frame-access-get.html

Issue 1475863005: [Async][WIP] Call FrameLoader::checkCompleted() asynchronously to avoid sync body.onload() Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 10 months 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="resources/cross-frame-access.js"></script> 3 <script src="resources/cross-frame-access.js"></script>
4 <script> 4 <script>
5 var windowConstructorPropertiesNotAllowed = [ 5 var windowConstructorPropertiesNotAllowed = [
6 "Attr", 6 "Attr",
7 "Audio", 7 "Audio",
8 "CDATASection", 8 "CDATASection",
9 "CSSRule", 9 "CSSRule",
10 "CSSStyleDeclaration", 10 "CSSStyleDeclaration",
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 "closed", 204 "closed",
205 "frames", 205 "frames",
206 "length", 206 "length",
207 "opener", 207 "opener",
208 "parent", 208 "parent",
209 "self", 209 "self",
210 "top", 210 "top",
211 "window", 211 "window",
212 ]; 212 ];
213 213
214 window.onload = function() 214 // FIXME[11] window.onload = function()
215 { 215 {
216 if (window.testRunner) { 216 if (window.testRunner) {
217 testRunner.dumpAsText(); 217 testRunner.dumpAsText();
218 testRunner.waitUntilDone(); 218 testRunner.waitUntilDone();
219 } 219 }
220 220
221 window.addEventListener('message', function() 221 window.addEventListener('message', function()
222 { 222 {
223 runTest(); 223 runTest();
224 if (window.testRunner) 224 if (window.testRunner)
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 } 267 }
268 } 268 }
269 </script> 269 </script>
270 </head> 270 </head>
271 <body> 271 <body>
272 <p>This test checks cross-frame access security (rdar://problem/5251309).</p> 272 <p>This test checks cross-frame access security (rdar://problem/5251309).</p>
273 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get -test.html" style=""></iframe> 273 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get -test.html" style=""></iframe>
274 <pre id="console"></pre> 274 <pre id="console"></pre>
275 </body> 275 </body>
276 </html> 276 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698