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 f058cf0 commit 2b2882cCopy full SHA for 2b2882c
src/browser/page.zig
@@ -762,6 +762,9 @@ pub const Page = struct {
762
var self: *Page = @ptrCast(@alignCast(ctx));
763
self.clearTransferArena();
764
765
+ // We need to handle different navigation types differently.
766
+ try self.session.navigation.processNavigation(self);
767
+
768
switch (self.mode) {
769
.pre => {
770
// Received a response without a body like: https://httpbin.io/status/200
@@ -840,9 +843,6 @@ pub const Page = struct {
840
843
unreachable;
841
844
},
842
845
}
-
- // We need to handle different navigation types differently.
- try self.session.navigation.processNavigation(self);
846
847
848
fn pageErrorCallback(ctx: *anyopaque, err: anyerror) void {
0 commit comments