Comment #3 on issue 1779 by felix8a: flaky test: testRepeatedHandlers in es53-test-domado-events-guest.html
http://code.google.com/p/google-caja/issues/detail?id=1779

ok, I guess the previous fix was good and probably solved most of the flakiness, but there's still a remaining flakiness. symptom is:
 first: Expected <"mousedown,1,mousedown,3,mouseup,1,mouseup,3"> but was
      <"mouseup,1,mouseup,3">

which is a bit strange. my guess at the moment is that the test driver click() puts a slight delay between mousedown and mouseup events, so we sometimes get a chance to run between the two, so testRepeatedHandlers installs the event listeners too late to catch the mousedown but early enough to catch the mouseup.

if that's right, the fix is to move the addEventListener calls outside testRepeatedHandlers, so they're in place by the time the page signals readyToTest to the test driver.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to