mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-31 23:42:52 +00:00
LibJS: Remove bytecode condition from tests expected to fail
This commit is contained in:
parent
854330ec73
commit
375a6f5dd9
Notes:
sideshowbarker
2024-07-17 05:02:35 +09:00
Author: https://github.com/trflynn89
Commit: 375a6f5dd9
Pull-request: https://github.com/SerenityOS/serenity/pull/20461
Reviewed-by: https://github.com/Lubrsi ✅
17 changed files with 143 additions and 186 deletions
|
@ -221,13 +221,13 @@ describe("naming of anon functions", () => {
|
|||
expect({ func() {} }.func.name).toBe("func");
|
||||
});
|
||||
|
||||
test.xfailIf(isBytecodeInterpreterEnabled(), "getter has name", () => {
|
||||
test.xfail("getter has name", () => {
|
||||
expect(Object.getOwnPropertyDescriptor({ get func() {} }, "func").get.name).toBe(
|
||||
"get func"
|
||||
);
|
||||
});
|
||||
|
||||
test.xfailIf(isBytecodeInterpreterEnabled(), "setter has name", () => {
|
||||
test.xfail("setter has name", () => {
|
||||
expect(Object.getOwnPropertyDescriptor({ set func(v) {} }, "func").set.name).toBe(
|
||||
"set func"
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue