Index: third_party/WebKit/LayoutTests/http/tests/security/local-image-from-remote-whitelisted.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/local-image-from-remote-whitelisted.html b/third_party/WebKit/LayoutTests/http/tests/security/local-image-from-remote-whitelisted.html |
index 42124642a6c456f501e61e54222cffe6945dda74..3a305a81eb7327d1e16933df2da4e26c300b14c5 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/local-image-from-remote-whitelisted.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/local-image-from-remote-whitelisted.html |
@@ -10,6 +10,7 @@ testRunner.addOriginAccessWhitelistEntry('http://127.0.0.1:8000', 'file', '', tr |
var localImageLocation = testRunner.pathToLocalResource('file:///tmp/LayoutTests/http/tests/security/resources/compass.jpg'); |
var localImageElement = document.createElement('img'); |
+localImageElement.style.display = "block"; |
localImageElement.src = localImageLocation; |
document.body.appendChild(localImageElement); |