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

Unified Diff: Source/web/tests/WebFrameTest.cpp

Issue 1233453006: Merge 197139 "Fix the logic that limits the number of frames in ..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2403/
Patch Set: Created 5 years, 5 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
« no previous file with comments | « Source/core/html/HTMLFrameOwnerElement.cpp ('k') | Source/web/tests/data/max-frames-detach.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/html/HTMLFrameOwnerElement.cpp ('k') | Source/web/tests/data/max-frames-detach.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698