diff options
Diffstat (limited to 'Libraries/LibJS/Runtime/ProxyConstructor.cpp')
-rw-r--r-- | Libraries/LibJS/Runtime/ProxyConstructor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibJS/Runtime/ProxyConstructor.cpp b/Libraries/LibJS/Runtime/ProxyConstructor.cpp index 2c0b8bb734..293b70ec61 100644 --- a/Libraries/LibJS/Runtime/ProxyConstructor.cpp +++ b/Libraries/LibJS/Runtime/ProxyConstructor.cpp @@ -66,11 +66,11 @@ Value ProxyConstructor::construct(Function&) auto handler = vm.argument(1); if (!target.is_object()) { - vm.throw_exception<TypeError>(global_object(), ErrorType::ProxyConstructorBadType, "target", target.to_string_without_side_effects().characters()); + vm.throw_exception<TypeError>(global_object(), ErrorType::ProxyConstructorBadType, "target", target.to_string_without_side_effects()); return {}; } if (!handler.is_object()) { - vm.throw_exception<TypeError>(global_object(), ErrorType::ProxyConstructorBadType, "handler", handler.to_string_without_side_effects().characters()); + vm.throw_exception<TypeError>(global_object(), ErrorType::ProxyConstructorBadType, "handler", handler.to_string_without_side_effects()); return {}; } return ProxyObject::create(global_object(), target.as_object(), handler.as_object()); |