Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console-document-write-from-external-script-logging.html
blob3508442ff29e7eae83f6194e8fac5715fa836f3f
1 <html>
2 <head>
3 <script src="../http/tests/inspector/inspector-test.js"></script>
4 <script src="../http/tests/inspector/console-test.js"></script>
5 <script>
6 function loadExternalScript()
8 var scriptElement = document.createElement("script");
9 scriptElement.src = "resources/external-script-with-document-write.js";
10 document.body.appendChild(scriptElement);
13 function test()
15 InspectorTest.addConsoleSniffer(step1);
16 InspectorTest.evaluateInPage("loadExternalScript()", function(){});
18 function step1()
20 InspectorTest.dumpConsoleMessages();
21 InspectorTest.completeTest();
24 </script>
25 </head>
26 <body onload="runTest()">
27 <p>Tests that ignored document.write() called from an external asynchronously loaded script is reported to console as a warning</p>
28 </body>
29 </html>