Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2EF34E9D6 for ; Thu, 21 Feb 2013 19:27:58 +0000 (UTC) Received: (qmail 16365 invoked by uid 500); 21 Feb 2013 19:27:58 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 16344 invoked by uid 500); 21 Feb 2013 19:27:57 -0000 Mailing-List: contact dev-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 dev@cordova.apache.org Received: (qmail 16335 invoked by uid 99); 21 Feb 2013 19:27:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2013 19:27:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bowserj@gmail.com designates 209.85.223.170 as permitted sender) Received: from [209.85.223.170] (HELO mail-ie0-f170.google.com) (209.85.223.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2013 19:27:51 +0000 Received: by mail-ie0-f170.google.com with SMTP id c11so11836475ieb.15 for ; Thu, 21 Feb 2013 11:27:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=GF8Ss8Pr03sbqnhzi+hq1kSo1iIhMbK8+Ox3UFMv+c8=; b=X1BV2KypWEy0O+GxwzEN+2rCDeRE2ITZd2c4qYoX8LNRoK+SFAb/ZDuGWjoVswrRv/ aSiPdNwGeeAX9Q0cXUu6uBjZwnp5zKLt0xhbgZU2S3psbs+AKac7OF0oqsAsqIcdf6Hu 5zHWpqMSMUYbvt+/RnHD8zNxQUPu1lW9rL9sBSqO/FSlWFOcoKT0OZWpOjHvpIT4lexu 11gscc6KPjz3YTFNQ67SDiZWvXn3lpqdfQarXoyBhlOYZoTDP/uTLzljn2pIyrFdH/bO M2qJy4XpHdrkhiR/F3t+uwFbmOv/0V2L4eMQPU852LfEWbUsBXPkzvoapuQgM8MGQfB7 uHHQ== MIME-Version: 1.0 X-Received: by 10.43.83.74 with SMTP id af10mr2392242icc.38.1361474850991; Thu, 21 Feb 2013 11:27:30 -0800 (PST) Received: by 10.50.236.106 with HTTP; Thu, 21 Feb 2013 11:27:30 -0800 (PST) In-Reply-To: References: Date: Thu, 21 Feb 2013 11:27:30 -0800 Message-ID: Subject: Re: Which database do we use on Cordova for WebSQL? From: Joe Bowser To: dev Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org OK, here's some annoying crap that the Android team did to the browser. Back in Honeycomb, file:// was no longer allowed to use the WebSQL database because of security reasons. I have no idea what those security reasons are, but this is the same case all the way up to Jellybean. Therefore, we use or Storage shim instead. The problem is that we enable web storage on Cordova, which is a major problem. So, I'm trying to disable this for 3.0+ now and I'll see how that works. So, a technical workaround because the Android team doesn't believe that Cordova should have access to WebSQL. :( On Thu, Feb 21, 2013 at 11:13 AM, Simon MacDonald wrote: > There is no reason why we should do that. It seems like a 0 day bug to me. > > Simon Mac Donald > http://hi.im/simonmacdonald > > > On Thu, Feb 21, 2013 at 2:05 PM, Filip Maj wrote: >> I want to say that we needed this to polyfill on some older Androids.. But >> this is speculation :s >> >> On 2/20/13 4:06 PM, "Joe Bowser" wrote: >> >>>While investigating this irritating issue >>>(https://issues.apache.org/jira/browse/CB-2085), I found that when we >>>first open the database, we are using the built-in WebKit Database, >>>but once I go into child browser and go back, we start to use the >>>Storage plugin. Does anyone remember which scenarios we use our >>>Storage Plugin, and which scenarios we use the built in storage, >>>because this is unclear based on the example provided. >>> >>>Joe >>