0d0e73e61c
It was delegating to GetDerivedMap but not handling the possible error coming from it. Bug: v8:11111,chromium:1347722 Change-Id: I348ed721281d8edd324f0e364d8ed45602cb9f54 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3791063 Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Auto-Submit: Marja Hölttä <marja@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#82046}
13 lines
364 B
JavaScript
13 lines
364 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.
|
|
|
|
// Flags: --harmony-rab-gsab
|
|
|
|
const proxy = new Proxy(Int16Array, {"get": () => { throw 'lol'; }});
|
|
const rab = new ArrayBuffer(1632, {"maxByteLength": 4096});
|
|
try {
|
|
new proxy(rab);
|
|
} catch {
|
|
}
|