From 61cb262a94245ddc4c4f951b9b8b0e4f33fa4e91 Mon Sep 17 00:00:00 2001 From: Dom Christie Date: Thu, 21 Sep 2023 08:28:57 +0100 Subject: [PATCH] Raise error if visit options are not transferable to native adapters --- src/core/drive/navigator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/drive/navigator.js b/src/core/drive/navigator.js index 3b3abc721..32a875208 100644 --- a/src/core/drive/navigator.js +++ b/src/core/drive/navigator.js @@ -171,6 +171,6 @@ export class Navigator { #sanitizeVisitOptionsForTransfer(options) { const { initiator, referrer, visitCachedSnapshot, ...rest } = options - return rest + return structuredClone(rest) } }