4 <title>data:uri images should load if loadsImagesAutomatically is disabled
</title>
7 testRunner
.dumpAsText();
9 internals
.settings
.setLoadsImagesAutomatically(false);
12 var image
= document
.getElementsByTagName('img')[0];
13 if (image
.naturalHeight
!= 0 || image
.naturalWidth
!= 0)
14 document
.write('PASS');
16 document
.write('FAIL: data:uri images should loaded regardless of loadsImagesAutomatically');
20 <body onload=
"runTest()">
21 This test verifies that data: uri images are loaded regardless of loadsImagesAutomatically setting value.
22 On success, the image must be loaded, and
"PASS
" message printed.
24 <img src=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAnklEQVR42u3QMQEAAAgDoGlyo1vBzwciUJlw1ApkyZIlS5YsBbJkyZIlS5YCWbJkyZIlS4EsWbJkyZKlQJYsWbJkyVIgS5YsWbJkKZAlS5YsWbIUyJIlS5YsWQpkyZIlS5YsBbJkyZIlS5YCWbJkyZIlS4EsWbJkyZKlQJYsWbJkyVIgS5YsWbJkKZAlS5YsWbIUyJIlS5YsWQpkyfq2MosBSIeKONMAAAAASUVORK5CYII=">