Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12416] MobileWeb: Blob.toString needs to base64 encode binary data

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-05-01T22:34:02.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterBryan Hughes
AssigneeChris Barber
Created2013-01-24T19:48:31.000+0000
Updated2017-05-02T21:29:54.000+0000

Description

Calling Blob.toString() on binary data needs to base64 encode the data first
var xhr = Ti.Network.createHTTPClient();

xhr.onload = function() {
	console.log(xhr.responseData.toString());
};
xhr.open('GET','KS_nav_ui.png');
xhr.send();

Attachments

FileDateSize
blob.tostring.png2013-01-24T19:50:25.000+0000170799

Comments

  1. Lee Morris 2017-05-01

    Resolving ticket as "Won't Fix" as MobileWeb is no longer supported.

JSON Source