C2LC-346: Long programs run at faster speeds crash in Safari

Metadata

Source
C2LC-346
Type
Bug
Priority
N/A
Status
Done
Resolution
N/A
Assignee
N/A
Reporter
Created
2021-04-07T15:00:05.516-0400
Updated
2021-04-29T10:39:58.385-0400
Versions
N/A
Fixed Versions
  1. Coding Env 0.8
Component
  1. Coding Environment

Description

The error in the console is:

Unhandled Promise Rejection: SecurityError: Attempt to use history.pushState() more than 100 times per 30 seconds
Selected Element
<html lang="en">…</html>

To recreate the issue, load the following program and run it at the fastest setting.

https://create.weavly.org/?v=0.7&t=mixed&w=default&p=3233323323b3322233b23223222332b232232b3133133313b33331b33333332b3333b33333331b3332b3333333b3331b3333332b333b3333331b332b333333b331b333332b33b333322b221b332322b1111b322322b3b322132b2b32313b1b31313&c=aab&a=123456ABDabd

The same error can be triggered by rotating the character quickly. Put keyboard focus on the turn character button and press space quickly more than 100 times.