v8/test/mjsunit/harmony
Jakob Kummerow dcc6bd76a9 [bigint] Two more fixes for fast .toString()
Firstly, the fast path checking for applicability of the equality
"A/B = 0 with remainder A" must use the condition "A<B", not "A<=B".
Secondly, *all* early return paths must ensure that enough padding
'0' characters are written.

Fixed: chromium:1236694
Bug: v8:11515
Change-Id: I3fa7e17f5f3969ddbb5417b53abf3bff3fc1355b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3075365
Reviewed-by: Adam Klein <adamk@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#76139}
2021-08-06 17:08:05 +00:00
..
bigint [bigint] Two more fixes for fast .toString() 2021-08-06 17:08:05 +00:00
regress
weakrefs Rename stress_flush_bytecode to stress_flush_code 2021-08-02 19:02:57 +00:00
aggregate-error.js [flags] Remove --harmony-promise-any 2020-11-12 01:09:38 +00:00
array-concat-array-proto-getter.js
array-concat-array-proto.js
array-concat-object-proto-dict-getter.js
array-concat-object-proto-dict.js
array-concat-object-proto-generic-dict.js
array-concat-object-proto.js
array-findlast-unscopables.js [builtins] Implement Array#findFromLast and friends 2021-07-29 19:37:15 +00:00
array-flat-species.js
array-flat.js
array-flatMap-species.js
array-flatMap.js
array-prototype-findlast.js [builtins] Implement Array#findFromLast and friends 2021-07-29 19:37:15 +00:00
array-prototype-findlastindex.js [builtins] Implement Array#findFromLast and friends 2021-07-29 19:37:15 +00:00
array-sort-comparefn.js
async-await-optimization.js
async-for-of-non-iterable.js
async-from-sync-iterator-next-tick-count.js
async-from-sync-iterator-return-tick-count.js
async-from-sync-iterator-throw-tick-count.js
async-from-sync-iterator.js
async-generators-basic.js
async-generators-resume-return.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
async-generators-return.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
async-generators-throw-caught.js Add a synthetic return for async generator functions 2020-02-24 19:33:46 +00:00
async-generators-yield.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
async-iterators-resolve.js
atomics-on-arraybuffer-detach.js [atomics] Relax Atomics methods to work on ArrayBuffers 2020-08-13 22:10:07 +00:00
atomics-value-check.js [test] Make worker related tests more fuzzable 2021-01-26 12:09:59 +00:00
atomics-waitasync-1thread-2timeout.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
atomics-waitasync-1thread-buffer-out-of-scope-timeout.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
atomics-waitasync-1thread-promise-out-of-scope.js Reland2: [Atomics.waitAsync] Implement Atomics.waitAsync 2020-07-21 06:43:48 +00:00
atomics-waitasync-1thread-timeout.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
atomics-waitasync-1thread-timeouts-and-no-timeouts.js [test] Make worker related tests more fuzzable 2021-01-26 12:09:59 +00:00
atomics-waitasync-1thread-wake-up-all.js Reland2: [Atomics.waitAsync] Implement Atomics.waitAsync 2020-07-21 06:43:48 +00:00
atomics-waitasync-1thread-wake-up-fifo.js Reland2: [Atomics.waitAsync] Implement Atomics.waitAsync 2020-07-21 06:43:48 +00:00
atomics-waitasync-1thread-wake-up-simple.js Reland2: [Atomics.waitAsync] Implement Atomics.waitAsync 2020-07-21 06:43:48 +00:00
atomics-waitasync-helpers.js [test] Make worker related tests more fuzzable 2021-01-26 12:09:59 +00:00
atomics-waitasync-worker-shutdown-before-wait-finished-2-waits.js [test] Make worker related tests more fuzzable 2021-01-26 12:09:59 +00:00
atomics-waitasync-worker-shutdown-before-wait-finished-2-workers.js [test] Make worker related tests more fuzzable 2021-01-26 12:09:59 +00:00
atomics-waitasync-worker-shutdown-before-wait-finished-no-timeout.js [test] Make worker related tests more fuzzable 2021-01-26 12:09:59 +00:00
atomics-waitasync-worker-shutdown-before-wait-finished-timeout.js [test] Make worker related tests more fuzzable 2021-01-26 12:09:59 +00:00
atomics-waitasync.js Reland2: [Atomics.waitAsync] Implement Atomics.waitAsync 2020-07-21 06:43:48 +00:00
atomics.js [atomics] Relax Atomics methods to work on ArrayBuffers 2020-08-13 22:10:07 +00:00
bigintarray-keyedstore-tobigint.js
block-lazy-compile.js
class-static-blocks.js [class] Disallow return in class static blocks 2021-05-18 06:19:07 +00:00
dataview-accessors.js
error-cause.js [init] Error cause should not present on Error.prototype 2021-07-23 06:38:46 +00:00
eval-param-scoping.js Remove per-parameter position var scope 2019-12-19 10:38:00 +00:00
for-await-of.js
function-tostring.js
futex.js [test] Make worker related tests more fuzzable 2021-01-26 12:09:59 +00:00
generators-reduced.js
generators.js
global-configurable.js
global-writable.js
global.js
harmony-string-pad-end.js
harmony-string-pad-start.js
has-own.js [Object.hasOwn] Implementation Object.hasOwn tc39 proposal 2021-05-31 08:46:56 +00:00
hashbang-eval.js
import-from-compilation-errored.js
import-from-evaluation-errored.js [top-level-await] Ship top-level await 2021-03-15 23:34:34 +00:00
import-from-fetch-errored.js [d8] Throw Error objects instead of strings by default 2021-01-21 13:13:21 +00:00
import-from-instantiation-errored.js Reland "[runtime] Use Isolate::ThrowAt with MessageLocation" 2020-10-24 20:33:31 +00:00
logical-assignment-function-name.js Reland "Set .name of anonymous functions on the RHS of logical assignment." 2020-06-03 23:14:58 +00:00
logical-assignment.js Implement logical assignment 2020-04-23 07:23:58 +00:00
module-parsing-eval.mjs
modules-import-1.mjs
modules-import-2.mjs
modules-import-3.mjs
modules-import-4.mjs
modules-import-5.mjs
modules-import-6.mjs
modules-import-7.mjs
modules-import-8.mjs [d8] Exit with error code upon unhandled promise rejection 2020-06-24 07:21:58 +00:00
modules-import-9.mjs
modules-import-10.mjs
modules-import-11.mjs
modules-import-12.mjs
modules-import-13.mjs
modules-import-14.mjs
modules-import-15-top-level-await.mjs [d8] Throw Error objects instead of strings by default 2021-01-21 13:13:21 +00:00
modules-import-15.mjs [top-level-await] Ship top-level await 2021-03-15 23:34:34 +00:00
modules-import-16.mjs
modules-import-17.mjs
modules-import-assertions-1.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-2.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-3.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-4.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-dynamic-1.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-dynamic-2.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-dynamic-3.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-dynamic-4.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-dynamic-5.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-dynamic-6.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-dynamic-7.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-dynamic-8.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-dynamic-9.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-dynamic-10.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-import-assertions-dynamic-11.mjs Fix top-level await crash from synthetic module being evaluated twice 2021-02-10 16:50:25 +00:00
modules-import-assertions-dynamic-12.mjs Handle failure in KeyAccumulator::GetKeys 2021-05-06 17:05:51 +00:00
modules-import-large.mjs
modules-import-meta.mjs
modules-import-namespace.mjs
modules-import-rqstd-order-async-cycle.mjs [top-level-await] Implement spec fix for cycle root detection 2021-02-03 18:07:58 +00:00
modules-import-rqstd-order-async-subgraph.mjs [top-level-await] Implement the new post-order requirement for async subgraphs 2021-03-19 19:22:04 +00:00
modules-import-rqstd-order-top-level-await-1.mjs
modules-import-rqstd-order-top-level-await-2.mjs
modules-import-rqstd-order-top-level-await-3.mjs
modules-import-rqstd-order-top-level-await-4.mjs
modules-import-rqstd-order-top-level-await-5.mjs
modules-import-rqstd-order-top-level-await-6.mjs
modules-import-rqstd-order-top-level-await-7.mjs
modules-import-rqstd-order-top-level-await-8.mjs
modules-import-top-level-await-1.mjs
modules-import-top-level-await-2.mjs
modules-import-top-level-await-3.mjs
modules-import-top-level-await-4.mjs
modules-import-top-level-await-5.mjs
modules-import-top-level-await-6.mjs
modules-import-top-level-await-7.mjs
modules-import-top-level-await-8.mjs
modules-import-top-level-await-cycle.mjs
modules-import-top-level-await-exception-1.mjs [d8] Exit with error code upon unhandled promise rejection 2020-06-24 07:21:58 +00:00
modules-import-top-level-await-exception-2.mjs [d8] Exit with error code upon unhandled promise rejection 2020-06-24 07:21:58 +00:00
modules-import-top-level-await-exception-3.mjs [d8] Exit with error code upon unhandled promise rejection 2020-06-24 07:21:58 +00:00
modules-skip-1-rqstd-order-indirect-top-level-await.mjs
modules-skip-1-rqstd-order-indirect-unreached-top-level-await.mjs
modules-skip-1-rqstd-order-top-level-await.mjs
modules-skip-1-rqstd-order-unreached-top-level-await.mjs
modules-skip-1-rqstd-order.mjs
modules-skip-1-top-level-await-cycle.mjs
modules-skip-1-top-level-await.mjs
modules-skip-1.json [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-skip-1.mjs
modules-skip-2-rqstd-order-indirect-top-level-await.mjs
modules-skip-2-rqstd-order-top-level-await.mjs
modules-skip-2-rqstd-order.mjs
modules-skip-2-top-level-await-cycle.mjs
modules-skip-2-top-level-await.mjs
modules-skip-2.mjs
modules-skip-3-rqstd-order-indirect-top-level-await.mjs
modules-skip-3-rqstd-order-top-level-await.mjs
modules-skip-3-rqstd-order.mjs
modules-skip-3-top-level-await-cycle.mjs
modules-skip-3-top-level-await.mjs
modules-skip-3.mjs
modules-skip-4-rqstd-order-indirect-top-level-await.mjs
modules-skip-4-rqstd-order-top-level-await.mjs
modules-skip-4-rqstd-order.mjs
modules-skip-4-top-level-await-cycle.mjs
modules-skip-4-top-level-await.mjs
modules-skip-4.mjs
modules-skip-5-top-level-await.mjs
modules-skip-5.mjs
modules-skip-6-top-level-await.mjs
modules-skip-6.mjs
modules-skip-7-top-level-await.mjs
modules-skip-7.mjs
modules-skip-8.mjs
modules-skip-9.mjs
modules-skip-10.mjs
modules-skip-11.mjs
modules-skip-12.mjs
modules-skip-13.mjs
modules-skip-async-cycle-1.mjs [top-level-await] Implement spec fix for cycle root detection 2021-02-03 18:07:58 +00:00
modules-skip-async-cycle-2.mjs [top-level-await] Implement spec fix for cycle root detection 2021-02-03 18:07:58 +00:00
modules-skip-async-cycle-3.mjs [top-level-await] Implement spec fix for cycle root detection 2021-02-03 18:07:58 +00:00
modules-skip-async-cycle-leaf.mjs [top-level-await] Implement spec fix for cycle root detection 2021-02-03 18:07:58 +00:00
modules-skip-async-cycle-start.mjs [top-level-await] Implement spec fix for cycle root detection 2021-02-03 18:07:58 +00:00
modules-skip-async-subgraph-1.mjs [top-level-await] Implement the new post-order requirement for async subgraphs 2021-03-19 19:22:04 +00:00
modules-skip-async-subgraph-2.mjs [top-level-await] Implement the new post-order requirement for async subgraphs 2021-03-19 19:22:04 +00:00
modules-skip-async-subgraph-async.mjs [top-level-await] Implement the new post-order requirement for async subgraphs 2021-03-19 19:22:04 +00:00
modules-skip-async-subgraph-start.mjs [top-level-await] Implement the new post-order requirement for async subgraphs 2021-03-19 19:22:04 +00:00
modules-skip-async-subgraph-x.mjs [top-level-await] Implement the new post-order requirement for async subgraphs 2021-03-19 19:22:04 +00:00
modules-skip-empty.mjs
modules-skip-export-import-meta.mjs
modules-skip-imports-json-1.mjs [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
modules-skip-large1.mjs
modules-skip-large2.mjs
nullish.js
numeric-separator.js
object-fromentries.js
optional-catch-binding-breaks.js
optional-catch-binding.js
optional-chaining-this-private.js [class] Fix parenthesized calls of optional chains containing private fields 2020-05-25 19:04:54 +00:00
optional-chaining-this.js Fix the receiver when calling parenthesized optional chains 2019-11-29 00:44:06 +00:00
optional-chaining.js Support the o?.#foo syntax 2020-04-14 10:16:25 +00:00
private-accessors.js [flags] Remove --harmony-private-methods 2020-11-12 23:21:53 +00:00
private-brand-checks.js [classes] Implement private brand checks 2021-02-11 14:46:47 +00:00
private-fields-ic.js
private-fields-special-object.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
private-fields-static.js
private-fields.js
private-methods-empty-inner.js [flags] Remove --harmony-private-methods 2020-11-12 23:21:53 +00:00
private-methods.js [flags] Remove --harmony-private-methods 2020-11-12 23:21:53 +00:00
private-name-scopes.js
private-symbols.js
private.js
promise-all-settled.js [flags] Remove --harmony-promise-all-settled 2020-11-03 19:34:42 +00:00
promise-any-overflow-1.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
promise-any-overflow-2.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
promise-any-resolve-not-callable.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
promise-any.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
promise-prototype-finally.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
public-instance-class-fields.js
public-static-class-fields.js
regexp-change-exec.js
regexp-dotall.js
regexp-match-indices.js [dict-proto] Constness tracking of dictionary properties (jitless) 2021-02-04 11:42:33 +00:00
regexp-named-captures.js
regexp-overriden-exec.js
regexp-property-binary.js
regexp-property-char-class.js
regexp-property-emoji-flag-sequence-generated.js Revert "Update RegExp sequence property support" 2020-10-29 07:46:01 +00:00
regexp-property-emoji-keycap-sequence-generated.js Revert "Update RegExp sequence property support" 2020-10-29 07:46:01 +00:00
regexp-property-emoji-modifier-sequence-generated.js Revert "Update RegExp sequence property support" 2020-10-29 07:46:01 +00:00
regexp-property-emoji-tag-sequence-generated.js Revert "Update RegExp sequence property support" 2020-10-29 07:46:01 +00:00
regexp-property-emoji-zwj-sequence-generated.js Revert "Update RegExp sequence property support" 2020-10-29 07:46:01 +00:00
regexp-property-enumerated.js
regexp-property-exact-match.js
regexp-property-general-category.js
regexp-property-invalid.js
regexp-property-lu-ui0.js
regexp-property-lu-ui1.js
regexp-property-lu-ui2.js
regexp-property-lu-ui3.js
regexp-property-lu-ui4.js
regexp-property-lu-ui5.js
regexp-property-lu-ui6.js
regexp-property-lu-ui7.js
regexp-property-lu-ui8.js
regexp-property-lu-ui9.js
regexp-property-lu-ui.js
regexp-property-script-extensions.js
regexp-property-scripts.js
regexp-property-sequence.js Revert "Update RegExp sequence property support" 2020-10-29 07:46:01 +00:00
regexp-property-special.js
regress-generators-resume.js
relative-indexing-methods.js Add 'at' to Array.prototype[@@unscopables] 2020-11-24 15:41:11 +00:00
set-prototype-of.js
sharedarraybuffer-stress.js
sharedarraybuffer-worker-gc-stress.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
sharedarraybuffer.js [test] Update TypedArray tests 2019-11-14 15:32:26 +00:00
static-private-methods.js [flags] Remove --harmony-private-methods 2020-11-12 23:21:53 +00:00
string-matchAll-deleted-matchAll.js
string-matchAll.js Reland "[torque] Allow storing to bitfield structs that are stored in Smis" 2020-04-22 10:34:46 +00:00
string-replaceAll.js [replaceAll] Fix replaceAll overflow with StringCompareSequence. 2019-12-26 18:47:05 +00:00
symbol-async-iterator.js
symbol-description.js
to-length.js [interpreter] Remove unused interpreter intrinsics 2021-06-17 13:43:41 +00:00
to-name.js
to-number.js
to-string.js [cleanup] Remove ToString intrinsic 2021-04-23 15:02:42 +00:00
trailing-commas-length.js
typedarray-findlast.js [builtins] Implement Array#findFromLast and friends 2021-07-29 19:37:15 +00:00
typedarray-findlastindex.js [builtins] Implement Array#findFromLast and friends 2021-07-29 19:37:15 +00:00
typedarray-set-length-detach.js [elements] Remove detach CHECK from the generic TypedArray#set 2020-09-22 16:10:38 +00:00
well-formed-json-stringify-checked.js
well-formed-json-stringify-unchecked.js