What steps will reproduce the problem?
1. CefAddCrossOriginWhitelistEntry("customstd://test1", "http", "", true)
2.
3.
What is the expected output? What do you see instead?
Calling CefAddCrossOriginWhitelistEntry("customstd://test1", "http", "", true)
can make customstd://test1 access all http origin, but the function returned
because param target_domain is null.
What version of the product are you using? On what operating system?
cef r603.
Please provide any additional information below.
Function OriginAccessEntry::matchesOrigin(const SecurityOrigin& origin) will
return true when "if (m_subdomainSettings == AllowSubdomains &&
m_host.isEmpty())", so pass empty param target_domain in
CefAddCrossOriginWhitelistEntry() will work.
CefRemoveCrossOriginWhitelistEntry() should make param target_domain optional,
too.
Original issue reported on code.google.com by Zhaojun....@gmail.com on 28 May 2012 at 1:32
Original issue reported on code.google.com by
Zhaojun....@gmail.com
on 28 May 2012 at 1:32