Skip to content

Commit dd50daf

Browse files
[editorial] rename (#1013)
* /s/max encoded data size/max encoded item size * /s/max total data size/max total collected size
1 parent 2c48c76 commit dd50daf

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

index.bs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6811,24 +6811,24 @@ A <dfn>network data</dfn> is a [=/struct=] with:
68116811
* [=struct/Item=] named <dfn for="network-data">type</dfn>, which is a <code>[=network.DataType=]</code>.
68126812

68136813
A <dfn for="network">collector</dfn> is a [=/struct=] with:
6814-
* [=struct/Item=] named <dfn for="network-collector">max encoded data size</dfn>, which is a js-uint;
6814+
* [=struct/Item=] named <dfn for="network-collector">max encoded item size</dfn>, which is a js-uint;
68156815
* [=struct/item=] named <dfn for="network-collector">contexts</dfn>, which is a [=/list=] of [=navigable id=];
68166816
* [=struct/item=] named <dfn for="network-collector">data types</dfn>, which is a [=/list=] of <code>[=network.DataType=]</code>;
68176817
* [=struct/item=] named <dfn for="network-collector">collector</dfn>, which is a <code>[=network.Collector=]</code>;
68186818
* [=struct/item=] named <dfn for="network-collector">collector type</dfn>, which is a <code>[=network.CollectorType=]</code>;
68196819
* [=struct/item=] named <dfn for="network-collector">user contexts</dfn>, which is a [=/list=] of <code>[=browser.UserContext=]</code>.
68206820

6821-
Note: [=network-collector/Max encoded data size=] defines the limit per item (response or request),
6821+
Note: [=network-collector/max encoded item size=] defines the limit per item (response or request),
68226822
and does not limit the size collected by the specific collector. The total size of all collected resources is
6823-
limited by [=max total data size=].
6823+
limited by [=max total collected size=].
68246824

68256825
A [=BiDi session=] has <dfn>network collectors</dfn> which is a [=/map=] between
68266826
<code>[=network.Collector=]</code> and a [=network/collector=]. It is initially empty.
68276827

68286828
A [=remote end=] has <dfn>collected network data</dfn> which is a list of
68296829
[=network data=]. It is initially empty.
68306830

6831-
A [=remote end=] has a <dfn>max total data size</dfn> which is a js-uint representing
6831+
A [=remote end=] has a <dfn>max total collected size</dfn> which is a js-uint representing
68326832
the size allocated to collect network data in [=collected network data=]. Its
68336833
value is implementation-defined.
68346834

@@ -7003,7 +7003,7 @@ To <dfn>maybe collect network response body</dfn> given |request| and |response|
70037003

70047004
1. For |collector| in |collectors|:
70057005

7006-
1. If |size| is less than or equal to |collector|'s [=network-collector/max encoded data size=],
7006+
1. If |size| is less than or equal to |collector|'s [=network-collector/max encoded item size=],
70077007
[=list/append=] |collector|'s [=network-collector/collector=] to |collected data|'s
70087008
[=network-data/collectors=].
70097009

@@ -7024,7 +7024,7 @@ To <dfn>maybe collect network response body</dfn> given |request| and |response|
70247024
<div algorithm>
70257025
To <dfn>allocate size to record data</dfn> given |size|:
70267026

7027-
1. Let |available size| be [=max total data size=].
7027+
1. Let |available size| be [=max total collected size=].
70287028

70297029
1. Let |already collected data| be an empty list.
70307030

@@ -8491,16 +8491,16 @@ The [=remote end steps=] given |session| and |command parameters| are:
84918491
1. Let |data types| be [=set/create|create a set=] with
84928492
|command parameters|["<code>dataTypes</code>"].
84938493

8494-
1. Let |max encoded data size| be |command parameters|
8494+
1. Let |max encoded item size| be |command parameters|
84958495
["<code>maxEncodedDataSize</code>"].
84968496

84978497
Note: The <code>maxEncodedDataSize</code> parameter represents
8498-
[=network-collector/max encoded data size=] and limits the size of each request collected by the
8498+
[=network-collector/max encoded item size=] and limits the size of each request collected by the
84998499
given collector, not the total collector's collected size.
85008500

85018501
Note: Different implementations might support different encodings, which means the
85028502
encoded size might be different between browsers. Therefore, for the same data collector
8503-
configuration, some network data might fit the [=network-collector/max encoded data size=] only
8503+
configuration, some network data might fit the [=network-collector/max encoded item size=] only
85048504
in some implementations.
85058505

85068506
1. Let |collector type| be |command parameters|
@@ -8515,8 +8515,8 @@ The [=remote end steps=] given |session| and |command parameters| are:
85158515
1. If |input user context ids| is not empty and |input context ids| is not
85168516
empty, return [=error=] with [=error code=] [=invalid argument=].
85178517

8518-
1. If |max encoded data size| is 0 or |max encoded data size| is greater than
8519-
[=max total data size=], return [=error=] with [=error code=] [=invalid argument=].
8518+
1. If |max encoded item size| is 0 or |max encoded item size| is greater than
8519+
[=max total collected size=], return [=error=] with [=error code=] [=invalid argument=].
85208520

85218521
1. If |input context ids| is not [=set/empty=]:
85228522

@@ -8537,7 +8537,7 @@ The [=remote end steps=] given |session| and |command parameters| are:
85378537
1. If |user context| is null, return [=error=] with [=error code=] [=invalid argument=].
85388538

85398539
1. Let |collector| be a [=network/collector=] with
8540-
[=network-collector/max encoded data size=] field set to |max encoded data size|,
8540+
[=network-collector/max encoded item size=] field set to |max encoded item size|,
85418541
[=network-collector/data types=] field set to |data types|,
85428542
[=network-collector/collector=] field set to |collector id|,
85438543
[=network-collector/collector type=] field set to |collector type|,

0 commit comments

Comments
 (0)