Chromium Code Reviews

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image.html

Issue 200923002: Post a microtask to load <img> elements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix last test failure Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image.html
index f5ad8600ca99a26bbdb7722c99f261138a2ee624..cf6090d3246c100eecf15acba42b2ff039267b29 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image.html
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image.html
@@ -14,9 +14,9 @@
'violatedDirective': 'img-src \'none\'',
'effectiveDirective': 'img-src',
'originalPolicy': 'img-src \'none\'',
- 'sourceFile': document.location.toString(),
- 'lineNumber': 24,
- 'columnNumber': 21,
+ 'sourceFile': '',
+ 'lineNumber': 0,
+ 'columnNumber': 0,
'statusCode': 200,
};

Powered by Google App Engine