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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentTest.cpp

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/frame/Frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/DocumentTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentTest.cpp b/third_party/WebKit/Source/core/dom/DocumentTest.cpp
index 22ccdcc6d1d845a84e51d06c156c501f298ee206..b3129b9f76f1d9b6beb21bd3324e354d76fa4350 100644
--- a/third_party/WebKit/Source/core/dom/DocumentTest.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentTest.cpp
@@ -284,31 +284,6 @@ TEST_F(DocumentTest, referrerPolicyParsing)
}
}
-// This tests that we mark Frame Timing requests as dirty correctly when we
-// update style.
-TEST_F(DocumentTest, FrameTimingRelayout)
-{
- setHtmlInnerHTML(
- "<style>"
- " #div1 {"
- " width: 100px;"
- " height: 100px;"
- " }"
- "</style>"
- "<p><div id='div1'><span>test</span></div></p>");
-
- EXPECT_FALSE(document().view()->frameTimingRequestsDirty());
-
- // Just calling update should have no effect.
- document().updateLayoutTree();
- EXPECT_FALSE(document().view()->frameTimingRequestsDirty());
-
- // Calling update with a style change should flag Frame Timing as dirty.
- document().setChildNeedsStyleRecalc();
- document().updateLayoutTree();
- EXPECT_TRUE(document().view()->frameTimingRequestsDirty());
-}
-
TEST_F(DocumentTest, OutgoingReferrer)
{
document().setURL(KURL(KURL(), "https://www.example.com/hoge#fuga?piyo"));
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/frame/Frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698