2 PASS: targetWindow.dispatchEvent(new CustomEvent("click")); should have thrown a
n exception, and did: SecurityError: Blocked a frame with origin "http://127.0.0
.1:8000" from accessing a cross-origin frame.
3 PASS: window.dispatchEvent.call(targetWindow, new CustomEvent("click")); should
have thrown an exception, and did: SecurityError: Failed to execute 'dispatchEve
nt' on 'EventTarget': Blocked a frame with origin "http://127.0.0.1:8000" from a
ccessing a cross-origin frame.
Issue 150203016: Add cross-origin BindingsSecurity checks to 'EventTarget::dispatchEvent'.
(Closed)
Created 6 years, 10 months ago by Mike West
Modified 6 years, 10 months ago
Reviewers: jochen (gone - plz use gerrit), Nils Barth (inactive)
Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Comments: 1