3 ms·
Right, but now you have 20 years worth of content which depends on the current behavior....
by bzbarsky 11y ago
Right, but now you have 20 years worth of content which depends on the current behavior....
- homakov 11y agoOn this particular behavior unlikely
- bzbarsky 11y agoWhat makes you think this is unlikely? On the contrary, I think it's _very_ likely there are things depending on it. I don't expect there to be a huge number of them, but I also expect them to disproportionately be in things like intranet deployments where it's hard to even get measurements. :(
- homakov 11y agoA link with _blank + expected to change/interact with opener? Maybe there's a few, but most cross domain transports would use window.open() manually.
- bzbarsky 11y agoWell, window.open() obviously has the same problem, with the same solution being proposed: the caller of window.open opts in to not allow the thing being opened to interact with it. We could have different default behaviors for the two cases, of course: opt-in for links and opt-out for window.open. But I still suspect that even just the link case is not as uncommon as one might wish. Happy to see data proving me wrong, though!