Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Side by Side Diff: LayoutTests/http/tests/security/cross-frame-access-dispatchEvent-expected.txt

Issue 150203016: Add cross-origin BindingsSecurity checks to 'EventTarget::dispatchEvent'. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Doctype + rebaseline. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1
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.
4
5
6 --------
7 Frame: '<!--framePath //<!--frame0-->-->'
8 --------
9
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/security/cross-frame-access-dispatchEvent.html ('k') | Source/bindings/scripts/code_generator_v8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698