mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
base: Finish rename of TopLevelBrowsingContextId
to WebViewId
(#35896)
The `WebViewId` name is a lot more descriptive these days to the casual reader, so I think we can go ahead and finish the rename. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
81fe4bbb1e
commit
2464d0937f
22 changed files with 416 additions and 570 deletions
|
@ -264,9 +264,7 @@ pub(crate) unsafe fn jsval_to_webdriver(
|
|||
let window_proxy = window.window_proxy();
|
||||
if window_proxy.is_browsing_context_discarded() {
|
||||
Err(WebDriverJSError::StaleElementReference)
|
||||
} else if window_proxy.browsing_context_id() ==
|
||||
window_proxy.top_level_browsing_context_id()
|
||||
{
|
||||
} else if window_proxy.browsing_context_id() == window_proxy.webview_id() {
|
||||
Ok(WebDriverJSValue::Window(WebWindow(
|
||||
window.Document().upcast::<Node>().unique_id(),
|
||||
)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue