they are pretty much like opening another browser tab that only runs JavaScript. they also have some different APIs for sending messages back to the parent window.
as far as what they are useful for, well a lot of things, but one of the most common uses for them it to process a lot of data without freezing the current browser tab. since they are technically a separate tab you could run a while(true){} loop in them and it would not crash the current tab.
rdfriedl
A young and enthusiastic Front End developer
they are pretty much like opening another browser tab that only runs JavaScript. they also have some different APIs for sending messages back to the parent window.
as far as what they are useful for, well a lot of things, but one of the most common uses for them it to process a lot of data without freezing the current browser tab. since they are technically a separate tab you could run a
while(true){}loop in them and it would not crash the current tab.