| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../inspector-test.js"></script> | 3 <script src="../inspector-test.js"></script> |
| 4 <script src="../console-test.js"></script> | 4 <script src="../console-test.js"></script> |
| 5 <script> | 5 <script> |
| 6 function loadScript() | 6 function loadScript() |
| 7 { | 7 { |
| 8 var s = document.createElement("script"); | 8 var s = document.createElement("script"); |
| 9 s.src = "resources/script-as-text.php"; | 9 s.src = "resources/script-as-text.php"; |
| 10 document.body.appendChild(s); | 10 document.body.appendChild(s); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 InspectorTest.completeTest(); | 21 InspectorTest.completeTest(); |
| 22 } | 22 } |
| 23 } | 23 } |
| 24 </script> | 24 </script> |
| 25 </head> | 25 </head> |
| 26 <body onload="runTest()"> | 26 <body onload="runTest()"> |
| 27 <p>Tests console message when script is loaded with incorrect text/html mime typ
e.</p> | 27 <p>Tests console message when script is loaded with incorrect text/html mime typ
e.</p> |
| 28 <a href="https://bugs.webkit.org/show_bug.cgi?id=69972">Bug 69972</a> | 28 <a href="https://bugs.webkit.org/show_bug.cgi?id=69972">Bug 69972</a> |
| 29 </body> | 29 </body> |
| 30 </html> | 30 </html> |
| OLD | NEW |