Add warning to LoadRequest about INVALID_INITIATOR_ORIGIN (213) failure condition (see issue #2586)

This commit is contained in:
Marshall Greenblatt
2019-10-15 15:06:09 +02:00
parent b560f04046
commit d28efe8797
3 changed files with 19 additions and 1 deletions

View File

@@ -131,6 +131,10 @@ class CefFrame : public virtual CefBaseRefCounted {
///
// Load the request represented by the |request| object.
//
// WARNING: This method will fail with "bad IPC message" reason
// INVALID_INITIATOR_ORIGIN (213) unless you first navigate to the
// request origin using some other mechanism (LoadURL, link click, etc).
///
/*--cef()--*/
virtual void LoadRequest(CefRefPtr<CefRequest> request) = 0;