Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: test/mjsunit/harmony/futex.js

Issue 2732213005: Revert "This is a speculative chain of reverts to improve a Chrome" (Closed)
Patch Set: merge Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/heap/test-spaces.cc ('k') | test/mjsunit/minmax-simple.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/futex.js
diff --git a/test/mjsunit/harmony/futex.js b/test/mjsunit/harmony/futex.js
index ea71be99fb68dcc05ee6af92e805cc7c8d4a6035..458e234dc71b7630a1cc6c0017d5a9a8b4126550 100644
--- a/test/mjsunit/harmony/futex.js
+++ b/test/mjsunit/harmony/futex.js
@@ -109,6 +109,14 @@
Atomics.wake(i32a, 0, Number.POSITIVE_INFINITY);
})();
+// In a previous version, this test caused a check failure
+(function TestObjectWaitValue() {
+ var sab = new SharedArrayBuffer(16);
+ var i32a = new Int32Array(sab);
+ assertEquals("timed-out", Atomics.wait(i32a, 0, Math, 0));
+})();
+
+
//// WORKER ONLY TESTS
if (this.Worker) {
« no previous file with comments | « test/cctest/heap/test-spaces.cc ('k') | test/mjsunit/minmax-simple.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698