-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Qv2 🔝Quasar v2 issuesQuasar v2 issuesarea/pluginsbug/1-repro-availableA reproduction is available and needs to be confirmed.A reproduction is available and needs to be confirmed.flavour/quasar-cli-webpackkind/bug 🐞
Description
What happened?
Even when openURL() successfully opens a new tab/window, the rejectFn is still executed.
What did you expect to happen?
The rejectFn should not be called.
Reproduction URL
https://codepen.io/escodoy/pen/bNeamxG
How to reproduce?
- Go to provided link.
- Click on the button to open new window via
openURL(). - Notice that
rejectFn()was still called even when window was successfully opened.
Flavour
Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)
Areas
Plugins (quasar)
Additional context
From my investigation, window.open() returns null if noopener is true even though window was successfully opened. Since openURL() automatically adds noopener in the windowFeatures for security reasons, it falsely executes rejectFn every time.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Qv2 🔝Quasar v2 issuesQuasar v2 issuesarea/pluginsbug/1-repro-availableA reproduction is available and needs to be confirmed.A reproduction is available and needs to be confirmed.flavour/quasar-cli-webpackkind/bug 🐞