@@ -6811,24 +6811,24 @@ A <dfn>network data</dfn> is a [=/struct=] with:
6811
6811
* [=struct/Item=] named <dfn for="network-data">type</dfn> , which is a <code> [=network.DataType=] </code> .
6812
6812
6813
6813
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;
6815
6815
* [=struct/item=] named <dfn for="network-collector">contexts</dfn> , which is a [=/list=] of [=navigable id=] ;
6816
6816
* [=struct/item=] named <dfn for="network-collector">data types</dfn> , which is a [=/list=] of <code> [=network.DataType=] </code> ;
6817
6817
* [=struct/item=] named <dfn for="network-collector">collector</dfn> , which is a <code> [=network.Collector=] </code> ;
6818
6818
* [=struct/item=] named <dfn for="network-collector">collector type</dfn> , which is a <code> [=network.CollectorType=] </code> ;
6819
6819
* [=struct/item=] named <dfn for="network-collector">user contexts</dfn> , which is a [=/list=] of <code> [=browser.UserContext=] </code> .
6820
6820
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),
6822
6822
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=] .
6824
6824
6825
6825
A [=BiDi session=] has <dfn>network collectors</dfn> which is a [=/map=] between
6826
6826
<code> [=network.Collector=] </code> and a [=network/collector=] . It is initially empty.
6827
6827
6828
6828
A [=remote end=] has <dfn>collected network data</dfn> which is a list of
6829
6829
[=network data=] . It is initially empty.
6830
6830
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
6832
6832
the size allocated to collect network data in [=collected network data=] . Its
6833
6833
value is implementation-defined.
6834
6834
@@ -7003,7 +7003,7 @@ To <dfn>maybe collect network response body</dfn> given |request| and |response|
7003
7003
7004
7004
1. For |collector| in |collectors|:
7005
7005
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=] ,
7007
7007
[=list/append=] |collector|'s [=network-collector/collector=] to |collected data|' s
7008
7008
[=network-data/collectors=] .
7009
7009
@@ -7024,7 +7024,7 @@ To <dfn>maybe collect network response body</dfn> given |request| and |response|
7024
7024
<div algorithm>
7025
7025
To <dfn>allocate size to record data</dfn> given |size|:
7026
7026
7027
- 1. Let |available size| be [=max total data size=] .
7027
+ 1. Let |available size| be [=max total collected size=] .
7028
7028
7029
7029
1. Let |already collected data| be an empty list.
7030
7030
@@ -8491,16 +8491,16 @@ The [=remote end steps=] given |session| and |command parameters| are:
8491
8491
1. Let |data types| be [=set/create|create a set=] with
8492
8492
|command parameters|["<code>dataTypes</code>"] .
8493
8493
8494
- 1. Let |max encoded data size| be |command parameters|
8494
+ 1. Let |max encoded item size| be |command parameters|
8495
8495
["<code>maxEncodedDataSize</code>"] .
8496
8496
8497
8497
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
8499
8499
given collector, not the total collector's collected size.
8500
8500
8501
8501
Note: Different implementations might support different encodings, which means the
8502
8502
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
8504
8504
in some implementations.
8505
8505
8506
8506
1. Let |collector type| be |command parameters|
@@ -8515,8 +8515,8 @@ The [=remote end steps=] given |session| and |command parameters| are:
8515
8515
1. If |input user context ids| is not empty and |input context ids| is not
8516
8516
empty, return [=error=] with [=error code=] [=invalid argument=] .
8517
8517
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=] .
8520
8520
8521
8521
1. If |input context ids| is not [=set/empty=] :
8522
8522
@@ -8537,7 +8537,7 @@ The [=remote end steps=] given |session| and |command parameters| are:
8537
8537
1. If |user context| is null, return [=error=] with [=error code=] [=invalid argument=] .
8538
8538
8539
8539
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|,
8541
8541
[=network-collector/data types=] field set to |data types|,
8542
8542
[=network-collector/collector=] field set to |collector id|,
8543
8543
[=network-collector/collector type=] field set to |collector type|,
0 commit comments