04b0203593
Bug: v8:11340, chromium:177058 Change-Id: I34f400bc4d66275eb2fed082f1d44eccf21839d7 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2689187 Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Commit-Queue: Marja Hölttä <marja@chromium.org> Cr-Commit-Position: refs/heads/master@{#72655}
16 lines
435 B
JavaScript
16 lines
435 B
JavaScript
// Copyright 2021 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 __f_8() {
|
|
Object.prototype.__defineGetter__(0, () => {
|
|
throw Error();
|
|
});
|
|
})();
|
|
|
|
function __f_9() {
|
|
};
|
|
assertThrows( () => { new Worker(__f_9, {
|
|
type: 'function',
|
|
arguments: [,]})});
|