Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-491] xhr -> write html file -> render web view = !work

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:53:16.000+0000
Affected Version/sn/a
Fix Version/s0.9.3
ComponentsiOS
Labelsios, iphone
ReporterNolan Wright
AssigneeJeff Haynie
Created2011-04-15T02:30:10.000+0000
Updated2011-04-17T01:53:16.000+0000

Description

Base UI => Views => Web Views => XHR to Filesystem

test opens google.com, writes it to a file in applicationDataDirectory, then uses native path to create web view

Comments

  1. Jeff Haynie 2011-04-15

    this was an awesome issue.

    when you fetch google via XHR he'll return WAP instead of HTML content. WebView can't render WAP. i just fake the User-Agent in XHR request (which is a good test too) and get him to give me back HTML and it works.

JSON Source