e5fcd33b3e
Bug: chromium:913212 Change-Id: I6bc4bb313d17840cc778d9d8c2eb3c6f2cc024a1 Reviewed-on: https://chromium-review.googlesource.com/c/1371605 Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/master@{#58162}
12 lines
341 B
JavaScript
12 lines
341 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.
|
|
|
|
const globalThis = this;
|
|
Object.setPrototypeOf(this, new Proxy({}, {
|
|
get(target, prop, receiver) {
|
|
assertTrue(receiver === globalThis);
|
|
}
|
|
}));
|
|
undefined_name_access
|