Skip to content

Allow webdriver to automatically accept custom protocol handlers#40838

Closed
TimvdLippe wants to merge 2 commits intoservo:mainfrom
TimvdLippe:automate-handler-registration
Closed

Allow webdriver to automatically accept custom protocol handlers#40838
TimvdLippe wants to merge 2 commits intoservo:mainfrom
TimvdLippe:automate-handler-registration

Conversation

@TimvdLippe
Copy link
Copy Markdown
Contributor

This reads the protocol_handler_automation_mode and if it is
autoAccept, then we should eagerly register the protocol handler.
We do this by updating the ProtocolRegistry in the resource thread,
where we need to clone it (since there can be ongoing fetches). To
be able to clone handlers, we need a new method on the trait.

Part of #40615

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants