mirror of
https://github.com/lexmount/moli.git
synced 2026-11-22 16:02:34 +00:00
fix(cdp): adapt navigation to optional runtime owner slots
Use the updated optional owner slot API when preparing beforeunload and completing navigation. Include the operation and case in ancestor-navigation realm assertion diagnostics.
This commit is contained in:
@@ -282,7 +282,10 @@ async fn check_in_local_set(operation: &str, case: Case, allowed: bool) {
|
||||
);
|
||||
assert_eq!(result["conversions"], usize::from(location));
|
||||
if !allowed && location {
|
||||
assert_eq!(result["localException"], true);
|
||||
assert_eq!(
|
||||
result["localException"], true,
|
||||
"{operation}/{case:?}: {result}"
|
||||
);
|
||||
}
|
||||
if operation == "open" {
|
||||
assert_eq!(result["returnedTarget"], allowed);
|
||||
|
||||
Reference in New Issue
Block a user