Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / inspector-enabled / document-write.html
blobbe7a0647d5ca2520bdcafab446af67474f0306fb
1 <html>
2 <head>
4 <script>console.log("Line 4");</script>
5 <script>console.log("Line 5");</script>
6 <script>document.write("<scrip" + "t>console.log(\"Line 1 in document.write\");\n\n\nconsole.log(\"Line 4 in document.write\");</sc" + "ript>");</script>
7 <script>console.log("Line 7");</script>
9 <script>
11 function onload()
13 if (window.testRunner)
14 testRunner.dumpAsText();
16 var script = document.createElement("script");
17 script.textContent = "console.log(\"script element\")";
18 document.head.appendChild(script);
19 document.write("<scrip" + "t>console.log(\"document.write from onload\");</sc" + "ript>");
22 </script>
23 </head>
25 <body onload="console.log('Line 25'); onload();">
26 <p>
27 Tests that console reports zero line number for scripts generated with document.write. See https://bugs.webkit.org/show_bug.cgi?id=71099.
28 </p>
30 </body>
31 </html>