Index: third_party/WebKit/LayoutTests/intersection-observer/same-document-zero-size-target.html |
diff --git a/third_party/WebKit/LayoutTests/intersection-observer/same-document-zero-size-target.html b/third_party/WebKit/LayoutTests/intersection-observer/same-document-zero-size-target.html |
index 47692a4cd63e31696e58c15e3086b4da8e668c68..b416553700d10c1fc6e299bfab34c5fcb5842c1e 100644 |
--- a/third_party/WebKit/LayoutTests/intersection-observer/same-document-zero-size-target.html |
+++ b/third_party/WebKit/LayoutTests/intersection-observer/same-document-zero-size-target.html |
@@ -45,17 +45,17 @@ runTestCycle(function() { |
function step0() { |
document.scrollingElement.scrollTop = 300; |
runTestCycle(step1, "document.scrollingElement.scrollTop = 300"); |
- assert_equals(entries.length, 0, "No notifications after first rAF."); |
+ checkLastEntry(entries, 0, [8, 8, 708, 708, 0, 0, 0, 0, 0, 785, 0, 600, target]); |
} |
function step1() { |
document.scrollingElement.scrollTop = 100; |
runTestCycle(step2, "document.scrollingElement.scrollTop = 100"); |
- checkLastEntry(entries, 0, [8, 8, 408, 408, 8, 8, 408, 408, 0, 785, 0, 600, target]); |
+ checkLastEntry(entries, 1, [8, 8, 408, 408, 8, 8, 408, 408, 0, 785, 0, 600, target]); |
} |
function step2() { |
document.scrollingElement.scrollTop = 0; |
- checkLastEntry(entries, 1, [8, 8, 608, 608, 0, 0, 0, 0, 0, 785, 0, 600, target]); |
+ checkLastEntry(entries, 2, [8, 8, 608, 608, 0, 0, 0, 0, 0, 785, 0, 600, target]); |
} |
</script> |