Fixed
Details
Assignee
Antranig BasmanAntranig BasmanReporter
Colin ClarkColin ClarkComponents
Affects versions
Priority
Major
Details
Details
Assignee
Antranig Basman
Antranig BasmanReporter
Colin Clark
Colin ClarkComponents
Affects versions
Priority
Created March 12, 2023 at 4:47 PM
Updated July 22, 2024 at 2:34 PM
Resolved March 13, 2023 at 11:33 AM
When Infusion's jquery.standalone.js file is used with an AudioWorkletProcessor, an error occurs on line 35. This is because we refer to "global" without checking first to see if the "global" global variable is actually present. AudioWorkletGlobalScope (and I assume other Worklet scopes, though I haven't tested with any other) are extremely minimal environments that don't even provide a reference to a global scope.
The following refinement to our global scope detection on lines 34-5 solved the problem for me: