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 3130210D12 for ; Tue, 23 Apr 2013 23:19:22 +0000 (UTC) Received: (qmail 16513 invoked by uid 500); 23 Apr 2013 23:19:19 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 16412 invoked by uid 500); 23 Apr 2013 23:19:19 -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 16268 invoked by uid 99); 23 Apr 2013 23:19:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Apr 2013 23:19:19 +0000 Date: Tue, 23 Apr 2013 23:19:19 +0000 (UTC) From: "Andrew Grieve (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CB-3219) Blob object discrepancies between platforms 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-3219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-3219. ------------------------------- Resolution: Won't Fix Thanks for pointing this out Grzegorz. I don't think this is something we can fix in Cordova. It's a problem with the underlying version of WebKit not supporting the Blob constructor. For Android 3.0+, you can use WebKitBlobBuilder though. > Blob object discrepancies between platforms > ------------------------------------------- > > Key: CB-3219 > URL: https://issues.apache.org/jira/browse/CB-3219 > Project: Apache Cordova > Issue Type: Bug > Components: Android, iOS > Affects Versions: 2.6.0 > Environment: iOS device: iPhone 3gs, os: 6.1 > Android device version: N7102, os: 4.1.1 > Using default project created via "cordova create && cordova platform(s) add" commands. > Reporter: Grzegorz Nowak > Assignee: Andrew Grieve > Priority: Minor > > h4. how to reproduce > When checking for Blob object support with the code (slightly modified boilerplate code, from boilerplate project): > {code:title=Bar.javascript|borderStyle=solid} > var app = { > initialize: function() { > this.bind(); > }, > bind: function() { > document.addEventListener('deviceready', this.deviceready, false); > }, > deviceready: function() { > // note that this is an event handler so the scope is that of the event > // so we need to call app.report(), and not this.report() > app.report(); > }, > report: function() { > alert(this.isBlobSupported()); > }, > isBlobSupported:function() { > try { > return !!new Blob(); > } catch (e) { > return false; > } > } > }; > {code} > h4. result > I get different results for iOS (true) and Android (false). > h4. expected result > code should return the same value for every device supported. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira