cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6413) spec.105 and spec.108 of file autotest are failed on Android 2.3.7
Date Mon, 14 Apr 2014 18:23:15 GMT

    [ https://issues.apache.org/jira/browse/CB-6413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968620#comment-13968620
] 

Ian Clelland commented on CB-6413:
----------------------------------

Sounds like a pretty special build of Android -- thanks for checking.

I think that what's going wrong here is that the call to {{fail()}} doesn't actually stop
execution of the test. {{blob}} is left undefined, and the test runs without it.

I'd like to skip the test entirely, but I don't think we can, on your device. With {{ArrayBuffer}}
and {{Blob}} both being defined (and looking correct,) I think we need to run the test and
try to create the blob before we fail.

Out of curiosity -- since the Blob constructor statement is obviously throwing an exception
-- can you tell what the exception is? I'm wondering what kind of blob implementation you
have on that phone.


> spec.105 and spec.108 of file autotest are failed on Android 2.3.7
> ------------------------------------------------------------------
>
>                 Key: CB-6413
>                 URL: https://issues.apache.org/jira/browse/CB-6413
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 3.4.0
>         Environment: Android 2.3.7
>            Reporter: puchen
>
> Run spec.105 and spec.108 of file autotest got messages:
> spec.105: Expected 4 to be 32.
> spec.108: Expected spy verifier to have been called.
> Android 2.3.7 can't support window.WebKitBlobBuilder, and js code "if (window.WebKitBlobBuilder)"
the window.WebKitBlobBuilder is 'undefined' in the spec.105 and spec.108. But codes still
run in the if line.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message