[ https://issues.apache.org/jira/browse/CB-6413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969368#comment-13969368 ]
puchen edited comment on CB-6413 at 4/15/14 9:33 AM: ----------------------------------------------------- [~iclelland] Yes, I tried this latest patch, and I got all pass.Thanks 1.I tried these codes at spec.105. try { // Android Browser: Use deprecated BlobBuilder var builder = new WebKitBlobBuilder(); builder.append(data); blob = builder.getBlob('application/octet-stream'); } catch(e) { alert(e); } And I got "ReferenceError: WebkitBlobBuilder is not defined". 2.Tried these codes at spec.105 try { // Mobile Safari: Use Blob constructor blob = new Blob([data], {"type": "application/octet-stream"}) } catch(e) { alert(e); } and got "TypeError: Illegal constructor". was (Author: puchen): [~iclelland] Yes, I tried this latest patch, and I got all pass. 1.I tried these codes at spec.105. try { // Android Browser: Use deprecated BlobBuilder var builder = new WebKitBlobBuilder(); builder.append(data); blob = builder.getBlob('application/octet-stream'); } catch(e) { alert(e); } And I got "ReferenceError: WebkitBlobBuilder is not defined". 2.Tried these codes at spec.105 try { // Mobile Safari: Use Blob constructor blob = new Blob([data], {"type": "application/octet-stream"}) } catch(e) { alert(e); } and got "TypeError: Illegal constructor". > 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 > Assignee: Ian Clelland > > 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)