fix: update docs for protocol API (#16601)

* fix: update docs for protocol API

* upddate source for new attribute name

* update electron-typescript-definitions package
This commit is contained in:
Nitish Sakhawalkar 2019-01-30 12:54:18 -08:00 committed by Samuel Attard
parent 641b47f384
commit bd4e14dcee
6 changed files with 32 additions and 29 deletions

View file

@ -59,7 +59,7 @@ struct Converter<CustomScheme> {
return false;
mate::Dictionary opt;
// options are optional. Default values specified in SchemeOptions are used
if (dict.Get("options", &opt)) {
if (dict.Get("privileges", &opt)) {
opt.Get("standard", &(out->options.standard));
opt.Get("supportFetchAPI", &(out->options.supportFetchAPI));
opt.Get("secure", &(out->options.secure));