diff --git a/src/flag-definitions.h b/src/flag-definitions.h index 47d5c9ff7c..e0d486feb1 100644 --- a/src/flag-definitions.h +++ b/src/flag-definitions.h @@ -1037,7 +1037,7 @@ DEFINE_BOOL(trace_sim_messages, false, "Trace simulator debug messages. Implied by --trace-sim.") // isolate.cc -DEFINE_BOOL(async_stack_traces, false, +DEFINE_BOOL(async_stack_traces, true, "include async stack traces in Error.stack") DEFINE_IMPLICATION(async_stack_traces, harmony_await_optimization) DEFINE_BOOL(stack_trace_on_illegal, false, diff --git a/test/mjsunit/es8/async-function-stacktrace.js b/test/mjsunit/es8/async-function-stacktrace.js index 623599ae40..e9358c2679 100644 --- a/test/mjsunit/es8/async-function-stacktrace.js +++ b/test/mjsunit/es8/async-function-stacktrace.js @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// Flags: --noasync-stack-traces + async function test(func, funcs) { try { await func();