c7ff5766cf
... instead of RUNTIME_ASSERT pointing to V8 guts. BUG=chromium:599067 LOG=N Review URL: https://codereview.chromium.org/1844223004 Cr-Commit-Position: refs/heads/master@{#35227}
12 lines
339 B
JavaScript
12 lines
339 B
JavaScript
// 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.
|
|
|
|
try {
|
|
var o = {};
|
|
var p = new Proxy({}, o);
|
|
Error.captureStackTrace(p);
|
|
} catch(e) {
|
|
assertEquals("Cannot pass private property name to proxy trap", e.message);
|
|
}
|