mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 13:30:31 +00:00
LibJS: Enable await
test that used to crash in AST mode
Now that the AST interpreter has been removed, this can be a simple XFAIL.
This commit is contained in:
parent
7ac6af1998
commit
fb305b66c2
Notes:
sideshowbarker
2024-07-17 07:14:09 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/fb305b66c2 Pull-request: https://github.com/SerenityOS/serenity/pull/20423 Reviewed-by: https://github.com/gmta ✅
1 changed files with 1 additions and 2 deletions
|
@ -202,8 +202,7 @@ describe("await cannot be used in class static init blocks", () => {
|
|||
});
|
||||
|
||||
describe("await thenables", () => {
|
||||
// FIXME: This test crashes for AST, and fails for bytecode.
|
||||
test.skip("async returning a thanable variable without fulfilling", () => {
|
||||
test.xfail("async returning a thanable variable without fulfilling", () => {
|
||||
let isCalled = false;
|
||||
const obj = {
|
||||
then() {
|
||||
|
|
Loading…
Reference in a new issue