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 loadImage() | |
7 { | |
8 var i = document.createElement('img'); | |
9 i.src = "data:text/plain;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAMCAgMCAgMD
AwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBD
AQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU
FBQUFBT/wAARCABLAEsDAREAAhEBAxEB/8QAHQAAAAcBAQEAAAAAAAAAAAAAAAECBAUGBwgDCf/EADoQ
AAEDAgQDBQcBBgcAAAAAAAECAwQFEQAGEiEHEzEUFiJBUQgVMlJhkaGBCSMkQmOxU2JxcsHh8P/EABoB
AAMBAQEBAAAAAAAAAAAAAAABAgMEBQb/xAAvEQACAgEDAQUHBAMAAAAAAAAAAQIRAxIhMUEEEyJhgQVR
cZGx0fAUMqHBIzPx/9oADAMBAAIRAxEAPwCT93q9MeYbA93q9MABe71DyOAQPd6vQ4YAMBXphADsCvlO
AAuwKHkcAA7Ar5ThgDsKvlwgB2JXy4ANE7qO6CrlKKfM6Tb7430Eie7CvkP2waAC7sK+T8YNAgd2FfJ+
MGgAd2FfJ+MGgdg7sK+T8YNABd2FD+X8YNABd2F/J+MLQFg7sK+X8YNAA7sq+T8YNAWb+xlswjpBCmD1
HT8Y1aTJG0jKjC37Ib0AjyHhGBMGA5Lbbtrtv0SkXJw2wEdzkE2SkE+lt/tgVMVBnJf9P8YqgC7l/wBP
8YekDyfyWbAhq4HUAYTQBnI4+S3rgoYlWR0oJWdgOu3TCoLPBeXGkqICQf0whF3jLS80VlQsDa2AZ6xw
2td+iAL4QxciS1GHNunfwjzAwPYBbMpp4oulJdIvqvbAD2HlMIckOh0BCAm/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g1kVtpCe6dIXZI
8TsRC1HbzUoEk/UnDWSXvOdwif/Z"; | |
10 document.body.appendChild(i); | |
11 } | |
12 | |
13 function test() | |
14 { | |
15 InspectorTest.addConsoleSniffer(step1); | |
16 InspectorTest.evaluateInPage("loadImage()"); | |
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 |