You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Louis Mullie (JIRA)" <ji...@apache.org> on 2013/11/01 16:07:17 UTC

[jira] [Created] (CB-5244) UIWebView does not pass document.cookie to WebWorker

Louis Mullie created CB-5244:
--------------------------------

             Summary: UIWebView does not pass document.cookie to WebWorker
                 Key: CB-5244
                 URL: https://issues.apache.org/jira/browse/CB-5244
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 3.1.0
         Environment: iOS 6.0 and iOS 7.0
            Reporter: Louis Mullie


- Scenario: an XMLHttpRequest is made inside a WebWorker on Cordova iOS.
- Expected result: the Cookie header is set to the value of the parent document's document.cookie. (Works on Safari/Chrome in iOS, and all major browsers on desktop).
- Actual result: the Cookie header is not set.

This is actually a serious problem because it completely precludes applications that use session cookie authentication from making HTTP requests from a WebWorker (and see here as to why localStorage is not a viable alternative).



--
This message was sent by Atlassian JIRA
(v6.1#6144)