Skip to content

Commit 9c6babd

Browse files
authored
feat(ecmascript): Promise.allSettled (#872)
1 parent 66832e5 commit 9c6babd

File tree

15 files changed

+492
-430
lines changed

15 files changed

+492
-430
lines changed

nova_vm/src/builtin_strings

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ fromCharCode
150150
fromCodePoint
151151
fromEntries
152152
#[cfg(feature = "math")]fround
153+
fulfilled
153154
function
154155
Function
155156
Generator
@@ -320,6 +321,7 @@ race
320321
#[cfg(feature = "math")]random
321322
RangeError
322323
raw
324+
reason
323325
reduce
324326
reduceRight
325327
ReferenceError
@@ -328,6 +330,7 @@ Reflect
328330
#[cfg(feature = "regexp")]RegExp String Iterator
329331
register
330332
reject
333+
rejected
331334
repeat
332335
replace
333336
replaceAll
@@ -389,6 +392,7 @@ split
389392
#[cfg(feature = "math")]SQRT1_2
390393
#[cfg(feature = "math")]SQRT2
391394
startsWith
395+
status
392396
#[cfg(feature = "regexp")]sticky
393397
#[cfg(feature = "atomics")]store
394398
#[cfg(feature = "annex-b-string")]strike

nova_vm/src/ecmascript/builtins/control_abstraction_objects/promise_objects/promise_abstract_operations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// License, v. 2.0. If a copy of the MPL was not distributed with this
33
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
44

5-
pub(crate) mod promise_all_record;
65
pub mod promise_capability_records;
76
pub(crate) mod promise_finally_functions;
7+
pub(crate) mod promise_group_record;
88
pub(crate) mod promise_jobs;
99
pub(crate) mod promise_reaction_records;
1010
pub(crate) mod promise_resolving_functions;

nova_vm/src/ecmascript/builtins/control_abstraction_objects/promise_objects/promise_abstract_operations/promise_all_record.rs

Lines changed: 0 additions & 184 deletions
This file was deleted.

0 commit comments

Comments
 (0)