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

Unified Diff: third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp

Issue 1991273003: Fire visibilityChange event on out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 4 years, 6 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/FrameTestHelpers.cpp
diff --git a/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp b/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
index 438ebbfced6fda0aebe8d7233695c8fcb7aa4061..e2183afe12dbefd1f4f915157019e602cfb521c4 100644
--- a/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
+++ b/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
@@ -199,7 +199,7 @@ WebViewImpl* WebViewHelper::initializeWithOpener(WebFrame* opener, bool enableJa
webViewClient = defaultWebViewClient();
if (!webWidgetClient)
webWidgetClient = webViewClient->widgetClient();
- m_webView = WebViewImpl::create(webViewClient);
+ m_webView = WebViewImpl::create(webViewClient, WebPageVisibilityStateVisible);
m_webView->settings()->setJavaScriptEnabled(enableJavascript);
m_webView->settings()->setPluginsEnabled(true);
// Enable (mocked) network loads of image URLs, as this simplifies

Powered by Google App Engine
This is Rietveld 408576698