- Code: Select all
CefAddCrossOriginWhitelistEntry("https://my.application.com", "https", "my.cdn.com", true);
So here are my questions: what is the scope of this CefAddCrossOriginWhitelistEntry call? Global? I presume the answer here is Yes. Will this call impact all browsers currently instantiated as well as those that may be created later while the application is running? Again my assumption is Yes given that CefAddCrossOriginWhitelistEntry has no browser parameter or context.
To clarify, my CEF application uses multiple browser windows/tabs that get created and destroyed regularly, so I just want to double-check my assumptions regarding CefAddCrossOriginWhitelistEntry. Currently I call this only once per source origin (i.e., we have more than one source origin that wants access to the CDN). Hope that makes sense.
Thanks!