Disallow a window to focus itself via javascript URLs or using target _self
Created attachment 201342 [details] Patch
What's the rationale for this change? Is this some sort of popup blocking, or something else?
In http://trac.webkit.org/changeset/118916, I added a restriction to window.focus() that disallows a window to focus itself. Apparently, some popunder scripts are using this workaround to get around the window.focus() restriction.
Comment on attachment 201342 [details] Patch r=me
Comment on attachment 201342 [details] Patch Clearing flags on attachment: 201342 Committed r149936: <http://trac.webkit.org/changeset/149936>
All reviewed patches have been landed. Closing bug.
*** Bug 115706 has been marked as a duplicate of this bug. ***