Make event.path test match what Blink produces.