window.open() is not a function
-
Hi, I'd like to report a bug that the specific JavaScript method,
window.open()
, is consideredundefined
as of Vivaldi 6.2.3105.58. So far reproducible in macOS but not yet tested on others. The absence of this method breaks some sites, including Huawei Developers and Retool.Reproducible after disabling all extensions, but not reproducible under Private Window.
-
@reinhart1010 Hi, does it work here?
https://pathduck.github.io/test/window-open-crash/
This is about as simple a test forwindow.open
as possible.
(This was created for a crashing issue that (hopefully) is no longer present)Note also that your example -
window.open("google.com")
- is not a valid call. the url needs to have a protocol otherwise it will open in the current domain. It will try to openhttps://example.com/google.com
I'm on Windows, but I doubt this is OS-related, if so we'd see a lot of users complaining about it for MacOS.
Reproducible after disabling all extensions, but not reproducible under Private Window.
This is a good indication there's something wrong in your profile. Did you close all tabs and restart the browser after disabling all extensions?
Please try the troubleshooting steps, including testing in a clean profile and disabling adblocking/extensions:
https://help.vivaldi.com/desktop/troubleshoot/troubleshooting-issues/Related findings:
https://stackoverflow.com/questions/15019992/typeerror-window-open-is-not-a-function
https://stackoverflow.com/questions/33715502/window-open-is-not-a-function-error-please-help-i-have-looked-everywhere-cant
https://stackoverflow.com/questions/17989551/firefox-window-open-not-a-function -
It strangely works with the same browser version after upgrading macOS from Ventura to Sonoma.