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 script = document.createElement('script'); |
| 9 script.src = "data:text/plain;base64,dmFyIGpvaG5xdW90ZSA9ICJCZWNhdXNlIG9mIHR
oZSBuYXR1cmUgb2YgTW9vcmUncyBsYXcsIGFueXRoaW5nIHRoYXQgYW4gZXh0cmVtZWx5IGNsZXZlciB
ncmFwaGljcyBwcm9ncmFtbWVyIGNhbiBkbyBhdCBvbmUgcG9pbnQgY2FuIGJlIHJlcGxpY2F0ZWQgYnk
gYSBtZXJlbHkgY29tcGV0ZW50IHByb2dyYW1tZXIgc29tZSBudW1iZXIgb2YgeWVhcnMgbGF0ZXIuIjs
="; |
| 10 document.body.appendChild(script); |
| 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 data: URLs are correctly trimmed in MIME type console warning
s.</p> |
| 28 <a href="https://bugs.webkit.org/show_bug.cgi?id=100083">Bug 100083</a> |
| 29 </body> |
| 30 </html> |
OLD | NEW |