Repository navigation
Add Url to JavascriptBindingEventArgs - #5021
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) |
Co-authored-by: amaitland <[email protected]>
Issue #5001
Summary:
Changes:
How Has This Been Tested?
Tests have been updated
Types of changes
Checklist: