058cb75b05
After an error is encounterd during RegExp parsing, indicate that there is no more work to do. Bug: chromium:1374042 Change-Id: Ib547a06de855028e862933897930d8ba78f8f320 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3950294 Commit-Queue: Victor Gomes <victorgomes@chromium.org> Auto-Submit: Patrick Thier <pthier@chromium.org> Reviewed-by: Victor Gomes <victorgomes@chromium.org> Cr-Commit-Position: refs/heads/main@{#83673}
13 lines
249 B
JavaScript
13 lines
249 B
JavaScript
// Copyright 2022 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.
|
|
|
|
function foo() {
|
|
try {
|
|
foo();
|
|
} catch(e) {
|
|
/\0/.test();
|
|
}
|
|
}
|
|
foo();
|