Index: LayoutTests/fast/events/resize-events-fixed-layout.html |
diff --git a/LayoutTests/fast/events/resize-events-fixed-layout.html b/LayoutTests/fast/events/resize-events-fixed-layout.html |
index b9ee8264b7759ecd541772f29cbd0eb9738af3bf..0048d1b8fcb66cff8a4c433a67113badc32199f2 100644 |
--- a/LayoutTests/fast/events/resize-events-fixed-layout.html |
+++ b/LayoutTests/fast/events/resize-events-fixed-layout.html |
@@ -54,11 +54,12 @@ |
} |
function finish() { |
// setFixedLayoutSize() must emit a resize event. |
- shouldBe("resizeEventCount", "1"); |
+ // We call setFixedLayoutSize twice. Once before the load event, and then a second time after load. |
+ shouldBe("resizeEventCount", "2"); |
if (window.testRunner) |
testRunner.notifyDone(); |
} |
window.onload = test; |
</script> |
</body> |
-</html> |
+</html> |