[Webkit-unassigned] [Bug 233556] Console Timing API does not contain space before duration when it gets printed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 30 10:47:43 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=233556

--- Comment #3 from Youssef Soliman <youssefdevelops at gmail.com> ---
(In reply to Devin Rousso from comment #2)
> (In reply to Max Schmitt from comment #0)
> > There should be a space between the duration and the unit, see here in the spec: https://console.spec.whatwg.org/#timelog
> 
> I dont think this is correct.  The exact wording is
> 
> > Let _duration_ be a string representing the difference between the current time and _startTime_, in an implementation-defined format.
> 
> The only space that's required is between the `:` and the _duration_, which
> we already have.  The example includes spaces, but that's just an example
> not required output.

Thanks, Devin, the spec never explicitly mentions a space between the value and unit in _duration_. For example, in the latest Node.js release, the output is `MyTimer: 0.018ms`.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211130/8ba1f423/attachment.htm>


More information about the webkit-unassigned mailing list