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

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

Issue 2714813003: Add an identity component for unique/opaque url::Origins.
Patch Set: Switch to base::UnguessableToken, add to SecurityOrigin. No conversions yet. Created 3 years, 10 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 | « third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp ('k') | url/origin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index 5cf3d886c2f2063ea69db0be24a73080cc397bad..93ac07e7a297ca871fe20133d0bb452fc138c086 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -8471,6 +8471,7 @@ TEST_P(ParameterizedWebFrameTest, EmbedderTriggeredDetachWithRemoteMainFrame) {
FrameTestHelpers::TestWebRemoteFrameClient remoteClient;
WebView* view = WebView::create(&viewClient, WebPageVisibilityStateVisible);
view->setMainFrame(remoteClient.frame());
+ remoteClient.frame()->setReplicatedOrigin(WebSecurityOrigin::createUnique());
WebLocalFrame* childFrame =
FrameTestHelpers::createLocalChild(view->mainFrame()->toWebRemoteFrame());
@@ -9374,6 +9375,7 @@ TEST_P(ParameterizedWebFrameTest, FrameWidgetTest) {
FrameTestHelpers::TestWebRemoteFrameClient remoteClient;
view->setMainFrame(remoteClient.frame());
+ remoteClient.frame()->setReplicatedOrigin(WebSecurityOrigin::createUnique());
GestureEventTestWebWidgetClient childWidgetClient;
WebLocalFrame* childFrame = FrameTestHelpers::createLocalChild(
@@ -9622,6 +9624,7 @@ TEST_P(ParameterizedWebFrameTest, CreateLocalChildWithPreviousSibling) {
FrameTestHelpers::TestWebRemoteFrameClient remoteClient;
WebView* view = WebView::create(&viewClient, WebPageVisibilityStateVisible);
view->setMainFrame(remoteClient.frame());
+ remoteClient.frame()->setReplicatedOrigin(WebSecurityOrigin::createUnique());
WebRemoteFrame* parent = view->mainFrame()->toWebRemoteFrame();
WebLocalFrame* secondFrame(
« no previous file with comments | « third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp ('k') | url/origin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698