appcelerator/titanium_mobile — pull request #2283 by arthurevans (2012-05-27 21:13:44+00:00)
Title: [TIMOB-9222][TIMOB-9223] Fixed crashes on setData, hasData. 

Also fixed hasText, hasData return values.

Also added drillbit tests for Clipboard. Note that these fail on Android because of Bug #9263, fixed in PR#2280:

https://github.com/appcelerator/titanium_mobile/pull/2280

With that fix, 2 tests still fail on Android because clearData's argument should be optional, but isn't.

I could change the tests to accomodate this bug, but it would be preferable to simply fix clearData while we're doing a PR on Clipboard.