| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index bb621074e81eb74aae66bd11fb54563dd89f813e..6bb5402503e4e8b5692b19eb22999f1dcde2d02b 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -7733,4 +7733,12 @@ TEST_F(WebFrameTest, OrientationFrameDetach)
|
| webViewImpl->mainFrameImpl()->sendOrientationChangeEvent();
|
| }
|
|
|
| +TEST_F(WebFrameTest, MaxFramesDetach)
|
| +{
|
| + registerMockedHttpURLLoad("max-frames-detach.html");
|
| + FrameTestHelpers::WebViewHelper webViewHelper;
|
| + WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(m_baseURL + "max-frames-detach.html", true);
|
| + webViewImpl->mainFrameImpl()->collectGarbage();
|
| +}
|
| +
|
| } // namespace blink
|
|
|