Index: LayoutTests/fast/dom/shadow/event-path.html |
diff --git a/LayoutTests/fast/dom/shadow/event-path.html b/LayoutTests/fast/dom/shadow/event-path.html |
index d6bce6327aa8ed449fb0b786998269d3fbfb9893..c6d2f31b71e35ba72617375ca5d72c96c4c3db8f 100644 |
--- a/LayoutTests/fast/dom/shadow/event-path.html |
+++ b/LayoutTests/fast/dom/shadow/event-path.html |
@@ -24,8 +24,12 @@ b.addEventListener('click', function(event) { |
debug(dumpNodeList(event.path)); |
}); |
var clickEvent = document.createEvent("MouseEvents"); |
+debug("Makes sure that event.path is empty before dispatching the event."); |
+debug(dumpNodeList(clickEvent.path)); |
clickEvent.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); |
b.dispatchEvent(clickEvent); |
+debug("Makes sure that event.path isn't emptified after dispatching the event."); |
+debug(dumpNodeList(clickEvent.path)); |
</script> |
</body> |
</html> |