Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / data-images-with-images-disabled.html
blob4a57fabc0b5e009025dbf6f4f879cc3e33aca353
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 function runTest() {
6 if (window.testRunner && window.location.hash != '#start') {
7 // Setting ImagesAllowed is async. Reload to ensure it has been propagated to loaders.
8 testRunner.dumpAsText();
9 testRunner.setImagesAllowed(false);
10 window.location.hash = '#start';
11 testRunner.queueReload();
12 return;
15 var image = document.getElementsByTagName('img')[0];
16 if (image.naturalHeight != 0 || image.naturalWidth != 0)
17 document.write('FAIL: images should not be loaded when images are disabled');
18 else
19 document.write('PASS');
21 </script>
22 </head>
23 <body onload="runTest()">
24 Test for crbug.com/249013: data uri images should not load when images are disabled.<br/>
25 FAIL
26 <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAnklEQVR42u3QMQEAAAgDILV/51nBzwci0CmuRoEsWbJkyZKlQJYsWbJkyVIgS5YsWbJkKZAlS5YsWbIUyJIlS5YsWQpkyZIlS5YsBbJkyZIlS5YCWbJkyZIlS4EsWbJkyZKlQJYsWbJkyVIgS5YsWbJkKZAlS5YsWbIUyJIlS5YsWQpkyZIlS5YsBbJkyZIlS5YCWbJkyZIlS4EsWd8Wil4Bx2r6t7cAAAAASUVORK5CYII=">
27 </body>
28 </html>