cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Nowak (JIRA)" <>
Subject [jira] [Created] (CB-3219) Blob object discrepancies between platforms
Date Tue, 23 Apr 2013 19:09:15 GMT
Grzegorz Nowak created CB-3219:

             Summary: Blob object discrepancies between platforms
                 Key: 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: Joe Bowser
            Priority: Minor

h4. how to reproduce
When checking for Blob object support with the code (slightly modified boilerplate code, from
boilerplate project):

var app = {
    initialize: function() {
    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, and not;

    report: function() {

    isBlobSupported:function() {
        try {
            return !!new Blob();
        } catch (e) {
            return false;

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:

View raw message