I was having a problem a short while back with closing a tab with the X button. It would always crash. My program is an HTA.
I did some code testing and found that at line 390 in tabbar.js this line causes the error:
If I comment out the line it works fine. This function is empty so I don’t see why it would error, but it does.