-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve clarity in link and style sheet resource fetching
* Defines the critical subresources for CSS as @imported style sheets, including indirectly imported ones. This was previously defined nowhere; probably it should live in CSS, but for now it lives here. * Makes it clearer that the steps to obtain the resource are the default steps, which some link types override. * Adds explicit steps for fetching critical subresources, and ties those to the load/error events. * Uses fetch primitives like network error and ok status instead of vague language. * Makes it clearer how incorrect Content-Types for CSS generate error events, by defining the new "resource-specific fetch error" concept. * Makes it clearer that resources apply if and only if their main fetch succeeds. (Critical subresource fetches generate error events, but do not impact the "obtained successfully" or "apply" concepts.) Fixes #3532.
- Loading branch information
Showing
1 changed file
with
96 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters