-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] [bidi] Introduce CancellationToken for async commands #16990
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
[dotnet] [bidi] Introduce CancellationToken for async commands #16990
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:
|
||||||||||||
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:
|
||||||||||||
User description
🔗 Related Issues
Resolves #16989
💥 What does this PR do?
CancellationTokenTimeoutcommand option🔄 Types of changes
PR Type
Enhancement, Tests
Description
Add CancellationToken parameter to all BiDi async methods
Implement linked token source for timeout and cancellation support
Add test coverage for timeout and cancellation token behavior
Propagate cancellation tokens through module hierarchy
Diagram Walkthrough
File Walkthrough
18 files
Add CancellationToken to public BiDi methodsImplement linked token source for timeout handlingAdd CancellationToken to ExecuteCommandAsync signatureAdd CancellationToken to all browser commandsAdd CancellationToken to browsing context methodsAdd CancellationToken to context module commandsAdd CancellationToken to input action methodsAdd CancellationToken to network interception methodsAdd CancellationToken to script evaluation methodsAdd CancellationToken to storage cookie methodsAdd CancellationToken to emulation override methodsAdd CancellationToken to input action commandsAdd CancellationToken to network command methodsAdd CancellationToken to permission setting methodAdd CancellationToken to script execution methodsAdd CancellationToken to session management methodsAdd CancellationToken to storage query methodsAdd CancellationToken to extension management methods1 files
Add timeout and cancellation token test cases