Good day to all. At one of the sites I noticed that the page does not stop loading (the indicator in the tab header does not stop rotating). Found out that the reason - records in iframe through document.write (). The code (simplified) is something like this (the hang can be checked locally):
<!doctype html> <html> <meta charset = 'UTF-8'> <body> <iframe id="k_c0"></iframe> <script language="JavaScript"> var d; d=document.getElementById('k_c0').contentDocument; d.write('<div> 234</div>'); </script> </body> </html> What processes cause a spinning indicator? And why do they arise? Thank you in advance.