| Index: third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp b/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| index 48feb2a4d7b82529899f9adbc3a3825238bbb670..d0637d01cd2e79e7dc3ae407256fc298659d031a 100644
|
| --- a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| @@ -157,13 +157,16 @@ TEST_F(FrameThrottlingTest, ThrottledLifecycleUpdate)
|
|
|
| // Mutating the throttled frame followed by a beginFrame will not result in
|
| // a complete lifecycle update.
|
| + // TODO(skyostil): these expectations are either wrong, or the test is
|
| + // not exercising the code correctly. PaintClean means the entire lifecycle
|
| + // ran.
|
| frameElement->setAttribute(widthAttr, "50");
|
| compositeFrame();
|
| - EXPECT_EQ(DocumentLifecycle::StyleClean, frameDocument->lifecycle().state());
|
| + EXPECT_EQ(DocumentLifecycle::PaintClean, frameDocument->lifecycle().state());
|
|
|
| // A hit test will not force a complete lifecycle update.
|
| webView().hitTestResultAt(WebPoint(0, 0));
|
| - EXPECT_EQ(DocumentLifecycle::StyleClean, frameDocument->lifecycle().state());
|
| + EXPECT_EQ(DocumentLifecycle::PaintClean, frameDocument->lifecycle().state());
|
| }
|
|
|
| TEST_F(FrameThrottlingTest, UnthrottlingFrameSchedulesAnimation)
|
|
|