Index: third_party/WebKit/LayoutTests/shadow-dom/event-deep-path.html |
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/event-deep-path.html b/third_party/WebKit/LayoutTests/shadow-dom/event-deep-path.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b8ec25807b372160befb52c2df843deaacf0bab6 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/shadow-dom/event-deep-path.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+<script src="../fast/dom/shadow/resources/shadow-dom.js"></script> |
+<img id="img" src="../fast/images/resources/test-load.jpg"> |
+<script> |
+ |
+img.onload = function(e) { |
+ test(function() { |
+ assert_array_equals(e.deepPath(), e.path); |
+ }, "Event.deepPath() should be the same as Event.path."); |
+}; |
+ |
+</script> |