Index: LayoutTests/http/tests/security/cross-frame-access-dispatchEvent-expected.txt |
diff --git a/LayoutTests/http/tests/security/cross-frame-access-dispatchEvent-expected.txt b/LayoutTests/http/tests/security/cross-frame-access-dispatchEvent-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..36b146290b63fb972ff8b1d6d9fad1d7e9022cb4 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/cross-frame-access-dispatchEvent-expected.txt |
@@ -0,0 +1,9 @@ |
+ |
+PASS: targetWindow.dispatchEvent(new CustomEvent("click")); should have thrown an exception, and did: SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame. |
+PASS: window.dispatchEvent.call(targetWindow, new CustomEvent("click")); should have thrown an exception, and did: SecurityError: Failed to execute 'dispatchEvent' on 'EventTarget': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame. |
+ |
+ |
+-------- |
+Frame: '<!--framePath //<!--frame0-->-->' |
+-------- |
+ |