Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: LayoutTests/http/tests/inspector/network/script-as-text-loading-data-url.html

Issue 16433002: Prepopulate the memoryCache with data:uri images. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update TestExpectations Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698