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

Unified Diff: content/browser/frame_host/frame_tree_browsertest.cc

Issue 2494633004: Remove about:srcdoc url conversion. (Closed)
Patch Set: Rebase Created 4 years 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
Index: content/browser/frame_host/frame_tree_browsertest.cc
diff --git a/content/browser/frame_host/frame_tree_browsertest.cc b/content/browser/frame_host/frame_tree_browsertest.cc
index 8dea25ba20e1561141b0b1ef95b87244ea13658c..7906007a8496278f179a3f597e91cf5435439893 100644
--- a/content/browser/frame_host/frame_tree_browsertest.cc
+++ b/content/browser/frame_host/frame_tree_browsertest.cc
@@ -486,7 +486,7 @@ IN_PROC_BROWSER_TEST_F(FrameTreeBrowserTest, ChildFrameWithSrcdoc) {
EXPECT_EQ(2U, root->child_count());
observer.Wait();
- EXPECT_EQ(GURL(url::kAboutBlankURL), root->child_at(1)->current_url());
+ EXPECT_EQ(GURL(kAboutSrcDocURL), root->child_at(1)->current_url());
EXPECT_TRUE(ExecuteScriptAndExtractString(
root->child_at(1), "domAutomationController.send(document.origin);",
&frame_origin));
@@ -505,7 +505,7 @@ IN_PROC_BROWSER_TEST_F(FrameTreeBrowserTest, ChildFrameWithSrcdoc) {
EXPECT_TRUE(ExecuteScript(root, script));
observer.Wait();
- EXPECT_EQ(GURL(url::kAboutBlankURL), child->current_url());
+ EXPECT_EQ(GURL(kAboutSrcDocURL), child->current_url());
EXPECT_TRUE(ExecuteScriptAndExtractString(
child, "domAutomationController.send(document.origin);",
&frame_origin));

Powered by Google App Engine
This is Rietveld 408576698