From ad783652c8ced08266a16f7e1fa9a192a91ea754 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Thu, 22 Sep 2016 00:20:34 +0530 Subject: [PATCH] update docs --- docs/api/protocol.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/api/protocol.md b/docs/api/protocol.md index 5864cf1..4e02fac 100644 --- a/docs/api/protocol.md +++ b/docs/api/protocol.md @@ -50,8 +50,11 @@ non-standard schemes can not recognize relative URLs: Registering a scheme as standard will allow access to files through the [FileSystem API][file-system-api]. Otherwise the renderer will throw a security -error for the scheme. So in general if you want to register a custom protocol to -replace the `http` protocol, you have to register it as a standard scheme: +error for the scheme. + +By default web storage apis (localStorage, sessionStorage, webSQL, indexedDB, cookies) +are disabled for non standard schemes. So in general if you want to register a +custom protocol to replace the `http` protocol, you have to register it as a standard scheme: ```javascript const {app, protocol} = require('electron') -- 2.7.4