File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -354,12 +354,11 @@ <h3 id="serialize-reports" algorithm>Serialize Reports</h3>
354354
355355 To < dfn > serialize a list of |reports| to JSON</ dfn > ,
356356
357- 1. Let |collection| be a new ECMAScript `Array` object [[!ECMA-262]] .
357+ 1. Let |collection| be an empty list .
358358
359359 2. For each |report| in |reports|:
360360
361- 1. Let |data| be a new ECMAScript `Object` with the following properties
362- [[!ECMA-262]]:
361+ 1. Let |data| be a map with the following key/value pairs:
363362
364363 : `age`
365364 :: The number of milliseconds between |report|'s [=report/timestamp=]
@@ -381,8 +380,8 @@ <h3 id="serialize-reports" algorithm>Serialize Reports</h3>
381380
382381 3. Append |data| to |collection|.
383382
384- 3. Return the [=byte sequence=] resulting from executing [=serialize JSON to
385- bytes=] on |collection|.
383+ 3. Return the [=byte sequence=] resulting from executing [=serialize an Infra
384+ value to JSON bytes=] on |collection|.
386385</ section >
387386
388387< section >
You can’t perform that action at this time.
0 commit comments