Scripts may close only the windows that were opened by them #1981
Replies: 3 comments
-
You need to go up in the stacktrace, this error seems to appear in one of your navigation guards but it's not related to Vue Router |
Beta Was this translation helpful? Give feedback.
0 replies
-
here's the stack
template
relevant code
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry for my English. This message appears when window.close() is called if the browser tab was not opened by the script. For some reason, vue-router is calling the window.close() method. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Footer component which I use in an Index.vue to switch between content rendered using a router outlet. Whenever I click on one of the buttons used to switch content I get the following error message:
"Scripts may close only the windows that were opened by them"
The chrome debugger indicates the error occurred on the last line of this code from vue-router.mjs
The error is probably caused elsewhere but that's what I've got.
Beta Was this translation helpful? Give feedback.
All reactions