diff options
author | bbudge@google.com <bbudge@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-07 22:50:58 +0000 |
---|---|---|
committer | bbudge@google.com <bbudge@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-07 22:50:58 +0000 |
commit | 085a678cc220a779ab45ec14eb516ca4734b8ebb (patch) | |
tree | a1c65ab71b75b9aaedde229e5affeb996b1685e2 | |
parent | 41373a94f748d9e89bdb00554d8d0c9b0f9e56df (diff) | |
download | chromium_src-085a678cc220a779ab45ec14eb516ca4734b8ebb.zip chromium_src-085a678cc220a779ab45ec14eb516ca4734b8ebb.tar.gz chromium_src-085a678cc220a779ab45ec14eb516ca4734b8ebb.tar.bz2 |
Fix comments describing error messages for PPB_URLRequest interface.
The comments state that PP_ERROR_BADARGUMENT is returned. The actual
behavior is that the loader returns PP_ERROR_NOACCESS.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8479040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108931 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ppapi/api/ppb_url_request_info.idl | 4 | ||||
-rw-r--r-- | ppapi/c/ppb_url_request_info.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ppapi/api/ppb_url_request_info.idl b/ppapi/api/ppb_url_request_info.idl index 5a14c42..793101f 100644 --- a/ppapi/api/ppb_url_request_info.idl +++ b/ppapi/api/ppb_url_request_info.idl @@ -79,7 +79,7 @@ enum PP_URLRequestProperty { * with universal access (only available on trusted implementations) will * accept <code>URLRequestInfo</code> objects that try to set a custom * referrer; if given to a loader without universal access, - * <code>PP_ERROR_BADARGUMENT</code> will result. + * <code>PP_ERROR_NOACCESS</code> will result. */ PP_URLREQUESTPROPERTY_CUSTOMREFERRERURL, @@ -111,7 +111,7 @@ enum PP_URLRequestProperty { * (if any). Only loaders with universal access (only available on trusted * implementations) will accept <code>URLRequestInfo</code> objects that try * to set a custom content transfer encoding; if given to a loader without - * universal access, <code>PP_ERROR_BADARGUMENT</code> will result. + * universal access, <code>PP_ERROR_NOACCESS</code> will result. */ PP_URLREQUESTPROPERTY_CUSTOMCONTENTTRANSFERENCODING, diff --git a/ppapi/c/ppb_url_request_info.h b/ppapi/c/ppb_url_request_info.h index 529a549..0e854e0 100644 --- a/ppapi/c/ppb_url_request_info.h +++ b/ppapi/c/ppb_url_request_info.h @@ -89,7 +89,7 @@ typedef enum { * with universal access (only available on trusted implementations) will * accept <code>URLRequestInfo</code> objects that try to set a custom * referrer; if given to a loader without universal access, - * <code>PP_ERROR_BADARGUMENT</code> will result. + * <code>PP_ERROR_NOACCESS</code> will result. */ PP_URLREQUESTPROPERTY_CUSTOMREFERRERURL, /** @@ -118,7 +118,7 @@ typedef enum { * (if any). Only loaders with universal access (only available on trusted * implementations) will accept <code>URLRequestInfo</code> objects that try * to set a custom content transfer encoding; if given to a loader without - * universal access, <code>PP_ERROR_BADARGUMENT</code> will result. + * universal access, <code>PP_ERROR_NOACCESS</code> will result. */ PP_URLREQUESTPROPERTY_CUSTOMCONTENTTRANSFERENCODING, /** |