Problem
Opening Facebook.dialog and clicking cancel before dialog loads throws a
NSURLErrorDomain error -999
error
Following this, the application freezes and closes both in the simulator and device.
Test case
When the dialog pops up quickly, click the 'Cancel' button. The error should be thrown and the app should close. Due to time constraints, I am currently unable to test this in any situation outside of the application I'm working on, so the 'force closing' may be specific to my application alone.
Ti.Facebook.dialog('feed',data, function(e){
trace('result:'+e.result);
trace('success:'+e.success);
trace('cancelled:'+e.cancelled);
trace('error:'+e.error);
});
Thanks for raising this ticket. In order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist), and add any missing information. For the description field, you can use [this template](https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template) as a starting point (simply copy and paste it). Furthermore, we must be able to reproduce the issue in order to accept it, and so a test case must be included and run without modification, as per the [Creating a Test Case](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase) section. Thanks in advance for your cooperation. Cheers
Tested on 1.8.1, it's working fine.