Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / window-open-then-write.html
blob9bee4205f19f1d185e42ef507cdb77d11729e57b
1 <html>
2 <script>
3 if (window.testRunner) {
4 testRunner.waitUntilDone();
5 testRunner.setCanOpenWindows();
6 testRunner.dumpAsText();
9 function runTest() {
10 var w = window.open('window-open-then-write.html');
11 w.document.write('<img src="resources/compass.jpg" onload="if (window.testRunner) setTimeout(\'testRunner.notifyDone()\', 100);">');
12 w.document.close();
14 </script>
15 <body onload="runTest();">
16 <div>This tests that calling window.open() with a URL and then writing to the window using document.write still causes the WebFrame in question to have a correct WebDataSource.</div>
17 <div>SUCCESS! Did not assert!</div>
18 </body>
19 </html>