Re: [whatwg/dom] Editorial: Update Event timeStamp initialization (#1000)

@domenic commented on this pull request.



> @@ -906,8 +906,9 @@ correct defaults.</p>
  <li><p>Set <var>event</var>'s <a>initialized flag</a>.
 
  <li>
-  <p>Initialize <var>event</var>'s {{Event/timeStamp}} attribute to a {{DOMHighResTimeStamp}}
-  representing the high resolution time from the <a>time origin</a> to <var>time</var>.
+  <p>Initialize <var>event</var>'s {{Event/timeStamp}} attribute to the
+  <a>relative high resolution coarse time</a> given <var>time</var> and <var>realm</var>'s
+  <a for=Realm>global object</a>.

_realm_ might be null. Probably the easiest way to handle this is to use _event_'s relevant global object, deferring the null-handling to that location.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1000#pullrequestreview-704314871

Received on Monday, 12 July 2021 16:29:23 UTC