blob: cc2b49578480da92a14036ea93cbc07acc1140a3 [file] [log] [blame]
This tests that frame used when setting eventListeners on the window using addEventListener is the window's frame. (rdar://problem/5426142). This test passes if you don't see an alert dialog with the domain of "localhost" in it and an "Unsafe JavaScript" warning is logged to the console.