From 3b53e25128a04695d866fa83bd6709304af19dd8 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 17 Apr 2017 13:41:10 -0400 Subject: [PATCH] Test that it equals "ok" --- .../worker-that-requires-success.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/worker-that-requires-success.js b/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/worker-that-requires-success.js index cc93ffc8b720c4..eaa81595bd336f 100644 --- a/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/worker-that-requires-success.js +++ b/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/worker-that-requires-success.js @@ -5,8 +5,7 @@ test(() => { const sab = new SharedArrayBuffer(16); const ta = new Int32Array(sab); - // Test passes if this doesn't throw - Atomics.wait(ta, 0, 0, 10); + assert_equals(Atomics.wait(ta, 0, 0, 10), "ok"); }, `[[CanBlock]] in a ${self.constructor.name}`); done();