You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// FIXME: 1. Run the environment discarding steps for navigationParams's reserved environment.
1279
-
// FIXME: 2. Invoke WebDriver BiDi navigation failed with currentBrowsingContext and a new WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is navigationParams's response's URL.
1276
+
// FIXME: 2. Invoke WebDriver BiDi navigation failed with navigable and a new WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is navigationParams's response's URL.
1280
1277
}
1281
1278
}
1282
1279
// FIXME: 5. Otherwise, if navigationParams's response has a `Content-Disposition`
// 15. Let targetBrowsingContext be navigable's active browsing context.
1447
-
[[maybe_unused]] auto target_browsing_context = active_browsing_context();
1448
-
1449
-
// 16. Let targetSnapshotParams be the result of snapshotting target snapshot params given navigable.
1450
-
auto target_snapshot_params = snapshot_target_snapshot_params();
1443
+
// 15. Let targetSnapshotParams be the result of snapshotting target snapshot params given navigable.
1444
+
[[maybe_unused]] auto target_snapshot_params = snapshot_target_snapshot_params();
1451
1445
1452
-
// FIXME: 17. Invoke WebDriver BiDi navigation started with targetBrowsingContext, and a new WebDriver BiDi navigation status whose id is navigationId, url is url, and status is "pending".
1446
+
// FIXME: 16. Invoke WebDriver BiDi navigation started with navigable and a new WebDriver BiDi navigation status whose id is navigationId, status is "pending", and url is url.
1453
1447
1454
-
//18. If navigable's ongoing navigation is "traversal", then:
1448
+
//17. If navigable's ongoing navigation is "traversal", then:
1455
1449
if (ongoing_navigation().has<Traversal>()) {
1456
-
// FIXME: 1. Invoke WebDriver BiDi navigation failed with targetBrowsingContext and a new WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is url.
1450
+
// FIXME: 1. Invoke WebDriver BiDi navigation failed with navigable and a new WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is url.
1457
1451
1458
1452
// 2. Return.
1459
1453
return {};
1460
1454
}
1461
1455
1462
-
//19. Set the ongoing navigation for navigable to navigationId.
1456
+
//18. Set the ongoing navigation for navigable to navigationId.
1463
1457
set_ongoing_navigation(navigation_id);
1464
1458
1465
-
//20. If url's scheme is "javascript", then:
1459
+
//19. If url's scheme is "javascript", then:
1466
1460
if (url.scheme() == "javascript"sv) {
1467
1461
// 1. Queue a global task on the navigation and traversal task source given navigable's active window to navigate to a javascript: URL given navigable, url, historyHandling, initiatorOriginSnapshot, userInvolvement, and cspNavigationType.
// FIXME: 1. Invoke WebDriver BiDi navigation failed with targetBrowsingContext and a new WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is url.
1532
+
// FIXME: 1. Invoke WebDriver BiDi navigation failed with navigable and a new WebDriver BiDi navigation status whose id is navigationId, status is "canceled", and url is url.
0 commit comments