948cf2f642
R=machenbach@chromium.org, mathias@chromium.org Bug: v8:8467 Change-Id: I7369fa993d0762cf9c3c6f55361d074d067a0eb5 Reviewed-on: https://chromium-review.googlesource.com/c/1338347 Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Sergiy Belozorov <sergiyb@chromium.org> Cr-Commit-Position: refs/heads/master@{#57734}
13 lines
727 B
JavaScript
13 lines
727 B
JavaScript
// Copyright 2018 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.
|
|
|
|
// V8 has several long-standing bugs where "early errors", i.e. errors that are
|
|
// supposed to be thrown at parse time, end up being thrown at runtime instead.
|
|
// This file is used to implement the FAIL_PHASE_ONLY outcome as used in
|
|
// test/test262/test262.status. Tests marked with this outcome are run in a
|
|
// special mode that verifies that a) V8 throws an exception at all, and b) that
|
|
// the exception has the correct type, but ignores the fact that they are thrown
|
|
// after parsing is done. See crbug.com/v8/8467 for details.
|
|
$DONOTEVALUATE = () => {};
|