blob: d4a1aa994041d8ba17f02bdfcf3132a7f93d0ef3 [file] [log] [blame]
This tests that frame used when setting eventListeners on an EventTarget using addEventListener is the target nodes 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.