Reputation: 141
Steps to reproduce:
p = window.open('https://www.google.com')
Once the window opens, entering p.closed
returns true.
But, If we replace the url of target window from https://www.google.com to https://www.yahoo.com, p.closed
returns false
Am I missing something?
Upvotes: 0
Views: 17