ping.xml 1011 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" ?>
  2. <diagram author="Joeri Exelmans" name="Ping">
  3. <description>
  4. Should log to console the following sequence:
  5. A, A, B, A, A, B, ...
  6. but instead we get:
  7. A, A, A, A, ...
  8. Fixed in commit fb1b9a218f4c6ab160571be49ae0b70e9d7b0ecc
  9. </description>
  10. <top></top>
  11. <class name="Main" default="true">
  12. <scxml
  13. big_step_maximality="take_many"
  14. internal_event_lifeline="next_combo_step"
  15. initial="p">
  16. <parallel id="p">
  17. <state id="r1">
  18. <state id="A">
  19. <transition after="1" target=".">
  20. <script>
  21. console.log("A");
  22. </script>
  23. </transition>
  24. </state>
  25. </state>
  26. <state id="r2">
  27. <state id="B">
  28. <transition after="2" target=".">
  29. <script>
  30. console.log("B");
  31. </script>
  32. </transition>
  33. </state>
  34. </state>
  35. </parallel>
  36. </scxml>
  37. </class>
  38. </diagram>