[dotnet] [bidi] Fix events subscription possibilities - #16603
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
|
@RenderMichael @YevgeniyShunevych now public API for end-user looks clear, and provides all required capabilities. But internally the implementation blows my mind. Can we optimize it somehow to avoid types messing? |
RenderMichael
left a comment
There was a problem hiding this comment.
I like this approach.
🔗 Related Issues
I am not able to scope global events to
context. Fixes #16582It is design issue. When I am in bidi global context, then I should be able to specify
ContextsorUserContexts.💥 What does this PR do?
Now it is clear. When I use
bidiglobal object, then I can do everything as specification describes. But if I am inbrowsingContext, then events are automatically scoped to this BrowsingContext (implicitly provided when subscribing).🔄 Types of changes