mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 15:49:11 +00:00
LibJS: Update spec link for InstallErrorCause AO
This commit is contained in:
parent
d69f5ca128
commit
4fe47ed86e
Notes:
sideshowbarker
2024-07-17 22:30:11 +09:00
Author: https://github.com/trflynn89
Commit: 4fe47ed86e
Pull-request: https://github.com/SerenityOS/serenity/pull/11345
Reviewed-by: https://github.com/linusg
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ Error::Error(Object& prototype)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
// 20.5.8.1 InstallErrorCause ( O, options ), https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
|
// 20.5.8.1 InstallErrorCause ( O, options ), https://tc39.es/ecma262/#sec-installerrorcause
|
||||||
ThrowCompletionOr<void> Error::install_error_cause(Value options)
|
ThrowCompletionOr<void> Error::install_error_cause(Value options)
|
||||||
{
|
{
|
||||||
auto& vm = this->vm();
|
auto& vm = this->vm();
|
||||||
|
@ -44,7 +44,7 @@ ThrowCompletionOr<void> Error::install_error_cause(Value options)
|
||||||
MUST(create_non_enumerable_data_property_or_throw(vm.names.cause, cause));
|
MUST(create_non_enumerable_data_property_or_throw(vm.names.cause, cause));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return NormalCompletion(undefined).
|
// 2. Return NormalCompletion(undefined).
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue