Index: LayoutTests/fast/loader/data-images-with-images-disabled.html |
diff --git a/LayoutTests/fast/loader/data-images-with-images-disabled.html b/LayoutTests/fast/loader/data-images-with-images-disabled.html |
index 0bf93db5741c23448ef50e30428e5818f3abd744..4a57fabc0b5e009025dbf6f4f879cc3e33aca353 100644 |
--- a/LayoutTests/fast/loader/data-images-with-images-disabled.html |
+++ b/LayoutTests/fast/loader/data-images-with-images-disabled.html |
@@ -3,11 +3,11 @@ |
<head> |
<script> |
function runTest() { |
- if (window.testRunner && !testRunner.globalFlag) { |
+ if (window.testRunner && window.location.hash != '#start') { |
// Setting ImagesAllowed is async. Reload to ensure it has been propagated to loaders. |
testRunner.dumpAsText(); |
testRunner.setImagesAllowed(false); |
- testRunner.globalFlag = 1; |
+ window.location.hash = '#start'; |
testRunner.queueReload(); |
return; |
} |
@@ -25,4 +25,4 @@ function runTest() { |
FAIL |
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAnklEQVR42u3QMQEAAAgDILV/51nBzwci0CmuRoEsWbJkyZKlQJYsWbJkyVIgS5YsWbJkKZAlS5YsWbIUyJIlS5YsWQpkyZIlS5YsBbJkyZIlS5YCWbJkyZIlS4EsWbJkyZKlQJYsWbJkyVIgS5YsWbJkKZAlS5YsWbIUyJIlS5YsWQpkyZIlS5YsBbJkyZIlS5YCWbJkyZIlS4EsWd8Wil4Bx2r6t7cAAAAASUVORK5CYII="> |
</body> |
-</html> |
+</html> |