Before fixing https://bugs.webkit.org/show_bug.cgi?id=167318, deploy NoEventDispatchAssertion more broadly to catch similar bugs.
<rdar://problem/30229998>
Fixed in https://trac.webkit.org/changeset/211965.