mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 14:41:29 +00:00

PR-URL: https://github.com/nodejs/node/pull/14730 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
18 lines
569 B
JavaScript
18 lines
569 B
JavaScript
// Copyright 2017 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.
|
|
|
|
let {session, contextGroup, Protocol} =
|
|
InspectorTest.start('Regression test for crbug.com/732717');
|
|
|
|
Protocol.Runtime.evaluate({expression: `var v3 = {};
|
|
var v6 = {};
|
|
Array.prototype.__defineGetter__(0, function() {
|
|
this[0] = 2147483647;
|
|
})
|
|
Array.prototype.__defineSetter__(0, function() {
|
|
console.context(v3);
|
|
this[0] = v6;
|
|
});
|
|
v60 = Array(0x8000).join();`}).then(InspectorTest.completeTest);
|