Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-11273: Android: KS Web Views > Local URL: Apple logo and html text not appearing. #3222

Merged
merged 4 commits into from Oct 15, 2012

Conversation

ayeung
Copy link
Contributor

@ayeung ayeung commented Oct 13, 2012

…ag, and re-inject the binding code when we refresh
@ghost ghost assigned pingwang2011 Oct 14, 2012
StringBuilder sb = new StringBuilder(html.length() + 2500);
sb.append(html.substring(0, tagEnd + 1));
sb.append(TiWebViewBinding.SCRIPT_TAG_INJECTION_CODE);
sb.append(html.substring(tagEnd + 1));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should check if(tagEng+1 < html.length()) before calling substring().

@pingwang2011
Copy link
Contributor

Code reviewed. Please address comment.

@pingwang2011
Copy link
Contributor

Code reviewed and functionally tested. In the test case in TIMOB-10397, clicking log message after loading a remote webview displays the hello message, which should not happen.

@pingwang2011
Copy link
Contributor

Code reviewed and functionally tested. Accepted

pingwang2011 added a commit that referenced this pull request Oct 15, 2012
TIMOB-11273: Android: KS Web Views > Local URL: Apple logo and html text not appearing.
@pingwang2011 pingwang2011 merged commit af67a9b into tidev:master Oct 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants