title: Inject local storage from swift to WKWebview
body: <p>My Swift Code:</p>
  
  <pre><code>self.webView.evaluateJavaScript("javascript: localStorage.setItem('usr_dtls', 'vivek')") { (result, error) -&gt; Void in
              print(result)
              print(error)
          }
  
  Error message in cosole:
  nil
  Optional(Error Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" UserInfo={WKJavaScriptExceptionLineNumber=1, WKJavaScriptExceptionMessage=SecurityError (DOM Exception 18): The operation is insecure., WKJavaScriptExceptionColumnNumber=25, WKJavaScriptExceptionSourceURL=about:blank, NSLocalizedDescription=A JavaScript exception occurred})
  </code></pre>
  
  <p>Any idea what's wrong?</p>