| Index: third_party/WebKit/LayoutTests/http/tests/dom/EventListener-incumbent-global-2.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/dom/EventListener-incumbent-global-2.html b/third_party/WebKit/LayoutTests/http/tests/dom/EventListener-incumbent-global-2.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1179e8c2511d6fa2767068a28d2d9edbe5b3b566
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/dom/EventListener-incumbent-global-2.html
|
| @@ -0,0 +1,23 @@
|
| +<!DOCTYPE html>
|
| +<!--
|
| +This test is imported from
|
| +https://github.com/w3c/web-platform-tests/blob/master/dom/events/EventListener-incumbent-global-2.sub.html
|
| +-->
|
| +<title></title>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<iframe src="//www1.web-platform.test:8080/dom/resources/EventListener-incumbent-global-subframe-2.html"></iframe>
|
| +<script>
|
| +
|
| +var t = async_test("Check the incumbent global EventListeners are called with");
|
| +
|
| +onload = t.step_func(function() {
|
| + onmessage = t.step_func_done(function(e) {
|
| + var d = e.data;
|
| + assert_equals(d.actual, d.expected, d.reason);
|
| + });
|
| +
|
| + frames[0].postMessage("start", "*");
|
| +});
|
| +
|
| +</script>
|
|
|