mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
disable most DOMJIT (#14005)
This commit is contained in:
@@ -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];
|
||||
}),
|
||||
),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user