mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
[WebDriver] Properly report error: "No such window" (#37385)
For WebDriver, return "No Such Window" properly according to spec. Testing: `./mach test-wpt -r --log-raw "D:\servo test log\all.txt" .\tests\wpt\tests\webdriver\tests\classic\ --product servodriver` --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
parent
63e27bcab9
commit
56bbc49f21
13 changed files with 108 additions and 43 deletions
|
@ -84,6 +84,10 @@ pub enum WebDriverCommandMsg {
|
|||
CloseWebView(WebViewId),
|
||||
/// Focus the webview associated with the provided id.
|
||||
FocusWebView(WebViewId),
|
||||
/// Check whether top-level browsing context is open.
|
||||
IsWebViewOpen(WebViewId, IpcSender<bool>),
|
||||
/// Check whether browsing context is open.
|
||||
IsBrowsingContextOpen(BrowsingContextId, IpcSender<bool>),
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue