summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Tests/Proxy.handler-deleteProperty.js
diff options
context:
space:
mode:
authorMatthew Olsson <matthewcolsson@gmail.com>2020-06-09 22:48:01 -0700
committerAndreas Kling <kling@serenityos.org>2020-06-11 07:46:20 +0200
commit78155a66686b03a18eec1ea189ec43b06c51b51a (patch)
treedf71a780992a3827f8de5f3950d92c186f2db7e9 /Libraries/LibJS/Tests/Proxy.handler-deleteProperty.js
parent9940a7f6def5c3c03412fd0540f238d5413bb90a (diff)
downloadserenity-78155a66686b03a18eec1ea189ec43b06c51b51a.zip
LibJS: Consolidate error messages into ErrorTypes.h
Now, exceptions can be thrown with interpreter.throw_exception<T>(ErrorType:TYPE, "format", "args", "here").
Diffstat (limited to 'Libraries/LibJS/Tests/Proxy.handler-deleteProperty.js')
-rw-r--r--Libraries/LibJS/Tests/Proxy.handler-deleteProperty.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Tests/Proxy.handler-deleteProperty.js b/Libraries/LibJS/Tests/Proxy.handler-deleteProperty.js
index 6dcba190e0..45cd4ea910 100644
--- a/Libraries/LibJS/Tests/Proxy.handler-deleteProperty.js
+++ b/Libraries/LibJS/Tests/Proxy.handler-deleteProperty.js
@@ -47,7 +47,7 @@ try {
delete p.foo;
}, {
error: TypeError,
- message: "Proxy handler's delete trap violates invariant: cannot report a non-configurable own property of the target as deleted",
+ message: "Proxy handler's deleteProperty trap violates invariant: cannot report a non-configurable own property of the target as deleted",
});
console.log("PASS");