Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: LayoutTests/http/tests/images/image-with-origin-header.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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/images/image-with-origin-header.html
diff --git a/LayoutTests/http/tests/images/image-with-origin-header.html b/LayoutTests/http/tests/images/image-with-origin-header.html
index 6cca7e4c5bf09f18d2ea09f6a37092eb5c4a505d..a497e261cd23af026b0826d3ac204e27d07093f8 100644
--- a/LayoutTests/http/tests/images/image-with-origin-header.html
+++ b/LayoutTests/http/tests/images/image-with-origin-header.html
@@ -16,8 +16,7 @@
var srcLastHasOrigin = false;
document.body.onload = function() {
srcFirstHasOrigin = (img.width == 100)
- // srcFirstHasOrigin should be true per spec - see http://crbug.com/341047
- shouldBeFalse('srcFirstHasOrigin');
+ shouldBeTrue('srcFirstHasOrigin');
srcLastHasOrigin = (img2.width == 100)
shouldBeTrue('srcLastHasOrigin');
finishJSTest();

Powered by Google App Engine
This is Rietveld 408576698