| Index: third_party/WebKit/LayoutTests/intersection-observer/same-document-no-root.html
|
| diff --git a/third_party/WebKit/LayoutTests/intersection-observer/same-document-no-root.html b/third_party/WebKit/LayoutTests/intersection-observer/same-document-no-root.html
|
| index 27464d8f04d3aefe50b53eeedbfb3161f9122cb9..7ca9413b395e2c4ddac0704987aa4571e0f405ac 100644
|
| --- a/third_party/WebKit/LayoutTests/intersection-observer/same-document-no-root.html
|
| +++ b/third_party/WebKit/LayoutTests/intersection-observer/same-document-no-root.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, 108, 708, 808, 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, 108, 408, 508, 8, 108, 408, 508, 0, 785, 0, 600, target]);
|
| + checkLastEntry(entries, 1, [8, 108, 408, 508, 8, 108, 408, 508, 0, 785, 0, 600, target]);
|
| }
|
|
|
| function step2() {
|
| document.scrollingElement.scrollTop = 0;
|
| - checkLastEntry(entries, 1, [8, 108, 608, 708, 0, 0, 0, 0, 0, 785, 0, 600, target]);
|
| + checkLastEntry(entries, 2, [8, 108, 608, 708, 0, 0, 0, 0, 0, 785, 0, 600, target]);
|
| }
|
| </script>
|
|
|