phetsims / resistance-in-a-wire

"Resistance in a Wire" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/resistance-in-a-wire
GNU General Public License v3.0
1 stars 4 forks source link

Undefined not allowed for Node key: accessibleLabelAsHTML #127

Closed phet-steele closed 6 years ago

phet-steele commented 6 years ago

Be sure to use ?stringTest=xss

Error: Assertion failed: Undefined not allowed for Node key: accessibleLabelAsHTML
    at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1518068108158/assert/js/assert.js:22:13)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1518068108158/scenery/js/nodes/Node.js?bust=1518072656794:4614:19
    at u (https://bayes.colorado.edu/continuous-testing/snapshot-1518068108158/sherpa/lib/lodash-4.17.4.min.js?bust=1518072656794:5:432)
    at Function.ru (https://bayes.colorado.edu/continuous-testing/snapshot-1518068108158/sherpa/lib/lodash-4.17.4.min.js?bust=1518072656794:67:656)
    at Node.mutate (https://bayes.colorado.edu/continuous-testing/snapshot-1518068108158/scenery/js/nodes/Node.js?bust=1518072656794:4612:9)
    at new Node (https://bayes.colorado.edu/continuous-testing/snapshot-1518068108158/scenery/js/nodes/Node.js?bust=1518072656794:503:12)
    at new AccessibleSummaryNode (https://bayes.colorado.edu/continuous-testing/snapshot-1518068108158/resistance-in-a-wire/js/resistance-in-a-wire/view/AccessibleSummaryNode.js?bust=1518072656794:40:20)
    at new ResistanceInAWireScreenView (https://bayes.colorado.edu/continuous-testing/snapshot-1518068108158/resistance-in-a-wire/js/resistance-in-a-wire/view/ResistanceInAWireScreenView.js?bust=1518072656794:38:23)
    at ResistanceInAWireScreen.Screen.call.backgroundColorProperty [as createView] (https://bayes.colorado.edu/continuous-testing/snapshot-1518068108158/resistance-in-a-wire/js/resistance-in-a-wire/ResistanceInAWireScreen.js?bust=1518072656794:27:34)
    at ResistanceInAWireScreen.initializeView (https://bayes.colorado.edu/continuous-testing/snapshot-1518068108158/joist/js/Screen.js?bust=1518072656794:241:25)
jessegreenberg commented 6 years ago

This one is fixed but revealed a new bug, ill create a new isssue. Thanks @phet-steele.