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

Unified Diff: third_party/WebKit/Source/web/tests/sim/SimTest.h

Issue 2885313003: [scheduler] Fix --disable-background-timer-throttling flag. (Closed)
Patch Set: fix test crash Created 3 years, 7 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
Index: third_party/WebKit/Source/web/tests/sim/SimTest.h
diff --git a/third_party/WebKit/Source/web/tests/sim/SimTest.h b/third_party/WebKit/Source/web/tests/sim/SimTest.h
index b913ef4d360b1220e0d4adcd85cd9da2dae648d7..6c46d47e71076622b3efd17b0a463da3e810e8f5 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimTest.h
+++ b/third_party/WebKit/Source/web/tests/sim/SimTest.h
@@ -25,8 +25,13 @@ class SimTest : public ::testing::Test {
SimTest();
~SimTest() override;
+ void SetUp() override;
+
void LoadURL(const String& url);
+ // WebView is created after SetUp to allow test to customize
+ // web runtime features.
+ // These methods should be accessed inside test body after a call to SetUp.
LocalDOMWindow& Window();
SimPage& Page();
Document& GetDocument();
« no previous file with comments | « third_party/WebKit/Source/web/tests/scheduler/ThrottlingTest.cpp ('k') | third_party/WebKit/Source/web/tests/sim/SimTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698