phetsims / masses-and-springs

"Masses and Springs" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
4 stars 5 forks source link

CT: Assertion failed #336

Closed KatieWoe closed 5 years ago

KatieWoe commented 5 years ago
masses-and-springs : xss-fuzz : run
Uncaught Error: Assertion failed
Error: Assertion failed
    at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1540386547334/assert/js/assert.js:22:13)
    at PressListener.pointerUp (https://bayes.colorado.edu/continuous-testing/snapshot-1540386547334/scenery/js/listeners/PressListener.js?bust=1540390432611:575:17)
    at Input.dispatchToListeners (https://bayes.colorado.edu/continuous-testing/snapshot-1540386547334/scenery/js/input/Input.js?bust=1540390432611:1488:27)
    at Input.dispatchEvent (https://bayes.colorado.edu/continuous-testing/snapshot-1540386547334/scenery/js/input/Input.js?bust=1540390432611:1444:12)
    at Input.upEvent (https://bayes.colorado.edu/continuous-testing/snapshot-1540386547334/scenery/js/input/Input.js?bust=1540390432611:1207:12)
    at Emitter.listener (https://bayes.colorado.edu/continuous-testing/snapshot-1540386547334/scenery/js/input/Input.js?bust=1540390432611:381:16)
    at Emitter.emit (https://bayes.colorado.edu/continuous-testing/snapshot-1540386547334/axon/js/Emitter.js?bust=1540390432611:187:53)
    at Input.touchEnd (https://bayes.colorado.edu/continuous-testing/snapshot-1540386547334/scenery/js/input/Input.js?bust=1540390432611:891:30)
    at InputFuzzer.touchEnd (https://bayes.colorado.edu/continuous-testing/snapshot-1540386547334/scenery/js/input/InputFuzzer.js?bust=1540390432611:246:27)
    at InputFuzzer.touchEndAction (https://bayes.colorado.edu/continuous-testing/snapshot-1540386547334/scenery/js/input/InputFuzzer.js?bust=1540390432611:61:12)
id: Bayes Chrome
Approximately 10/24/2018, 7:09:07 AM
KatieWoe commented 5 years ago

Also appears in Masses and Springs Basics @Denz1994

Denz1994 commented 5 years ago

@jonathanolson made a commit (https://github.com/phetsims/scenery/commit/aafb5874381b6f99695660eec6a33cce74f8df38) that handles interrupted callbacks. I have only been able to trace this assert failure to the TimerNode in MAS and MASB.

I'll fuzz for an hour to see if this is cleared up. This is also relevant to https://github.com/phetsims/masses-and-springs/issues/331 and https://github.com/phetsims/masses-and-springs-basics/issues/32.

Denz1994 commented 5 years ago

After fuzzing for 2hrs and 30min in two different browser instances, there weren't any errors. CT has also cleared up and isn't throwing any related errors. Closing this issue and relevant issues (#331 and phetsims/masses-and-springs-basics#32).