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

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

Issue 1135633004: Revert of Make createWindow (mostly) work with OOPIF (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/web/PopupContainer.cpp ('k') | Source/web/tests/data/frame-a-b-c.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/WebFrameTest.cpp
diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
index f379a7e1be54a621552bae5b1a829cceae8c26e2..b2fa97b1a25a355e4b98c77bbef72bae9aed76a0 100644
--- a/Source/web/tests/WebFrameTest.cpp
+++ b/Source/web/tests/WebFrameTest.cpp
@@ -7124,24 +7124,6 @@
reset();
}
-TEST_F(WebFrameSwapTest, WindowOpenOnRemoteFrame)
-{
- RemoteNavigationClient remoteClient;
- WebRemoteFrame* remoteFrame = remoteClient.frame();
- mainFrame()->firstChild()->swap(remoteFrame);
- remoteFrame->setReplicatedOrigin(WebSecurityOrigin::createFromString("http://127.0.0.1"));
-
- KURL destination = toKURL("data:text/html:destination");
- ASSERT_TRUE(mainFrame()->isWebLocalFrame());
- ASSERT_TRUE(mainFrame()->firstChild()->isWebRemoteFrame());
- LocalDOMWindow* mainWindow = toWebLocalFrameImpl(mainFrame())->frame()->localDOMWindow();
- mainWindow->open(destination.string(), "frame1", "", mainWindow, mainWindow);
- ASSERT_FALSE(remoteClient.lastRequest().isNull());
- EXPECT_EQ(remoteClient.lastRequest().url(), WebURL(destination));
-
- reset();
-}
-
class CommitTypeWebFrameClient : public FrameTestHelpers::TestWebFrameClient {
public:
explicit CommitTypeWebFrameClient()
« no previous file with comments | « Source/web/PopupContainer.cpp ('k') | Source/web/tests/data/frame-a-b-c.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698