-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window.open signature has a replace parameter that the docs don't have #31246
Comments
MSDN lists the So it's either IE-specific, or else something that existed in a previous standard and is no longer officially a thing. (I’m guessing it’s the former because MDN usually still documents obsolete features) |
@fatcerberus Hmm found another page that lists that parameter and indicates that it's supported by Chrome and FF... |
At least in Chrome, this doesn't appear to have an effect.
|
This has popped its head up for me recently. Chrome dropped support for the 4th parameter in version 89 and using it now causes an error. MDN does not mention the replace parameter at all: |
Reference for the Chrome change https://chromium.googlesource.com/chromium/src/+/0ed07dc3f70fb426b64f886fc2f0018243443f9e Related bug and discussion: |
Just looking at old issues; this was fixed in #44684. |
TypeScript Version: 3.4.3
Search Terms: window open replace
Code
window.open(
Intellisense shows a
replace
property found here in lib.dom.d.ts:However, the docs don't have such a parameter.
I did see that parameter listed here on W3Schools, but that's not a trustworthy source. Maybe it's an old parameter that was removed.
The text was updated successfully, but these errors were encountered: