test262/harness
Rick Waldron e4883091b9 Introduce $262.agent.safeBroadcast and migrate Atomics tests.
Migrating all tests to this API is necessary to prevent tests from hanging indefinitely when a SAB is sent to a worker but the code in the worker attempts to create a non-sharable TypedArray (something that is not Int32Array or BigInt64Array). When that scenario occurs, an exception is thrown and the agent worker can no longer communicate with any other threads that control the SAB. If the main thread happens to be spinning in the $262.agent.waitUntil() while loop, it will never meet its termination condition and the test will hang indefinitely.

Because we've defined $262.agent.broadcast(SAB) in https://github.com/tc39/test262/blob/master/INTERPRETING.md, there are host implementations that assume compatibility, which must be maintained.
2018-11-20 15:17:47 -05:00
..
arrayContains.js Update all harness files to pass linting. (#1153) 2017-07-14 11:37:24 -04:00
assert.js Improve assertion handling when comparison causes failure via coercion 2018-10-23 17:25:58 -04:00
assertRelativeDateMs.js Update all harness files to pass linting. (#1153) 2017-07-14 11:37:24 -04:00
atomicsHelper.js Introduce $262.agent.safeBroadcast and migrate Atomics tests. 2018-11-20 15:17:47 -05:00
byteConversionValues.js Update all harness files to pass linting. (#1153) 2017-07-14 11:37:24 -04:00
compareArray.js harness/*: Eliminate unnecessary uses of features that would require "features: ..." tags 2017-09-08 12:25:44 -04:00
compareIterator.js Fleshed out tests for Symbol.matchAll, String.p.matchAll, RegExp.p[@@matchAll], and %RegExpStringIteratorPrototype% 2018-03-17 22:48:31 -05:00
dateConstants.js Add test cases for tc39/ecma402#194 2018-01-25 14:04:44 -05:00
decimalToHexString.js Update all harness files to pass linting. (#1153) 2017-07-14 11:37:24 -04:00
detachArrayBuffer.js Correct licensing (#1608) 2018-06-25 10:30:11 -04:00
doneprintHandle.js Make doneprinthandle.js accept the input and produce the output expected by test262-harness. (#1650) 2018-07-25 17:06:52 -07:00
features.yml Make Atomics tests more resilient against intermittent failures (#1617) 2018-07-03 12:34:54 -04:00
fnGlobalObject.js Update all harness files to pass linting. (#1153) 2017-07-14 11:37:24 -04:00
isConstructor.js Move remaining testBuiltInObject callers to use normal assert calls 2017-12-21 16:46:56 -05:00
nans.js Correct licensing (#1608) 2018-06-25 10:30:11 -04:00
nativeFunctionMatcher.js Correct licensing (#1608) 2018-06-25 10:30:11 -04:00
promiseHelper.js Update all harness files to pass linting. (#1153) 2017-07-14 11:37:24 -04:00
propertyHelper.js improve propertyHelper for failure messages (#1480) 2018-03-08 12:12:15 -05:00
proxyTrapsHelper.js Correct licensing (#1608) 2018-06-25 10:30:11 -04:00
regExpUtils.js Make RegExp/CharacterClassEscapes tests faster across all engines 2018-08-17 07:48:42 -07:00
sta.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
tcoHelper.js Correct licensing (#1608) 2018-06-25 10:30:11 -04:00
testAtomics.js Make Atomics tests more resilient against intermittent failures (#1617) 2018-07-03 12:34:54 -04:00
testBigIntTypedArray.js Fix various test bugs (#1502) 2018-03-22 16:36:57 -04:00
testIntl.js Intl: Add an overlong language to getInvalidLocaleArguments(). 2018-10-26 16:48:40 -04:00
testTypedArray.js Atomics: updates to tests 2018-04-19 15:09:39 -04:00
timer.js Update all harness files to pass linting. (#1153) 2017-07-14 11:37:24 -04:00
typeCoercion.js getBigInt64 2017-10-24 11:48:34 -04:00
wellKnownIntrinsicObjects.js Extensive Function toString updates for "Function.prototype.toString revision" proposal. (#1510) 2018-04-19 16:44:52 -04:00