824ae14c7a
When a terminate_exception is raised while executing one of the promise related jobs on the microtask queue, we don't clean up properly, leaving the async stack in the inspector in an inconsistent state, not cleaning up the promise stack on the Isolate, and also not resetting the global current_microtask slot. This CL adds appropriate logic to perform the correct cleanup. Fixed: chromium:1297964 Change-Id: I4ec64405d4c66bfe1f0115e7039866447fb10f02 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3471815 Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Commit-Queue: Jaroslav Sevcik <jarin@chromium.org> Cr-Commit-Position: refs/heads/main@{#79162}
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
# Copyright 2016 the V8 project authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
[
|
|
|
|
##############################################################################
|
|
# TODO(v8:7777): Change this once wasm is supported in jitless mode.
|
|
['not has_webassembly or variant == jitless', {
|
|
'multi_return/*': [SKIP],
|
|
'wasm/*': [SKIP],
|
|
'wasm_async/*': [SKIP],
|
|
'wasm_code/*': [SKIP],
|
|
'wasm_compile/*': [SKIP],
|
|
}], # not has_webassembly or variant == jitless
|
|
|
|
################################################################################
|
|
['variant == stress_snapshot', {
|
|
'*': [SKIP], # only relevant for mjsunit tests.
|
|
}],
|
|
|
|
################################################################################
|
|
['third_party_heap', {
|
|
# Requires a second isolate
|
|
'inspector/empty': [SKIP],
|
|
'inspector/endless-loop': [SKIP],
|
|
'inspector/invalid': [SKIP],
|
|
'inspector/regress-1166549': [SKIP],
|
|
'inspector/regress-1297964': [SKIP],
|
|
}], # third_party_heap
|
|
|
|
]
|