The previous solution only worked for code that ran after the page had finished loading. I was hoping that'd solve the problem for most users, which it didn't. But even if it did, we still don't want browser docks to be able to arbitrarily close the main OBS window.
See #427
How Has This Been Tested?
Implement a page that calls window.close() immediately.
Types of changes
Bug fix (non-breaking change which fixes an issue)
Description
Motivation and Context
The previous solution only worked for code that ran after the page had finished loading. I was hoping that'd solve the problem for most users, which it didn't. But even if it did, we still don't want browser docks to be able to arbitrarily close the main OBS window.
How Has This Been Tested?
Implement a page that calls
window.close()
immediately.Types of changes
Checklist: