diff options
author | Linus Groh <mail@linusgroh.de> | 2021-12-28 14:48:32 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-12-28 14:48:32 +0100 |
commit | 1c05d39abc003bca16a7a56fdb131fc01dccc059 (patch) | |
tree | 733a518b8915b10565abfb078d40021afc46f21f /Userland/Libraries/LibJS/Runtime/ArrayBuffer.cpp | |
parent | 416b0374fb59827db45dfac2d67e7e637b2d5fff (diff) | |
download | serenity-1c05d39abc003bca16a7a56fdb131fc01dccc059.zip |
LibJS: Also throw exception when returning throw completion from await
...for now - the reason being that the AST breaks 'completion bubbling'
and returns a plain Value, and code at the call site relies on the VM
having an exception set when converting the plain value back into a
completion.
Fixes #11301.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/ArrayBuffer.cpp')
0 files changed, 0 insertions, 0 deletions