Re: [dom-tests] Update several DOM event tests after https://github.com/whatwg/dom/is… (#3469)

Hmm, I see, there's a more serious bug.  You're not actually testing whether the handler is called the first time at all!  You need to check "called" after the first call, then if it was false, check that it's true after the second call.  Previously there was only one check after both dispatchEvent()s, but now you need to add a new check after the first one, since the second one will now always fire.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/3469#issuecomment-240137165

Received on Tuesday, 16 August 2016 15:24:00 UTC