diff --git a/index.bs b/index.bs index 87f5fa9f..fd1d63c4 100644 --- a/index.bs +++ b/index.bs @@ -10988,6 +10988,8 @@ ignore>line number, column number, |message| and 1. Let |settings| be |script|'s [=script/settings object=]. +1. Let |timestamp| be a [=time value=] representing the current date and time in UTC. + 1. Let |stack| be the [=stack trace for an exception=] with the exception corresponding to the error being reported. @@ -10995,8 +10997,11 @@ ignore>line number, column number, |message| and 1. Let |entry| be a [=/map=] matching the log.JavascriptLogEntry production, with level set to "error", text set to - |message|, source set to |source|, and the timestamp - field set to |timestamp|. + |message|, source set to |source|, timestamp + set to |timestamp|, and the stackTrace field set to |stack|. + +1. Let |body| be a [=/map=] matching the log.EntryAdded production, with + the params field set to |entry|. 1. Let |related navigables| be the result of [=get related navigables=] given |settings|.