Add missing feature tag for host-gc

This commit is contained in:
André Bargull 2025-04-30 14:16:16 +02:00 committed by Philip Chimento
parent 47ba37f098
commit 2d3bfa58f8
15 changed files with 31 additions and 16 deletions

View File

@ -9,6 +9,7 @@ flags:
description: |
ArrayBuffer.prototype.slice shouldn't misbehave horribly if index-argument conversion detaches the ArrayBuffer being sliced
esid: pending
features: [host-gc-required]
---*/
function testStart()

View File

@ -9,6 +9,7 @@ flags:
description: |
new DataView(...) shouldn't misbehave horribly if index-argument conversion detaches the ArrayBuffer to be viewed
esid: pending
features: [host-gc-required]
---*/
function testByteOffset()

View File

@ -9,6 +9,7 @@ flags:
description: |
DataView.prototype.set* methods shouldn't misbehave horribly if index-argument conversion detaches the ArrayBuffer being modified
esid: pending
features: [host-gc-required]
---*/
function testIndex()

View File

@ -9,6 +9,7 @@ flags:
description: |
DataView tests
esid: pending
features: [host-gc-required]
---*/
function test(sharedMem) {

View File

@ -9,6 +9,7 @@ flags:
description: |
Handle infinite recursion
esid: pending
features: [host-gc-required]
---*/
function eval() { eval(); }

View File

@ -9,6 +9,7 @@ flags:
description: |
pending
esid: pending
features: [host-gc-required]
---*/
var x = {}, h = new WeakMap;
h.set(x, null);

View File

@ -9,6 +9,7 @@ flags:
description: |
Uint8Array.prototype.set issues when this array changes during setting
esid: pending
features: [host-gc-required]
---*/
var ab = new ArrayBuffer(200);

View File

@ -9,6 +9,7 @@ flags:
description: |
js weak maps
esid: pending
features: [host-gc-required]
---*/
test();

View File

@ -7,6 +7,7 @@ flags:
description: |
pending
esid: pending
features: [host-gc-required]
---*/
var foo;

View File

@ -8,6 +8,7 @@ flags:
description: |
pending
esid: pending
features: [host-gc-required]
---*/
// This file was written by Andy Wingo <wingo@igalia.com> and originally
// contributed to V8 as generators-objects.js, available here:

View File

@ -9,6 +9,7 @@ flags:
description: |
Properly handle GC of a dictionary accessor property whose [[Get]] or [[Set]] has been changed to |undefined|
esid: pending
features: [host-gc-required]
---*/
function test(field)

View File

@ -7,6 +7,7 @@ flags:
description: |
pending
esid: pending
features: [host-gc-required]
---*/
function TestGC2(m) {
var head = new Object;

View File

@ -9,20 +9,21 @@ flags:
description: |
pending
esid: pending
features: [host-gc-required]
---*/
var obj = {a: 0, b: 1, c: 2};
delete obj.b; // switch to dictionary mode
Object.defineProperty(obj, 'g',
{get: function () { return -1; }, configurable: true});
for (var i = 3; i < 20; i++)
obj['x' + i] = i; // get property table
for (var i = 3; i < 20; i++)
delete obj['x' + i]; // add to freelist
delete obj.g; // must update lastProp->freeslot, to avoid assertion
// extra junk to try to hit the assertion, if freeslot is not updated
$262.gc();
obj.d = 3;
obj.e = 4;
var obj = {a: 0, b: 1, c: 2};
delete obj.b; // switch to dictionary mode
Object.defineProperty(obj, 'g',
{get: function () { return -1; }, configurable: true});
for (var i = 3; i < 20; i++)
obj['x' + i] = i; // get property table
for (var i = 3; i < 20; i++)
delete obj['x' + i]; // add to freelist
delete obj.g; // must update lastProp->freeslot, to avoid assertion
// extra junk to try to hit the assertion, if freeslot is not updated
$262.gc();
obj.d = 3;
obj.e = 4;

View File

@ -9,6 +9,7 @@ flags:
description: |
pending
esid: pending
features: [host-gc-required]
---*/
for (var u = 0; u < 3; ++u) {
var y = [];

View File

@ -9,6 +9,7 @@ flags:
description: |
Don't mishandle deletion of a property from the internal iterator created for a for-in loop, when a gc occurs just after it
esid: pending
features: [host-gc-required]
---*/
function testOneDeletion()