On 8/31/17 1:24 PM, Gervase Markham wrote:
Have we changed the timeout recently regarding how long Firefox waits
for a stylesheet before rendering the page?

We do not have such a timeout at all. Our wait is fairly deterministic. We start layout as soon as:

A) Script requests layout information

or

B) We have seen <body> and all stylesheets whose loads started due to the parser inserting <link> elements are done loading. (Note that this means we always wait for the <link> elements in <head>, and may wait for the ones in <body>, depending on whether we manage to start their loads before the ones from <head> finish loading.)

The symptoms you observe sound like (A) is happening, possible from an extension or our browser UI... If you have a link to a specific url that reproduces for you, especially in a clean profile, that would be pretty useful. This is usually pretty simple to debug when (A) happens: set a breakpoint on when we start layout and see what the JS stack is. The hard part is catching it happening.

-Boris
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to