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

Unified Diff: chrome/browser/tab_contents/navigation_controller_unittest.cc

Issue 6369003: New extension API: "tab.socketAddress" (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 11 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: chrome/browser/tab_contents/navigation_controller_unittest.cc
===================================================================
--- chrome/browser/tab_contents/navigation_controller_unittest.cc (revision 71766)
+++ chrome/browser/tab_contents/navigation_controller_unittest.cc (working copy)
@@ -191,6 +191,8 @@
EXPECT_EQ(controller().last_committed_entry_index(), 0);
EXPECT_EQ(controller().pending_entry_index(), -1);
EXPECT_TRUE(controller().GetLastCommittedEntry());
+ EXPECT_EQ("[2001:db8::1]:80",
+ controller().GetLastCommittedEntry()->socket_address());
EXPECT_FALSE(controller().pending_entry());
EXPECT_FALSE(controller().CanGoBack());
EXPECT_FALSE(controller().CanGoForward());

Powered by Google App Engine
This is Rietveld 408576698