1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:58:12 +00:00

LibJS/Tests: Run 'delete always evaluates the lhs' in bytecode mode

As this test passes for bytecode, but fails in AST.
This commit is contained in:
Shannon Booth 2023-07-22 16:27:02 +12:00 committed by Andreas Kling
parent 2401c0ff7e
commit 9b66e87bd8

View file

@ -198,7 +198,7 @@ test("deleting a symbol returned by @@toPrimitive", () => {
});
// FIXME: This currently does not work with the AST interpreter, but works with Bytecode.
test.skip("delete always evaluates the lhs", () => {
test.xfailIf(!isBytecodeInterpreterEnabled(), "delete always evaluates the lhs", () => {
const obj = { prop: 1 };
let called = false;
function a() {