From 74c8982c032df171258c916a76bf13b23c6acc6e Mon Sep 17 00:00:00 2001 From: Xiaocheng Hu Date: Wed, 4 May 2022 19:47:47 +0000 Subject: [PATCH 1/2] Wed May 4 07:47:47 PM UTC 2022 --- fetch.bs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/fetch.bs b/fetch.bs index a201490c2..c30bf1321 100644 --- a/fetch.bs +++ b/fetch.bs @@ -1869,6 +1869,12 @@ otherwise, it is unset. done flag, and timing allow failed flag are used as bookkeeping details by the fetch algorithm. +

A request has an associated boolean +render-blocking. +Unless stated otherwise, it is false. + +

This flag is for exclusive use by HTML's render-blocking mechanism. [[!HTML]] +


A subresource request is a request @@ -3984,8 +3990,9 @@ the request.

  • If request's priority is null, then use request's - initiator and destination appropriately in setting - request's priority to a user-agent-defined object. + initiator, destination and + render-blocking appropriately in setting request's + priority to a user-agent-defined object.

    The user-agent-defined object could encompass stream weight and dependency for HTTP/2, and equivalent information used to prioritize dispatch and processing of HTTP/1 fetches. From 96a7020a97228c11e64ed427a6a7943d643831a4 Mon Sep 17 00:00:00 2001 From: Xiaocheng Hu Date: Mon, 23 May 2022 14:06:35 -0700 Subject: [PATCH 2/2] Address comments --- fetch.bs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/fetch.bs b/fetch.bs index c30bf1321..b845602ea 100644 --- a/fetch.bs +++ b/fetch.bs @@ -1833,6 +1833,11 @@ Unless stated otherwise, it is false.

    This is for exclusive use by HTML's navigate algorithm. [[!HTML]] +

    A request has an associated boolean render-blocking. +Unless stated otherwise, it is false. + +

    This flag is for exclusive use by HTML's render-blocking mechanism. [[!HTML]] +


    A request has an associated @@ -1869,12 +1874,6 @@ otherwise, it is unset. done flag, and timing allow failed flag are used as bookkeeping details by the fetch algorithm. -

    A request has an associated boolean -render-blocking. -Unless stated otherwise, it is false. - -

    This flag is for exclusive use by HTML's render-blocking mechanism. [[!HTML]] -


    A subresource request is a request @@ -3990,7 +3989,7 @@ the request.

  • If request's priority is null, then use request's - initiator, destination and + initiator, destination, and render-blocking appropriately in setting request's priority to a user-agent-defined object.