| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <script src="../inspector-test.js"></script> | |
| 4 <script src="../console-test.js"></script> | |
| 5 <script> | |
| 6 function loadScript() | |
| 7 { | |
| 8 var s = document.createElement("script"); | |
| 9 s.src = "resources/script-as-text.php?this-is-a-weird=querystring-with^carat
s^like^these^because^who^doesnt^love^strange^characters^in^urls"; | |
| 10 document.body.appendChild(s); | |
| 11 } | |
| 12 | |
| 13 function test() | |
| 14 { | |
| 15 InspectorTest.addConsoleSniffer(step1); | |
| 16 InspectorTest.evaluateInPage("loadScript()"); | |
| 17 | |
| 18 function step1() | |
| 19 { | |
| 20 InspectorTest.dumpConsoleMessages(); | |
| 21 InspectorTest.completeTest(); | |
| 22 } | |
| 23 } | |
| 24 </script> | |
| 25 </head> | |
| 26 <body onload="runTest()"> | |
| 27 <p>Tests console message when script is loaded with incorrect text/html mime | |
| 28 type and the URL contains the '^' character.</p> | |
| 29 <a href="https://bugs.webkit.org/show_bug.cgi?id=103248">Bug 103248</a> | |
| 30 </body> | |
| 31 </html> | |
| OLD | NEW |