test: add test for setJumpList
arguments (#41650)
test: add test for setJumpList arguments
This commit is contained in:
parent
00e3445f8a
commit
a32705fd30
2 changed files with 39 additions and 1 deletions
|
@ -1281,7 +1281,7 @@ JumpListResult App::SetJumpList(v8::Local<v8::Value> val,
|
|||
if (!delete_jump_list &&
|
||||
!gin::ConvertFromV8(args->isolate(), val, &categories)) {
|
||||
gin_helper::ErrorThrower(args->isolate())
|
||||
.ThrowError("Argument must be null or an array of categories");
|
||||
.ThrowTypeError("Argument must be null or an array of categories");
|
||||
return JumpListResult::kArgumentError;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue