cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <>
Subject [jira] [Resolved] (CB-6617) inAppBrowser does not contain the localStorage of the parent window
Date Tue, 13 May 2014 22:13:15 GMT


Joe Bowser resolved CB-6617.

    Resolution: Won't Fix

The iOS version of this issue needs to be created separately, closing this issue as won't
fix, since this is a clear security vulnerability.

> inAppBrowser does not contain the localStorage of the parent window
> -------------------------------------------------------------------
>                 Key: CB-6617
>                 URL:
>             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
> {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 using url parameters is unacceptable.
Neither is using inject 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,'s just not consistent.
> iOS just works...could you help me thanks.

This message was sent by Atlassian JIRA

View raw message