Description
When dragging the JavaScript activity onto the workflow designer canvas, errors appear in the browser console.
Steps to Reproduce
- Create a new workflow
- Drag the JavaScript activity onto the canvas
- Observe the console
- A second error may appear occasionally
Expected Behavior:
No errors should be thrown when adding the JavaScript activity.
Screenshots

Environment
- Elsa Studio version: 3.4
- Client version: 3.4.0.0
- Server version: 3.4.0-preview.2782
- Tested on toolbox test
Additional Context
- Confirmed this issue occurs in version 3.2 as well.
- Error 1:
Uncaught (in promise) Error: System.ArgumentException: There is no tracked object with id '33'.
- Error 2:
Refused to create a worker from 'blob:...' due to CSP restrictions.