| Index: third_party/WebKit/LayoutTests/http/tests/dom/resources/EventListener-incumbent-global-subsubframe.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/dom/resources/EventListener-incumbent-global-subsubframe.html b/third_party/WebKit/LayoutTests/http/tests/dom/resources/EventListener-incumbent-global-subsubframe.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8656578a432a018b1b28172f7995b0fde8683831
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/dom/resources/EventListener-incumbent-global-subsubframe.html
|
| @@ -0,0 +1,20 @@
|
| +<!DOCTYPE html>
|
| +<script>
|
| + function getTheListener() {
|
| + return postMessage.bind(this, "respond", "*", undefined);
|
| + }
|
| + document.domain = "web-platform.test";
|
| + onmessage = function (e) {
|
| + if (e.data == "sendclick") {
|
| + document.body.click();
|
| + } else {
|
| + parent.postMessage(
|
| + {
|
| + actual: e.origin,
|
| + expected: location.protocol + "//www1.web-platform.test:8080",
|
| + reason: "Incumbent should have been the caller of addEventListener()"
|
| + },
|
| + "*")
|
| + };
|
| + }
|
| +</script>
|
|
|