You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/11/02 00:56:19 UTC

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

    [ https://issues.apache.org/jira/browse/CB-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811787#comment-13811787 ] 

Shazron Abdullah commented on CB-5244:
--------------------------------------

Note: verify with a standalone app with just a UIWebView and *no* Cordova. If it still occurs there, this is an Apple issue and nothing we can do about it. Safari is a different beast from UIWebView, but Chrome iOS should have used the same UIWebView but may have different networking internals.

> 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)