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

Unified Diff: content/browser/renderer_host/render_view_host_unittest.cc

Issue 9794009: Use about:blank as the failback URL if the filter denies a navigation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
Index: content/browser/renderer_host/render_view_host_unittest.cc
===================================================================
--- content/browser/renderer_host/render_view_host_unittest.cc (revision 127913)
+++ content/browser/renderer_host/render_view_host_unittest.cc (working copy)
@@ -133,8 +133,8 @@
drop_data.url = file_url;
drop_data.html_base_url = file_url;
test_rvh()->TestOnMsgStartDragging(drop_data);
- EXPECT_TRUE(view_delegate.drag_url().is_empty());
- EXPECT_TRUE(view_delegate.html_base_url().is_empty());
+ EXPECT_EQ(GURL("about:blank"), view_delegate.drag_url());
+ EXPECT_EQ(GURL("about:blank"), view_delegate.html_base_url());
GURL http_url = GURL("http://www.domain.com/index.html");
drop_data.url = http_url;
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698