mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Make the |target_domain| parameter to CefAddCrossOriginWhitelistEntry and CefRemoveCrossOriginWhitelistEntry optional (issue #609).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@668 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -67,8 +67,11 @@ extern "C" {
|
||||
// the same-origin policy. Scripts hosted underneath the fully qualified
|
||||
// |source_origin| URL (like http://www.example.com) will be allowed access to
|
||||
// all resources hosted on the specified |target_protocol| and |target_domain|.
|
||||
// If |allow_target_subdomains| is true (1) access will also be allowed to all
|
||||
// subdomains of the target domain.
|
||||
// If |target_domain| is non-NULL and |allow_target_subdomains| if false (0)
|
||||
// only exact domain matches will be allowed. If |target_domain| is non-NULL and
|
||||
// |allow_target_subdomains| is true (1) sub-domain matches will be allowed. If
|
||||
// |target_domain| is NULL and |allow_target_subdomains| if true (1) all domains
|
||||
// and IP addresses will be allowed.
|
||||
//
|
||||
// This function cannot be used to bypass the restrictions on local or display
|
||||
// isolated schemes. See the comments on CefRegisterCustomScheme for more
|
||||
|
Reference in New Issue
Block a user