Premiere crashes when setting a CSS variable

let headerHeight=(header.value as HTMLElement).getBoundingClientRect().height;
//(panel.value as HTMLElement).style.setProperty(‘–header-height’,`${headerHeight}px`);

The commented line is where it crashes, the “send error report” pops up and the application closes. I sent the report.

Expected behavior: If there’s a problem with the JavaScript code, an exception should appear in the JavaScript console, it should not cause a hard crash.

We believe you, and…can you provide an example plugin that provokes the problem? [I’ve DM’d you my adobe.com address…]

Got it, thanks! I will send you a sample.