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

Side by Side Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2527093003: Improve Fullscreen unit tests (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "core/fetch/MemoryCache.h" 54 #include "core/fetch/MemoryCache.h"
55 #include "core/fetch/ResourceFetcher.h" 55 #include "core/fetch/ResourceFetcher.h"
56 #include "core/frame/FrameHost.h" 56 #include "core/frame/FrameHost.h"
57 #include "core/frame/FrameView.h" 57 #include "core/frame/FrameView.h"
58 #include "core/frame/LocalFrame.h" 58 #include "core/frame/LocalFrame.h"
59 #include "core/frame/RemoteFrame.h" 59 #include "core/frame/RemoteFrame.h"
60 #include "core/frame/Settings.h" 60 #include "core/frame/Settings.h"
61 #include "core/frame/VisualViewport.h" 61 #include "core/frame/VisualViewport.h"
62 #include "core/html/HTMLBodyElement.h" 62 #include "core/html/HTMLBodyElement.h"
63 #include "core/html/HTMLFormElement.h" 63 #include "core/html/HTMLFormElement.h"
64 #include "core/html/HTMLMediaElement.h" 64 #include "core/html/HTMLVideoElement.h"
65 #include "core/html/ImageDocument.h" 65 #include "core/html/ImageDocument.h"
66 #include "core/input/EventHandler.h" 66 #include "core/input/EventHandler.h"
67 #include "core/layout/HitTestResult.h" 67 #include "core/layout/HitTestResult.h"
68 #include "core/layout/LayoutFullScreen.h" 68 #include "core/layout/LayoutFullScreen.h"
69 #include "core/layout/api/LayoutViewItem.h" 69 #include "core/layout/api/LayoutViewItem.h"
70 #include "core/layout/compositing/PaintLayerCompositor.h" 70 #include "core/layout/compositing/PaintLayerCompositor.h"
71 #include "core/loader/DocumentLoader.h" 71 #include "core/loader/DocumentLoader.h"
72 #include "core/loader/DocumentThreadableLoader.h" 72 #include "core/loader/DocumentThreadableLoader.h"
73 #include "core/loader/DocumentThreadableLoaderClient.h" 73 #include "core/loader/DocumentThreadableLoaderClient.h"
74 #include "core/loader/FrameLoadRequest.h" 74 #include "core/loader/FrameLoadRequest.h"
(...skipping 13 matching lines...) Expand all
88 #include "platform/geometry/FloatRect.h" 88 #include "platform/geometry/FloatRect.h"
89 #include "platform/network/ResourceError.h" 89 #include "platform/network/ResourceError.h"
90 #include "platform/scroll/Scrollbar.h" 90 #include "platform/scroll/Scrollbar.h"
91 #include "platform/scroll/ScrollbarTestSuite.h" 91 #include "platform/scroll/ScrollbarTestSuite.h"
92 #include "platform/scroll/ScrollbarTheme.h" 92 #include "platform/scroll/ScrollbarTheme.h"
93 #include "platform/scroll/ScrollbarThemeMock.h" 93 #include "platform/scroll/ScrollbarThemeMock.h"
94 #include "platform/scroll/ScrollbarThemeOverlayMock.h" 94 #include "platform/scroll/ScrollbarThemeOverlayMock.h"
95 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" 95 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h"
96 #include "platform/testing/URLTestHelpers.h" 96 #include "platform/testing/URLTestHelpers.h"
97 #include "platform/testing/UnitTestHelpers.h" 97 #include "platform/testing/UnitTestHelpers.h"
98 #include "platform/testing/WebLayerTreeViewImplForTesting.h"
98 #include "platform/weborigin/KURLHash.h" 99 #include "platform/weborigin/KURLHash.h"
99 #include "platform/weborigin/SchemeRegistry.h" 100 #include "platform/weborigin/SchemeRegistry.h"
100 #include "platform/weborigin/SecurityOrigin.h" 101 #include "platform/weborigin/SecurityOrigin.h"
101 #include "public/platform/Platform.h" 102 #include "public/platform/Platform.h"
102 #include "public/platform/WebCachePolicy.h" 103 #include "public/platform/WebCachePolicy.h"
103 #include "public/platform/WebClipboard.h" 104 #include "public/platform/WebClipboard.h"
104 #include "public/platform/WebFloatRect.h" 105 #include "public/platform/WebFloatRect.h"
105 #include "public/platform/WebMockClipboard.h" 106 #include "public/platform/WebMockClipboard.h"
106 #include "public/platform/WebSecurityOrigin.h" 107 #include "public/platform/WebSecurityOrigin.h"
107 #include "public/platform/WebThread.h" 108 #include "public/platform/WebThread.h"
(...skipping 7485 matching lines...) Expand 10 before | Expand all | Expand 10 after
7593 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad( 7594 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(
7594 m_baseURL + "fullscreen_div.html", true, nullptr, &client, nullptr, 7595 m_baseURL + "fullscreen_div.html", true, nullptr, &client, nullptr,
7595 configureAndroid); 7596 configureAndroid);
7596 webViewHelper.resize(WebSize(viewportWidth, viewportHeight)); 7597 webViewHelper.resize(WebSize(viewportWidth, viewportHeight));
7597 webViewImpl->updateAllLifecyclePhases(); 7598 webViewImpl->updateAllLifecyclePhases();
7598 7599
7599 Document* document = webViewImpl->mainFrameImpl()->frame()->document(); 7600 Document* document = webViewImpl->mainFrameImpl()->frame()->document();
7600 UserGestureIndicator gesture(DocumentUserGestureToken::create(document)); 7601 UserGestureIndicator gesture(DocumentUserGestureToken::create(document));
7601 Element* divFullscreen = document->getElementById("div1"); 7602 Element* divFullscreen = document->getElementById("div1");
7602 Fullscreen::requestFullscreen(*divFullscreen, Fullscreen::PrefixedRequest); 7603 Fullscreen::requestFullscreen(*divFullscreen, Fullscreen::PrefixedRequest);
7604 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document), nullptr);
7605 EXPECT_EQ(Fullscreen::fullscreenElementFrom(*document), divFullscreen);
7603 webViewImpl->didEnterFullscreen(); 7606 webViewImpl->didEnterFullscreen();
7607 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document), divFullscreen);
7608 EXPECT_EQ(Fullscreen::fullscreenElementFrom(*document), divFullscreen);
7604 webViewImpl->updateAllLifecyclePhases(); 7609 webViewImpl->updateAllLifecyclePhases();
7605 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document), divFullscreen); 7610 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document), divFullscreen);
7611 EXPECT_EQ(Fullscreen::fullscreenElementFrom(*document), divFullscreen);
7606 7612
7607 // Verify that the element is sized to the viewport. 7613 // Verify that the element is sized to the viewport.
7608 LayoutFullScreen* fullscreenLayoutObject = 7614 LayoutFullScreen* fullscreenLayoutObject =
7609 Fullscreen::from(*document).fullScreenLayoutObject(); 7615 Fullscreen::from(*document).fullScreenLayoutObject();
7610 EXPECT_EQ(viewportWidth, fullscreenLayoutObject->logicalWidth().toInt()); 7616 EXPECT_EQ(viewportWidth, fullscreenLayoutObject->logicalWidth().toInt());
7611 EXPECT_EQ(viewportHeight, fullscreenLayoutObject->logicalHeight().toInt()); 7617 EXPECT_EQ(viewportHeight, fullscreenLayoutObject->logicalHeight().toInt());
7612 7618
7613 // Verify it's updated after a device rotation. 7619 // Verify it's updated after a device rotation.
7614 client.m_screenInfo.rect.width = viewportHeight; 7620 client.m_screenInfo.rect.width = viewportHeight;
7615 client.m_screenInfo.rect.height = viewportWidth; 7621 client.m_screenInfo.rect.height = viewportWidth;
(...skipping 12 matching lines...) Expand all
7628 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad( 7634 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(
7629 m_baseURL + "fullscreen_div.html", true, nullptr, &client, nullptr, 7635 m_baseURL + "fullscreen_div.html", true, nullptr, &client, nullptr,
7630 configureAndroid); 7636 configureAndroid);
7631 webViewHelper.resize(WebSize(viewportWidth, viewportHeight)); 7637 webViewHelper.resize(WebSize(viewportWidth, viewportHeight));
7632 webViewImpl->updateAllLifecyclePhases(); 7638 webViewImpl->updateAllLifecyclePhases();
7633 7639
7634 Document* document = webViewImpl->mainFrameImpl()->frame()->document(); 7640 Document* document = webViewImpl->mainFrameImpl()->frame()->document();
7635 UserGestureIndicator gesture(DocumentUserGestureToken::create(document)); 7641 UserGestureIndicator gesture(DocumentUserGestureToken::create(document));
7636 Element* divFullscreen = document->getElementById("div1"); 7642 Element* divFullscreen = document->getElementById("div1");
7637 Fullscreen::requestFullscreen(*divFullscreen, Fullscreen::PrefixedRequest); 7643 Fullscreen::requestFullscreen(*divFullscreen, Fullscreen::PrefixedRequest);
7644 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document), nullptr);
7645 EXPECT_EQ(Fullscreen::fullscreenElementFrom(*document), divFullscreen);
7638 webViewImpl->didEnterFullscreen(); 7646 webViewImpl->didEnterFullscreen();
7647 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document), divFullscreen);
7648 EXPECT_EQ(Fullscreen::fullscreenElementFrom(*document), divFullscreen);
7639 webViewImpl->updateAllLifecyclePhases(); 7649 webViewImpl->updateAllLifecyclePhases();
7650 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document), divFullscreen);
7651 EXPECT_EQ(Fullscreen::fullscreenElementFrom(*document), divFullscreen);
7640 7652
7641 // Verify that the viewports are nonscrollable. 7653 // Verify that the viewports are nonscrollable.
7642 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document), divFullscreen);
7643 FrameView* frameView = webViewHelper.webView()->mainFrameImpl()->frameView(); 7654 FrameView* frameView = webViewHelper.webView()->mainFrameImpl()->frameView();
7644 WebLayer* layoutViewportScrollLayer = 7655 WebLayer* layoutViewportScrollLayer =
7645 webViewImpl->compositor()->scrollLayer()->platformLayer(); 7656 webViewImpl->compositor()->scrollLayer()->platformLayer();
7646 WebLayer* visualViewportScrollLayer = frameView->page() 7657 WebLayer* visualViewportScrollLayer = frameView->page()
7647 ->frameHost() 7658 ->frameHost()
7648 .visualViewport() 7659 .visualViewport()
7649 .scrollLayer() 7660 .scrollLayer()
7650 ->platformLayer(); 7661 ->platformLayer();
7651 ASSERT_FALSE(layoutViewportScrollLayer->userScrollableHorizontal()); 7662 ASSERT_FALSE(layoutViewportScrollLayer->userScrollableHorizontal());
7652 ASSERT_FALSE(layoutViewportScrollLayer->userScrollableVertical()); 7663 ASSERT_FALSE(layoutViewportScrollLayer->userScrollableVertical());
7653 ASSERT_FALSE(visualViewportScrollLayer->userScrollableHorizontal()); 7664 ASSERT_FALSE(visualViewportScrollLayer->userScrollableHorizontal());
7654 ASSERT_FALSE(visualViewportScrollLayer->userScrollableVertical()); 7665 ASSERT_FALSE(visualViewportScrollLayer->userScrollableVertical());
7655 7666
7656 // Verify that the viewports are scrollable upon exiting fullscreen. 7667 // Verify that the viewports are scrollable upon exiting fullscreen.
7668 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document), divFullscreen);
7669 EXPECT_EQ(Fullscreen::fullscreenElementFrom(*document), divFullscreen);
7657 webViewImpl->didExitFullscreen(); 7670 webViewImpl->didExitFullscreen();
7671 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document), nullptr);
7672 EXPECT_EQ(Fullscreen::fullscreenElementFrom(*document), nullptr);
7658 webViewImpl->updateAllLifecyclePhases(); 7673 webViewImpl->updateAllLifecyclePhases();
7659 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document), nullptr); 7674 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document), nullptr);
7675 EXPECT_EQ(Fullscreen::fullscreenElementFrom(*document), nullptr);
7660 ASSERT_TRUE(layoutViewportScrollLayer->userScrollableHorizontal()); 7676 ASSERT_TRUE(layoutViewportScrollLayer->userScrollableHorizontal());
7661 ASSERT_TRUE(layoutViewportScrollLayer->userScrollableVertical()); 7677 ASSERT_TRUE(layoutViewportScrollLayer->userScrollableVertical());
7662 ASSERT_TRUE(visualViewportScrollLayer->userScrollableHorizontal()); 7678 ASSERT_TRUE(visualViewportScrollLayer->userScrollableHorizontal());
7663 ASSERT_TRUE(visualViewportScrollLayer->userScrollableVertical()); 7679 ASSERT_TRUE(visualViewportScrollLayer->userScrollableVertical());
7664 } 7680 }
7665 7681
7666 TEST_P(ParameterizedWebFrameTest, FullscreenMainFrame) { 7682 TEST_P(ParameterizedWebFrameTest, FullscreenMainFrame) {
7667 FakeCompositingWebViewClient client; 7683 FakeCompositingWebViewClient client;
7668 registerMockedHttpURLLoad("fullscreen_div.html"); 7684 registerMockedHttpURLLoad("fullscreen_div.html");
7669 FrameTestHelpers::WebViewHelper webViewHelper; 7685 FrameTestHelpers::WebViewHelper webViewHelper;
7670 int viewportWidth = 640; 7686 int viewportWidth = 640;
7671 int viewportHeight = 480; 7687 int viewportHeight = 480;
7672 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad( 7688 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(
7673 m_baseURL + "fullscreen_div.html", true, nullptr, &client, nullptr, 7689 m_baseURL + "fullscreen_div.html", true, nullptr, &client, nullptr,
7674 configureAndroid); 7690 configureAndroid);
7675 webViewHelper.resize(WebSize(viewportWidth, viewportHeight)); 7691 webViewHelper.resize(WebSize(viewportWidth, viewportHeight));
7676 webViewImpl->updateAllLifecyclePhases(); 7692 webViewImpl->updateAllLifecyclePhases();
7677 7693
7678 Document* document = webViewImpl->mainFrameImpl()->frame()->document(); 7694 Document* document = webViewImpl->mainFrameImpl()->frame()->document();
7679 UserGestureIndicator gesture(DocumentUserGestureToken::create(document)); 7695 UserGestureIndicator gesture(DocumentUserGestureToken::create(document));
7680 Fullscreen::requestFullscreen(*document->documentElement(), 7696 Fullscreen::requestFullscreen(*document->documentElement(),
7681 Fullscreen::PrefixedRequest); 7697 Fullscreen::PrefixedRequest);
7698 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document), nullptr);
7699 EXPECT_EQ(Fullscreen::fullscreenElementFrom(*document),
7700 document->documentElement());
7682 webViewImpl->didEnterFullscreen(); 7701 webViewImpl->didEnterFullscreen();
7702 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document),
7703 document->documentElement());
7704 EXPECT_EQ(Fullscreen::fullscreenElementFrom(*document),
7705 document->documentElement());
7683 webViewImpl->updateAllLifecyclePhases(); 7706 webViewImpl->updateAllLifecyclePhases();
7707 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document),
7708 document->documentElement());
7709 EXPECT_EQ(Fullscreen::fullscreenElementFrom(*document),
7710 document->documentElement());
7684 7711
7685 // Verify that the main frame is still scrollable. 7712 // Verify that the main frame is still scrollable.
7686 EXPECT_EQ(Fullscreen::currentFullScreenElementFrom(*document),
7687 document->documentElement());
7688 WebLayer* webScrollLayer = 7713 WebLayer* webScrollLayer =
7689 webViewImpl->compositor()->scrollLayer()->platformLayer(); 7714 webViewImpl->compositor()->scrollLayer()->platformLayer();
7690 ASSERT_TRUE(webScrollLayer->scrollable()); 7715 ASSERT_TRUE(webScrollLayer->scrollable());
7691 ASSERT_TRUE(webScrollLayer->userScrollableHorizontal()); 7716 ASSERT_TRUE(webScrollLayer->userScrollableHorizontal());
7692 ASSERT_TRUE(webScrollLayer->userScrollableVertical()); 7717 ASSERT_TRUE(webScrollLayer->userScrollableVertical());
7693 7718
7694 // Verify the main frame still behaves correctly after a resize. 7719 // Verify the main frame still behaves correctly after a resize.
7695 webViewHelper.resize(WebSize(viewportHeight, viewportWidth)); 7720 webViewHelper.resize(WebSize(viewportHeight, viewportWidth));
7696 ASSERT_TRUE(webScrollLayer->scrollable()); 7721 ASSERT_TRUE(webScrollLayer->scrollable());
7697 ASSERT_TRUE(webScrollLayer->userScrollableHorizontal()); 7722 ASSERT_TRUE(webScrollLayer->userScrollableHorizontal());
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
7947 7972
7948 // Make sure the new page's layout size and scale factor limits aren't 7973 // Make sure the new page's layout size and scale factor limits aren't
7949 // overridden. 7974 // overridden.
7950 layoutViewItem = webViewImpl->mainFrameImpl()->frameView()->layoutViewItem(); 7975 layoutViewItem = webViewImpl->mainFrameImpl()->frameView()->layoutViewItem();
7951 EXPECT_EQ(200, layoutViewItem.logicalWidth().floor()); 7976 EXPECT_EQ(200, layoutViewItem.logicalWidth().floor());
7952 EXPECT_EQ(400, layoutViewItem.logicalHeight().floor()); 7977 EXPECT_EQ(400, layoutViewItem.logicalHeight().floor());
7953 EXPECT_FLOAT_EQ(0.5, webViewImpl->minimumPageScaleFactor()); 7978 EXPECT_FLOAT_EQ(0.5, webViewImpl->minimumPageScaleFactor());
7954 EXPECT_FLOAT_EQ(5.0, webViewImpl->maximumPageScaleFactor()); 7979 EXPECT_FLOAT_EQ(5.0, webViewImpl->maximumPageScaleFactor());
7955 } 7980 }
7956 7981
7982 TEST_P(ParameterizedWebFrameTest, OverlayFullscreenVideo) {
7983 RuntimeEnabledFeatures::setForceOverlayFullscreenVideoEnabled(true);
7984 registerMockedHttpURLLoad("fullscreen_video.html");
7985 FrameTestHelpers::TestWebViewClient webViewClient;
7986 FrameTestHelpers::WebViewHelper webViewHelper;
7987 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(
7988 m_baseURL + "fullscreen_video.html", true, nullptr, &webViewClient);
7989
7990 WebLayerTreeViewImplForTesting* layerTreeView =
7991 static_cast<WebLayerTreeViewImplForTesting*>(
foolip 2016/11/24 17:08:53 I can only assume this isn't cool? Is it acceptabl
eae 2016/11/24 21:45:31 It is a little gross but not without precedence. E
foolip 2016/11/28 14:23:37 A new week and it wasn't nearly as messy as I thou
7992 webViewClient.layerTreeView());
7993
7994 Document* document = webViewImpl->mainFrameImpl()->frame()->document();
7995 UserGestureIndicator gesture(DocumentUserGestureToken::create(document));
7996 HTMLVideoElement* video =
7997 toHTMLVideoElement(document->getElementById("video"));
7998 EXPECT_TRUE(video->usesOverlayFullscreenVideo());
7999 EXPECT_FALSE(video->isFullscreen());
8000 EXPECT_FALSE(layerTreeView->hasTransparentBackground());
8001
8002 video->enterFullscreen();
8003 webViewImpl->didEnterFullscreen();
8004 webViewImpl->updateAllLifecyclePhases();
8005 EXPECT_TRUE(video->isFullscreen());
8006 EXPECT_TRUE(layerTreeView->hasTransparentBackground());
8007
8008 webViewImpl->didExitFullscreen();
8009 webViewImpl->updateAllLifecyclePhases();
8010 EXPECT_FALSE(video->isFullscreen());
8011 EXPECT_FALSE(layerTreeView->hasTransparentBackground());
8012 }
8013
7957 TEST_P(ParameterizedWebFrameTest, LayoutBlockPercentHeightDescendants) { 8014 TEST_P(ParameterizedWebFrameTest, LayoutBlockPercentHeightDescendants) {
7958 registerMockedHttpURLLoad("percent-height-descendants.html"); 8015 registerMockedHttpURLLoad("percent-height-descendants.html");
7959 FrameTestHelpers::WebViewHelper webViewHelper; 8016 FrameTestHelpers::WebViewHelper webViewHelper;
7960 webViewHelper.initializeAndLoad(m_baseURL + 8017 webViewHelper.initializeAndLoad(m_baseURL +
7961 "percent-height-descendants.html"); 8018 "percent-height-descendants.html");
7962 8019
7963 WebViewImpl* webView = webViewHelper.webView(); 8020 WebViewImpl* webView = webViewHelper.webView();
7964 webViewHelper.resize(WebSize(800, 800)); 8021 webViewHelper.resize(WebSize(800, 800));
7965 webView->updateAllLifecyclePhases(); 8022 webView->updateAllLifecyclePhases();
7966 8023
(...skipping 2899 matching lines...) Expand 10 before | Expand all | Expand 10 after
10866 10923
10867 EXPECT_TRUE(mainFrameClient.childClient().didCallFrameDetached()); 10924 EXPECT_TRUE(mainFrameClient.childClient().didCallFrameDetached());
10868 EXPECT_TRUE(mainFrameClient.childClient().didCallDidStopLoading()); 10925 EXPECT_TRUE(mainFrameClient.childClient().didCallDidStopLoading());
10869 EXPECT_TRUE(mainFrameClient.childClient().didCallDidFinishDocumentLoad()); 10926 EXPECT_TRUE(mainFrameClient.childClient().didCallDidFinishDocumentLoad());
10870 EXPECT_TRUE(mainFrameClient.childClient().didCallDidHandleOnloadEvents()); 10927 EXPECT_TRUE(mainFrameClient.childClient().didCallDidHandleOnloadEvents());
10871 10928
10872 webViewHelper.reset(); 10929 webViewHelper.reset();
10873 } 10930 }
10874 10931
10875 } // namespace blink 10932 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698