-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CefAddCrossOriginWhitelistEntry not fully works at cef 81 #2918
Comments
Original comment by elad bahar (Bitbucket: eBahar).
|
|
Original changes by elad bahar (Bitbucket: eBahar).
|
Original comment by elad bahar (Bitbucket: eBahar). now that 'OutOfBlinkCors' removed from chromium, |
Original changes by elad bahar (Bitbucket: eBahar).
|
Original comment by Max Steenbergen (Bitbucket: maxsteenbergen, GitHub: maxsteenbergen). We recently updated to m89 to keep up with the latest development, but this is a major app breaker for us: without the combo of CefAddCrossOriginWhitelistEntry and custom schemes, our app is dead in the water. |
Note that |
Original comment by Alex Maitland (Bitbucket: a-maitland). Adding |
@{557058:57d40817-a8a6-4d9a-ae30-fe4d3bde5b20} if you’re saying that |
Original comment by elad bahar (Bitbucket: eBahar).
|
@{557058:6a93a677-f796-4161-93d5-37463172e888} Have you added the |
Original comment by elad bahar (Bitbucket: eBahar). I did add something to my local build for 87 Version (no the best solution, but something that works). |
|
Original report by elad bahar (Bitbucket: eBahar).
1.What steps will reproduce the problem?
not sure how to reproduce it in cefclient, but the scenario is:
create custom scheme, add |CefAddCrossOriginWhitelistEntry| Cross some HTTP/ HTTPS origin.
from the custom scheme url try to
2. What is the expected output? What do you see instead?
the request fails net:ERR_FAILED. should not blocked
3. What version of the product are you using? On what operating system?
windows 10 64bit , CEF 81.2.17+gb382c62+chromium-81.0.4044.113 / Chromium 81.0.4044.113
4. Does the problem reproduce with the cefclient or cefsimple sample application at the same version? How about with a newer or older version?
worked fine at 79 version.
some notes:
with the white listed origin (only the RenderProcessHost are been updated via CefProcessMsg_ModifyCrossOriginWhitelistEntry)
seem like NetworkService SetCorsOriginAccessListForOrigin function also need to be called , so that Netwrork service process will be updated when creating CorsURLLoaderFactory)
https://source.chromium.org/chromium/chromium/src/+/master:services/network/network_context.h;drc=c67c5b5e4d12c8b576b14817dd5907dcc9396c8d;l=341?originalUrl=https:%2F%2Fcs.chromium.org%2F
and
https://source.chromium.org/chromium/chromium/src/+/master:chrome/browser/net/profile_network_context_service.cc;drc=b2810262aa5687a7cd3f0245a503eb4d7a540924;l=853?originalUrl=https:%2F%2Fcs.chromium.org%2F
The text was updated successfully, but these errors were encountered: