We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec12a04 commit f18723cCopy full SHA for f18723c
crates/tauri-runtime-cef/src/cef_impl/request_handler.rs
@@ -132,6 +132,13 @@ wrap_request_handler! {
132
_user_gesture: ::std::os::raw::c_int,
133
_is_redirect: ::std::os::raw::c_int,
134
) -> ::std::os::raw::c_int {
135
+ let Some(frame) = frame else {
136
+ return 0;
137
+ };
138
+ // we only fire main frame navigation events to match the behavior of the wry runtime
139
+ if frame.is_main() == 0 {
140
141
+ }
142
let Some(handler) = &self.navigation_handler else {
143
return 0;
144
};
0 commit comments