@@ -404,6 +404,11 @@ <h3>
404
404
info=] < a data-dfn-for ="PerformanceResourceTiming "> < dfn > timing
405
405
info</ dfn > </ a > .
406
406
</ p >
407
+ < p >
408
+ A < a > PerformanceResourceTiming</ a > has an associated [=response body
409
+ info=] < a data-dfn-for ="PerformanceResourceTiming "> < dfn > resource
410
+ info</ dfn > </ a > .
411
+ </ p >
407
412
< p >
408
413
The < a > PerformanceResourceTiming</ a > interface participates in the
409
414
< a data-cite =
@@ -653,13 +658,13 @@ <h3>
653
658
</ p >
654
659
< p data-dfn-for ="PerformanceResourceTiming ">
655
660
The < dfn > encodedBodySize</ dfn > getter steps are to return
656
- < a > this</ a > 's < a data-for ="PerformanceResourceTiming "> timing
657
- info</ a > 's [=fetch timing info/encoded body size=].
661
+ < a > this</ a > 's < a data-for ="PerformanceResourceTiming "> resource
662
+ info</ a > 's [=response body info/encoded size=].
658
663
</ p >
659
664
< p data-dfn-for ="PerformanceResourceTiming ">
660
665
The < dfn > decodedBodySize</ dfn > getter steps are to return
661
- < a > this</ a > 's < a data-for ="PerformanceResourceTiming "> timing
662
- info</ a > 's [=fetch timing info/decoded body size=].
666
+ < a > this</ a > 's < a data-for ="PerformanceResourceTiming "> resource
667
+ info</ a > 's [=response body info/decoded size=].
663
668
</ p >
664
669
< p data-dfn-for ="PerformanceResourceTiming ">
665
670
The < dfn > transferSize</ dfn > getter steps are to perform the following
681
686
< li >
682
687
< p >
683
688
Return < a > this</ a > 's < a data-for =
684
- "PerformanceResourceTiming "> timing info</ a > 's [=fetch timing
685
- info/encoded body size=] plus 300.
689
+ "PerformanceResourceTiming "> response body info</ a > 's [=response body
690
+ info/encoded size=] plus 300.
686
691
</ p >
687
692
< p class ='note '>
688
693
The constant number added to `transferSize` replaces exposing the
@@ -1056,16 +1061,16 @@ <h2>
1056
1061
< p >
1057
1062
To < dfn data-export =""> mark resource timing</ dfn > given a [=/fetch
1058
1063
timing info=] |timingInfo|, a DOMString |requestedURL|, a DOMString
1059
- |initiatorType| a < a > global object</ a > |global|, and a string
1060
- |cacheMode|, perform the following steps:
1064
+ |initiatorType| a < a > global object</ a > |global|, a string
1065
+ |cacheMode|, and a [=/response body info=] |bodyInfo|, perform the following steps:
1061
1066
</ p >
1062
1067
< ol >
1063
1068
< li > Create a < a > PerformanceResourceTiming</ a > object |entry| in
1064
1069
|global|'s [=global object/realm=].
1065
1070
</ li >
1066
1071
< li >
1067
1072
< a > Setup the resource timing entry</ a > for |entry|, given
1068
- |initiatorType|, |requestedURL|, |timingInfo|, and |cacheMode |.
1073
+ |initiatorType|, |requestedURL|, |timingInfo|, |cacheMode|, and |bodyInfo |.
1069
1074
</ li >
1070
1075
< li >
1071
1076
< a data-cite =
@@ -1082,8 +1087,8 @@ <h2>
1082
1087
To < dfn data-export =""> setup the resource timing entry</ dfn > for
1083
1088
< a > PerformanceResourceTiming</ a > |entry| given DOMString
1084
1089
|initiatorType|, DOMString |requestedURL|, [=/fetch timing info=]
1085
- |timingInfo|, and a DOMString |cacheMode|, perform the following
1086
- steps:
1090
+ |timingInfo|, a DOMString |cacheMode|, and a [=response body info=] |bodyInfo|,
1091
+ perform the following steps:
1087
1092
</ p >
1088
1093
< ol >
1089
1094
< li > Assert that |cacheMode| is the empty string or
@@ -1097,6 +1102,8 @@ <h2>
1097
1102
</ li >
1098
1103
< li > Set |entry|'s < a data-for ="PerformanceResourceTiming "> timing
1099
1104
info</ a > to |timingInfo|.
1105
+ < li > Set |entry|'s < a data-for ="PerformanceResourceTiming "> response body info</ a >
1106
+ to |bodyInfo|.
1100
1107
</ li >
1101
1108
< li > Set |entry|'s < a data-for ="PerformanceResourceTiming "> cache
1102
1109
mode</ a > to |cacheMode|.
0 commit comments