| Index: Source/web/tests/WebFrameTest.cpp
|
| ===================================================================
|
| --- Source/web/tests/WebFrameTest.cpp (revision 198700)
|
| +++ Source/web/tests/WebFrameTest.cpp (working copy)
|
| @@ -7420,4 +7420,12 @@
|
| 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
|
|
|