summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-08-13 23:57:33 +0100
committerLinus Groh <mail@linusgroh.de>2021-08-13 23:57:33 +0100
commit95059b954915b18d997520c0b9f6ea0aaa053ef0 (patch)
treecfdf20f4ac6962b98880ed6f6d267211124c64bb /Userland/Libraries/LibJS
parent419c21c66f38ce8136b6c13563a069743977815d (diff)
downloadserenity-95059b954915b18d997520c0b9f6ea0aaa053ef0.zip
LibJS/Tests: Enable Proxy handler apply() thisArg test that now passes
Diffstat (limited to 'Userland/Libraries/LibJS')
-rw-r--r--Userland/Libraries/LibJS/Tests/builtins/Proxy/Proxy.handler-apply.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Tests/builtins/Proxy/Proxy.handler-apply.js b/Userland/Libraries/LibJS/Tests/builtins/Proxy/Proxy.handler-apply.js
index 92fd7031ff..0a94363e66 100644
--- a/Userland/Libraries/LibJS/Tests/builtins/Proxy/Proxy.handler-apply.js
+++ b/Userland/Libraries/LibJS/Tests/builtins/Proxy/Proxy.handler-apply.js
@@ -14,7 +14,7 @@ describe("[[Call]] trap normal behavior", () => {
apply(target, this_, arguments_) {
expect(target).toBe(f);
// FIXME: `this_` is currently `handler`
- // expect(this_).toBeUndefined();
+ expect(this_).toBeUndefined();
if (arguments_[2]) {
return arguments_[0] * arguments_[1];
}