Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46F5611147 for ; Tue, 13 May 2014 04:09:55 +0000 (UTC) Received: (qmail 21599 invoked by uid 500); 13 May 2014 04:03:15 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 21273 invoked by uid 500); 13 May 2014 04:03:15 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 21064 invoked by uid 99); 13 May 2014 04:03:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2014 04:03:14 +0000 Date: Tue, 13 May 2014 04:03:14 +0000 (UTC) From: "Ralph S Theart (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-6617) inAppBrowser does not contain the localStorage of the parent window MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-6617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996021#comment-13996021 ] Ralph S Theart commented on CB-6617: ------------------------------------ ok sorry but could you help be understand the security risk from pulling up a file from within my on application using file://...? I'm unsure of the risk...sorry noobness. > inAppBrowser does not contain the localStorage of the parent window > ------------------------------------------------------------------- > > Key: CB-6617 > URL: https://issues.apache.org/jira/browse/CB-6617 > Project: Apache Cordova > Issue Type: Bug > Components: Android, iOS, Plugin InAppBrowser > Affects Versions: 3.4.0 > Reporter: Ralph S Theart > Assignee: Joe Bowser > Labels: android, localstorage > > Why is it that I can share localStorage information between wbeviews(I refer to my app and a inappbrowser instance) in iOS but not in Android. > If I do... > {code} > //location: index.html (in my app) > localStorage.setItem('Cheese':'Brie'); > {code} > Then if I try to retrieve this data from locally served html file via inappbroweser in android > {code} > var item = localStorage.getItem('Cheese'); > item = null > {code} > It never get set... BUT if I recompile my app and locally served html file via inAppBroweser then it's there. > I feel like i'm missing something.. > How in the world are people passing data back and forth between the app view and the iab view?? I need to pass deep objects back and forth ...so using url parameters is unacceptable. Neither is using inject js...as it is not consistent in android ....the data does not always make it to the iab instance and sometimes becomes undefined...I have tested this with LoadStart, LoadStop...it's just not consistent. > iOS just works...could you help me thanks. -- This message was sent by Atlassian JIRA (v6.2#6252)