4 ms·
Is there a practical reason that a reference to the opener window is given to the opened window? That seems like something we could do without.
by ddoolin 11y ago
Is there a practical reason that a reference to the opener window is given to the opened window? That seems like something we could do without.
- krastanov 11y agoExample: Google Slides where one tab has the presentation and another tab has the speaker notes. You want those to be in sync.
- sjwright 11y agoBut presumably this example is not cross-domain. This behaviour should not be allowed by default for cross-domain links!
- nsgi 10y agoThere are plenty of other ways to do this e.g. web sockets or localStorage.
- acdha 10y agoNow, yes, but a lot of precedent was set before then. Even now both of the technologies you mentioned would add significant complexity – needing to start running an otherwise unnecessary WebSocket server, having to debug and workaround client bugs or network issues like large organizations blocking WebSockets.