disable most DOMJIT (#14005)

This commit is contained in:
Dylan Conway
2024-09-17 21:43:38 -07:00
committed by GitHub
parent 6d98bccd8b
commit cf4e9cb69e
3 changed files with 412 additions and 313 deletions

View File

@@ -102,7 +102,21 @@ export function define(
estimatedSize,
structuredClone,
values,
klass: Object.fromEntries(Object.entries(klass).sort(([a], [b]) => a.localeCompare(b))),
proto: Object.fromEntries(Object.entries(proto).sort(([a], [b]) => a.localeCompare(b))),
klass: Object.fromEntries(
Object.entries(klass)
.sort(([a], [b]) => a.localeCompare(b))
.map(([k, v]) => {
v.DOMJIT = undefined;
return [k, v];
}),
),
proto: Object.fromEntries(
Object.entries(proto)
.sort(([a], [b]) => a.localeCompare(b))
.map(([k, v]) => {
v.DOMJIT = undefined;
return [k, v];
}),
),
};
}