| Index: LayoutTests/fast/dom/shadow/event-path-window-load.html
|
| diff --git a/LayoutTests/fast/dom/shadow/event-path-window-load.html b/LayoutTests/fast/dom/shadow/event-path-window-load.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ea08b5214733e493652d61f8a8fec162ce6c2455
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/shadow/event-path-window-load.html
|
| @@ -0,0 +1,16 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../../resources/testharness.js"></script>
|
| +<script src="../../../resources/testharnessreport.js"></script>
|
| +<script>
|
| +setup({ explicit_done: true });
|
| +
|
| +var img = document.getElementById("img");
|
| +window.onload = function (e) {
|
| + var path = e.path;
|
| + test(function () {
|
| + assert_equals(path.length, 1, 'path.length');
|
| + assert_equals(path[0], window, 'path[0] should be window');
|
| + }, "event.path for window.onload");
|
| + done();
|
| +};
|
| +</script>
|
|
|