v8/test/mjsunit/harmony
littledan 5d7b9ece16 Async/await event listener test
This patch adds a test for async/await analogous to a previous Promise test.
It also fixes a typo in promise.js and makes a previous Promise test more
correct by ensuring that all assertions run before completion, fixing the
test expectations for the real result (which seems correct).

BUG=v8:4483
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel

Review-Url: https://codereview.chromium.org/2037653002
Cr-Commit-Position: refs/heads/master@{#36903}
2016-06-10 19:15:35 +00:00
..
regress Remove support for Object.observe 2016-04-22 09:02:41 +00:00
array-concat-array-proto-getter.js [runtime] Avoid @@isConcatSpreadable lookup for fast path Array.prototype.concat 2016-05-12 08:52:36 +00:00
array-concat-array-proto.js [runtime] Avoid @@isConcatSpreadable lookup for fast path Array.prototype.concat 2016-05-12 08:52:36 +00:00
array-concat-object-proto-dict-getter.js [runtime] Avoid @@isConcatSpreadable lookup for fast path Array.prototype.concat 2016-05-12 08:52:36 +00:00
array-concat-object-proto-dict.js [runtime] Avoid @@isConcatSpreadable lookup for fast path Array.prototype.concat 2016-05-12 08:52:36 +00:00
array-concat-object-proto-generic-dict.js [runtime] Avoid @@isConcatSpreadable lookup for fast path Array.prototype.concat 2016-05-12 08:52:36 +00:00
array-concat-object-proto.js [runtime] Avoid @@isConcatSpreadable lookup for fast path Array.prototype.concat 2016-05-12 08:52:36 +00:00
array-species-constructor-accessor.js Make array __proto__ manipulations not disturb the species protector 2016-05-04 16:48:50 +00:00
array-species-constructor-delete.js Make array __proto__ manipulations not disturb the species protector 2016-05-04 16:48:50 +00:00
array-species-constructor.js Make array __proto__ manipulations not disturb the species protector 2016-05-04 16:48:50 +00:00
array-species-delete.js Make array __proto__ manipulations not disturb the species protector 2016-05-04 16:48:50 +00:00
array-species-modified.js Make array __proto__ manipulations not disturb the species protector 2016-05-04 16:48:50 +00:00
array-species-parent-constructor.js Make array __proto__ manipulations not disturb the species protector 2016-05-04 16:48:50 +00:00
array-species-proto.js Make array __proto__ manipulations not disturb the species protector 2016-05-04 16:48:50 +00:00
array-species.js Remove runtime flags for Proxy and Reflect 2016-03-21 19:40:02 +00:00
arraybuffer-species.js
async-arrow-lexical-arguments.js [esnext] prototype runtime implementation for async functions 2016-05-17 00:27:51 +00:00
async-arrow-lexical-new.target.js [esnext] prototype runtime implementation for async functions 2016-05-17 00:27:51 +00:00
async-arrow-lexical-super.js [esnext] prototype runtime implementation for async functions 2016-05-17 00:27:51 +00:00
async-arrow-lexical-this.js [esnext] prototype runtime implementation for async functions 2016-05-17 00:27:51 +00:00
async-await-basic.js [esnext] Fix various callsites to use is_resumable, not is_generator 2016-05-31 17:15:15 +00:00
async-debug-basic.js [runtime] set AsyncFunctionNext/Throw to adapt arguments 2016-05-18 20:53:40 +00:00
async-debug-step-abort-at-break.js [debug] implement intuitive semantics for stepping over await call. 2016-06-03 15:31:52 +00:00
async-debug-step-continue-at-break.js [debug] implement intuitive semantics for stepping over await call. 2016-06-03 15:31:52 +00:00
async-debug-step-in-and-out.js [debug] implement intuitive semantics for stepping over await call. 2016-06-03 15:31:52 +00:00
async-debug-step-in-out-out.js [debug] implement intuitive semantics for stepping over await call. 2016-06-03 15:31:52 +00:00
async-debug-step-in.js [debug] implement intuitive semantics for stepping over await call. 2016-06-03 15:31:52 +00:00
async-debug-step-nested.js [debug] implement intuitive semantics for stepping over await call. 2016-06-03 15:31:52 +00:00
async-debug-step-next-constant.js [debug] implement intuitive semantics for stepping over await call. 2016-06-03 15:31:52 +00:00
async-debug-step-next.js [debug] implement intuitive semantics for stepping over await call. 2016-06-03 15:31:52 +00:00
async-debug-step-out.js [debug] implement intuitive semantics for stepping over await call. 2016-06-03 15:31:52 +00:00
async-function-debug-evaluate.js [test] add debugger tests for debug evaluation in async functions 2016-05-31 14:14:47 +00:00
async-function-debug-scopes.js [debug] implement intuitive semantics for stepping over await call. 2016-06-03 15:31:52 +00:00
async-function-stacktrace.js [heap] don't flush async functions, they may be resumed later 2016-05-20 12:07:51 +00:00
atomics.js [Atomics] Make Atomics.store a builtin using TF 2016-05-03 17:28:34 +00:00
block-lazy-compile.js
dataview-accessors.js
debug-async-break-on-stack.js [esnext] Fix various callsites to use is_resumable, not is_generator 2016-05-31 17:15:15 +00:00
debug-async-break.js [esnext] Fix various callsites to use is_resumable, not is_generator 2016-05-31 17:15:15 +00:00
debug-async-function-async-task-event.js Async/await event listener test 2016-06-10 19:15:35 +00:00
do-expressions-control.js
do-expressions.js Remove runtime flags for sloppy mode block scoping features 2016-04-08 00:30:20 +00:00
exponentiation-operator.js Remove runtime flags for Proxy and Reflect 2016-03-21 19:40:02 +00:00
for-in.js Add flag for disallowing for-in initializers 2016-04-22 12:04:15 +00:00
function-name.js Remove destructuring and default arguments runtime flags 2016-03-10 23:22:30 +00:00
function-sent.js
futex.js [Atomics] Fix atomic access index validation 2016-03-25 21:52:52 +00:00
generators-turbo.js [generators] Get better clusterfuzz coverage. 2016-05-23 13:57:46 +00:00
generators.js Allow Turbofan optimization of Ignition generators, first version. 2016-05-10 12:07:33 +00:00
harmony-string-pad-end.js [esnext] implement StringPad spec changes from March TC39 meeting 2016-04-27 22:03:27 +00:00
harmony-string-pad-start.js [esnext] implement StringPad spec changes from March TC39 meeting 2016-04-27 22:03:27 +00:00
instanceof-es6.js [es6] Reintroduce the instanceof operator in the backends. 2016-05-17 11:25:59 +00:00
iterator-close.js Fix bug in yield* desugaring. 2016-06-02 09:43:59 +00:00
module-parsing-eval.js Remove --harmony-modules flag and let embedder decide when modules are used 2016-03-15 00:45:00 +00:00
modules.js
object-entries.js [esnext] handle elements in FastObjectValuesOrEntries() 2016-03-28 15:54:23 +00:00
object-get-own-property-descriptors.js Remove runtime flags for Proxy and Reflect 2016-03-21 19:40:02 +00:00
object-values.js [esnext] handle elements in FastObjectValuesOrEntries() 2016-03-28 15:54:23 +00:00
private-symbols.js Remove runtime flags for Proxy and Reflect 2016-03-21 19:40:02 +00:00
private.js
promise-species.js
regexp-change-exec.js Add ES2015 RegExp full subclassing semantics behind a flag 2016-03-24 22:27:21 +00:00
regexp-lookbehind.js
regexp-no-change-exec.js Add ES2015 RegExp full subclassing semantics behind a flag 2016-03-24 22:27:21 +00:00
regexp-property-binary.js [regexp] extend \p syntax to binary and enumerated properties. 2016-04-08 05:39:43 +00:00
regexp-property-blocks.js [regexp] extend \p syntax to binary and enumerated properties. 2016-04-08 05:39:43 +00:00
regexp-property-char-class.js [regexp] extend \p syntax to binary and enumerated properties. 2016-04-08 05:39:43 +00:00
regexp-property-disabled.js [regexp] support \p in character classes. 2016-03-10 23:24:23 +00:00
regexp-property-enumerated.js [regexp] extend \p syntax to binary and enumerated properties. 2016-04-08 05:39:43 +00:00
regexp-property-exact-match.js [regexp] disallow regexp property class shorthand syntax for single char. 2016-06-07 09:14:22 +00:00
regexp-property-general-category.js [regexp] disallow regexp property class shorthand syntax for single char. 2016-06-07 09:14:22 +00:00
regexp-property-scripts.js [regexp] extend \p syntax to binary and enumerated properties. 2016-04-08 05:39:43 +00:00
set-prototype-of.js
sharedarraybuffer.js Remove --harmony-tostring runtime flag 2016-03-11 18:20:48 +00:00
simd.js [JSON] implement indentation in the BasicJsonStringifier and expose via API. 2016-05-20 07:58:02 +00:00
sloppy-implicit-block-function.js Restrict FunctionDeclarations in Statement position 2016-03-03 21:34:26 +00:00
sloppy-legacy-duplicate-generators.js Improve strictness of Annex B 3.3 for generators and async functions 2016-05-27 18:23:20 +00:00
sloppy-no-duplicate-async.js Improve strictness of Annex B 3.3 for generators and async functions 2016-05-27 18:23:20 +00:00
sloppy-no-duplicate-generators.js Improve strictness of Annex B 3.3 for generators and async functions 2016-05-27 18:23:20 +00:00
sloppy-restrictive-block-function.js Restrict FunctionDeclarations in Statement position 2016-03-03 21:34:26 +00:00
species.js
string-match.js
string-replace.js
string-split.js
to-length.js
to-name.js
to-number.js
to-primitive.js
to-string.js
typedarray-species.js
unicode-character-ranges.js
unicode-escapes-in-regexps.js Remove --harmony-regexps flag 2016-03-25 23:02:11 +00:00
unicode-regexp-backrefs.js
unicode-regexp-ignore-case-noi18n.js
unicode-regexp-ignore-case.js
unicode-regexp-last-index.js
unicode-regexp-restricted-syntax.js
unicode-regexp-unanchored-advance.js
unicode-regexp-zero-length.js