There are a couple of tests for event dispatching in LayoutTest/fast/dom/shadow/ directory.
It might be better that we organize them for the following reasons:
- There are duplication of functionality between them. We should merge or get rid of some of them.
- Some functions are badly named. For example, shadow-dom-event-dispatcher.html has a lot of functions named prepareDOMTreeXXX (XXX is the sequence number, not explaining the purpose of tests).
This is a meta bug with no blocking bugs, so I am closing it. Please reopen with more details if this is of continued interest.