Today I learned: if you start a load navigation in a subframe from script before your page is done loading, Chrome and Safari will fire your page's onload before that subframe load completes.
The parent is supposed to wait for fetches, not for onload events, per spec. Edge and Firefox get this right.
-
-
That’s news to me, this method for loading subresources outside the critical path has worked for us in production for the last 6 years across thousands of sites.
-
Your method is loading things inside the iframe, not navigating the iframe.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.