New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
This site will be read-only for 3-4 hours starting at Sunday, 08:00AM PDT
Starred by 8 users

Issue metadata

Status: WontFix
Closed: Oct 6
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Sign in to add a comment

Fast-downloading defered scripts seem to block rendering/parsing

Project Member Reported by, May 3 2017 Back to list

Issue description

Run a timeline while loading the above. The effect may only be visible with a full cache.

According to devtools, the deferred script appears to block parsing, but this isn't what deferred scripts are supposed to do. Is this devtools misreporting, or is it really blocking parsing?

Also, it seems to block rendering, which is surprising, but I remember pmeenan@ mentioning this may depend on the elements that come before it.
2.1 MB View Download
Status: WontFix
Works fine for me. I modified the HMTL to be:

<div style="width:100px;height:100px;background:green"></div>
<script defer src="1.js"></script>
<script src="2.js"></script>

And timeline shows that 1.js is parsed at the very end, after 2.js. Closing as non-repro.

Sign in to add a comment