-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Url to JavascriptBindingEventArgs #5021
base: master
Are you sure you want to change the base?
Conversation
✅ Build CefSharp 131.3.10-CI5135 completed (commit 3de1bade0e by @amaitland) |
✅ Build CefSharp 131.3.10-CI5137 completed (commit 89b7d8ee83 by @amaitland) |
acda14f
to
0cb2878
Compare
I had originally though about exposing the JS repository and method runner queue for users to customise, reverted this change as I'm not sure that it's wise. |
✅ Build CefSharp 131.3.10-CI5141 completed (commit 80c0d4edbe by @amaitland) |
@amaitland I’ve done a deep dive into the origin restriction security issue, and unfortunately, this approach doesn’t fully resolve the problem. Here’s the core issue: in the For example:
//
// Summary:
// Unregister all the currently bound objects from the repository.
// If you unregister an object that is currently bound in JavaScript,
// method/property calls will fail.
void UnRegisterAll(); This limitation makes it difficult to manage object access based on origin securely. |
Nor is it expected to. This is just a piece of the puzzle. Additional code changes would be required as per my comment at #5001 (comment) |
Issue #5001
Summary:
Changes:
How Has This Been Tested?
Tests have been updated
Types of changes
Checklist: