@@ -6905,8 +6905,8 @@ To <dfn>get collected data</dfn> given |request id| and |data type|.
69056905
690669061. For |collected data| of [=collected network data=] :
69076907
6908- 1. If |collected data|'s <code> request </code> is |request id| and
6909- |collected data|'s <code> type </code> is |data type|, return |collected data|.
6908+ 1. If |collected data|'s [=network-data/request=] is |request id| and
6909+ |collected data|'s [=network-data/type=] is |data type|, return |collected data|.
69106910
691169111. Return null.
69126912
@@ -6919,7 +6919,7 @@ To <dfn>maybe abort network response body collection</dfn> given |request|:
69196919
692069201. If |collected data| is null, return.
69216921
6922- 1. Set |collected data|'s <code> pending </code> to false.
6922+ 1. Set |collected data|'s [=network-data/pending=] to false.
69236923
692469241. [=Resume=] with "<code> network data collected</code> " and (|request|'s [=request id=] , "response").
69256925
@@ -6939,7 +6939,7 @@ To <dfn>maybe collect network response body</dfn> given |request| and |response|
69396939 NOTE: This might happen if there are no collectors setup when the response is created,
69406940 and [=clone network response body=] does not clone the corresponding body.
69416941
6942- 1. Set |collected data|'s <code> pending </code> to false.
6942+ 1. Set |collected data|'s [=network-data/pending=] to false.
69436943
694469441. Let |navigable| be [=get navigable for request=] with |request|.
69456945
@@ -6997,22 +6997,23 @@ To <dfn>maybe collect network response body</dfn> given |request| and |response|
69976997
699869981. Let |processBodyError| be this step: Do nothing.
69996999
7000- 1. [=Fully read=] |collected data|’s <code> cloned body</code> given |processBody| and |processBodyError|.
7000+ 1. [=Fully read=] |collected data|’s [=network-data/ cloned body=] given |processBody| and |processBodyError|.
70017001
700270021. If |bytes| is not null:
70037003
70047004 1. For |collector| in |collectors|:
70057005
70067006 1. If |size| is less than or equal to |collector|'s [=network-collector/max encoded item size=] ,
7007- [=list/append=] |collector|'s [=network-collector/collector=] to |collected data|' s <code> collectors</code> .
7007+ [=list/append=] |collector|'s [=network-collector/collector=] to |collected data|' s
7008+ [=network-data/collectors=] .
70087009
7009- 1. If |collected data|'s <code> collectors </code> is not [=list/empty=] :
7010+ 1. If |collected data|'s [=network-data/collectors=] is not [=list/empty=] :
70107011
70117012 1. [=Allocate size to record data=] given |size|.
70127013
7013- 1. Set |collected data|'s <code> bytes </code> to |bytes|.
7014+ 1. Set |collected data|'s [=network-data/bytes=] to |bytes|.
70147015
7015- 1. Set |collected data|'s <code> size </code> to |size|.
7016+ 1. Set |collected data|'s [=network-data/size=] to |size|.
70167017
70177018 1. Otherwise, [=list/remove=] |collected data| from [=collected network data=] .
70187019
@@ -7029,21 +7030,21 @@ To <dfn>allocate size to record data</dfn> given |size|:
70297030
703070311. For each |collected data| in [=collected network data=] :
70317032
7032- 1. If |collected data|'s <code> bytes </code> is not null:
7033+ 1. If |collected data|'s [=network-data/bytes=] is not null:
70337034
7034- 1. Decrease |available size| by |collected data|'s <code> size </code> .
7035+ 1. Decrease |available size| by |collected data|'s [=network-data/size=] .
70357036
70367037 1. [=list/Append=] |collected data| to |already collected data|
70377038
703870391. If |size| is greater than |available size|:
70397040
70407041 1. For each |collected data| in |already collected data|:
70417042
7042- 1. Increase |available size| by |collected data|'s <code> size </code> .
7043+ 1. Increase |available size| by |collected data|'s [=network-data/size=] .
70437044
7044- 1. Set |collected data|'s <code> bytes </code> field to null.
7045+ 1. Set |collected data|'s [=network-data/bytes=] field to null.
70457046
7046- 1. Set |collected data|'s <code> size </code> field to null.
7047+ 1. Set |collected data|'s [=network-data/size=] field to null.
70477048
70487049 1. If |available size| is greater than or equal to |size|, return.
70497050
@@ -7052,11 +7053,11 @@ To <dfn>allocate size to record data</dfn> given |size|:
70527053<div algorithm>
70537054To <dfn>remove collector from data</dfn> given |collected data| and |collector id|:
70547055
7055- 1. If |collected data|'s <code> collectors </code> [=list/contains=] |collector id|:
7056+ 1. If |collected data|'s [=network-data/collectors=] [=list/contains=] |collector id|:
70567057
7057- 1. [=list/Remove=] |collector id| from |collected data|'s <code> collectors </code> .
7058+ 1. [=list/Remove=] |collector id| from |collected data|'s [=network-data/collectors=] .
70587059
7059- 1. If |collected data|'s <code> collectors </code> is [=list/empty=] :
7060+ 1. If |collected data|'s [=network-data/collectors=] is [=list/empty=] :
70607061
70617062 1. [=list/Remove=] |collected data| from [=collected network data=] .
70627063
@@ -9065,16 +9066,16 @@ The [=remote end steps=] given |session| and |command parameters| are:
90659066
90669067 1. Return [=error=] with [=error code=] [=no such network data=] .
90679068
9068- 1. If |collected data|'s <code> pending </code> is true:
9069+ 1. If |collected data|'s [=network-data/pending=] is true:
90699070
90709071 1. [=Await=] with "network data collected" and (|request id|, |data type|).
90719072
9072- 1. If |collector id| is not null and if |collected data|'s <code> collectors </code>
9073+ 1. If |collector id| is not null and if |collected data|'s [=network-data/collectors=]
90739074 does not [=list/contain=] |collector id|:
90749075
90759076 1. Return [=error=] with [=error code=] [=no such network data=] .
90769077
9077- 1. Let |bytes| be |collected data|'s <code> bytes </code> .
9078+ 1. Let |bytes| be |collected data|'s [=network-data/bytes=] .
90789079
907990801. If |bytes| is null,
90809081
0 commit comments