| 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 i = document.createElement('script'); | |
| 9 i.src = "http://127.0.0.1:8000/inspector/network/resources/script-as-text-wi
th-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-
url.php"; | |
| 10 document.body.appendChild(i); | |
| 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 that long URLs are correctly trimmed in anchor links.</p> | |
| 28 <a href="https://bugs.webkit.org/show_bug.cgi?id=100095">Bug 100095</a> | |
| 29 </body> | |
| 30 </html> | |
| OLD | NEW |