mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Auto merge of #21965 - servo:jdm-patch-13, r=asajeffrey
Return the expected response when webdriver requests a session deletion. This fixes a mistake that I have to deal with every time I try to use our webdriver server implementation for something new. We don't have any automated tests for this functionality yet (#21370) but I want to stop stumbling over it. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because ¯\\\_(ツ)\_/¯ <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21965) <!-- Reviewable:end -->
This commit is contained in:
commit
45ac424ef7
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ impl Handler {
|
||||||
|
|
||||||
fn handle_delete_session(&mut self) -> WebDriverResult<WebDriverResponse> {
|
fn handle_delete_session(&mut self) -> WebDriverResult<WebDriverResponse> {
|
||||||
self.session = None;
|
self.session = None;
|
||||||
Ok(WebDriverResponse::Void)
|
Ok(WebDriverResponse::DeleteSession)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn browsing_context_script_command(
|
fn browsing_context_script_command(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue