From dff37af3f1b35eaef3ef7e8d79268f466c3d65aa Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Fri, 27 Apr 2018 10:29:27 -0400 Subject: [PATCH 1/2] Defines $262.agent.monotonicNow() --- INTERPRETING.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/INTERPRETING.md b/INTERPRETING.md index b56bca6813..63992c9758 100644 --- a/INTERPRETING.md +++ b/INTERPRETING.md @@ -93,6 +93,7 @@ properties of the global scope prior to test execution. sleeps the agent for approximately that duration. - **`leaving`** - a function that signals that the agent is done and may be terminated (if possible). + - **`monotonicNow`** - a function that returns a value that conforms to [`DOMHighResTimeStamp`][] and is produced in such a way that its semantics conform to **[Monotonic Clock][]**. - **`broadcast`** - a function that takes a SharedArrayBuffer and an Int32 and broadcasts the two values to all concurrent agents. The function blocks until all agents have retrieved the message. Note, this assumes @@ -101,6 +102,19 @@ properties of the global scope prior to test execution. and returns it if it exists, or returns `null` otherwise. - **`sleep`** - a function that takes a millisecond argument and sleeps the execution for approximately that duration. + - **`monotonicNow`** - a function that returns a value that conforms to [`DOMHighResTimeStamp`][] and is produced in such a way that its semantics conform to **[Monotonic Clock][]**. + + +#### Normative references + +[`DOMHighResTimeStamp`][], **[Monotonic Clock][]**
+Ilya Grigorik, James Simonsen, Jatinder Mann.
+[High Resolution Time Level 2](https://www.w3.org/TR/hr-time-2/) March 2018. W3C. URL: [https://www.w3.org/TR/hr-time-2/](https://www.w3.org/TR/hr-time-2/) + + +[`DOMHighResTimeStamp`]: https://www.w3.org/TR/hr-time-2/#sec-domhighrestimestamp "**DOMHighResTimeStamp**" +[Monotonic Clock]: https://www.w3.org/TR/hr-time-2/#sec-monotonic-clock "**Monotonic Clock**" + ### Strict Mode From 8dbeb27b59d835311868fe6793f8efad2e5855be Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Fri, 27 Apr 2018 10:29:37 -0400 Subject: [PATCH 2/2] v3.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9eec0d8971..2b58e7879b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "test262", - "version": "2.0.0", + "version": "3.0.0", "description": "Test262 tests conformance to the continually maintained draft future ECMAScript standard found at http://tc39.github.io/ecma262/ , together with any Stage 3 or later TC39 proposals.", "repository": { "type": "git",