Tweak cookie set failure message and add spec
This commit is contained in:
parent
2cf0843f82
commit
8c52279531
2 changed files with 12 additions and 1 deletions
|
@ -30,7 +30,7 @@ struct Converter<atom::api::Cookies::Error> {
|
|||
if (val == atom::api::Cookies::SUCCESS)
|
||||
return v8::Null(isolate);
|
||||
else
|
||||
return v8::Exception::Error(StringToV8(isolate, "failed"));
|
||||
return v8::Exception::Error(StringToV8(isolate, "Setting cookie failed"));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue