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

Unified Diff: ppapi/tests/test_network_proxy.cc

Issue 17094022: PPAPI: Add permissions checking for PPB_NetworkProxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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: ppapi/tests/test_network_proxy.cc
diff --git a/ppapi/tests/test_network_proxy.cc b/ppapi/tests/test_network_proxy.cc
index 4eb41498f6d33d4df408169f47b32aeb8fe81e62..0657e7610b86d1226caf1e2fcf15589f6657a63e 100644
--- a/ppapi/tests/test_network_proxy.cc
+++ b/ppapi/tests/test_network_proxy.cc
@@ -59,8 +59,7 @@ std::string TestNetworkProxy::TestGetProxyForURL() {
pp::Var("this isn't a url"),
callback.GetCallback()));
CHECK_CALLBACK_BEHAVIOR(callback);
- // TODO(dmichael): Use bad address when it's available.
- ASSERT_EQ(PP_ERROR_BADARGUMENT, callback.result());
+ ASSERT_EQ(PP_ERROR_ADDRESS_INVALID, callback.result());
// TODO(dmichael): Add this check below when crbug.com/250046 is fixed.
// ASSERT_TRUE(callback.output().is_undefined());

Powered by Google App Engine
This is Rietveld 408576698