w3c / resource-timing

Resource Timing
https://w3c.github.io/resource-timing/
Other
120 stars 35 forks source link

Inconsistent "response body info" vs "resource info" names #403

Open arai-a opened 1 month ago

arai-a commented 1 month ago

https://w3c.github.io/resource-timing/#dfn-resource-info

A PerformanceResourceTiming has an associated response body info resource info.

This section uses "response body info" as type name, and "resource info" as item name, but some other section refers the item as "response body info" name:

https://w3c.github.io/resource-timing/#dfn-setup-the-resource-timing-entry

Set entry's response body info to bodyInfo.

https://w3c.github.io/resource-timing/#dom-performanceresourcetiming-transfersize

Return this's response body info's encoded size plus 300.

I suppose those sections should also call the item "resource info", such as "this's resource info"

clelland commented 3 weeks ago

Thanks! That's definitely some confusion there; both of those should refer to [=resource info=] instead.