Skip to content

Commit

Permalink
Raise error if visit options are not transferable to native adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
domchristie committed Sep 21, 2023
1 parent 500966f commit 61cb262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/drive/navigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,6 @@ export class Navigator {

#sanitizeVisitOptionsForTransfer(options) {
const { initiator, referrer, visitCachedSnapshot, ...rest } = options
return rest
return structuredClone(rest)
}
}

0 comments on commit 61cb262

Please sign in to comment.