-
23 Oct 2011 10:49 AM #1
JavaScript execution exceeded timeout error
JavaScript execution exceeded timeout error
Hello,
I've got a simple app which works in the iOS Simulator but gives a "JavaScript execution exceeded timeout" error when I load it on my iPhone 4 running iOS 5.
Here's the app if you'd like to try it in Safari on your phone:
http://beltline-bike-shop.herokuapp.com
And here's the source code:
https://gist.github.com/1307693
I'm guessing this is just an issue due to 2.x being in beta?
Anyways - I figured I go ahead and report it.
- Brandon
-
23 Oct 2011 10:57 AM #2
Turns out others are reporting this over here in the 1.x forums:
http://www.sencha.com/forum/showthre...chensink-fails
Also, if I force quit mobile Safari on the phone and relaunch it, I can load the app successfully.
-
31 Oct 2011 11:15 AM #3Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
We will look into it, thank you for the report.
-
30 Nov 2011 9:50 AM #4Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
Brandon, that gist isn't quite complete. Do you have one with you map configuration?
-
5 Dec 2011 6:39 AM #5
Update?
Update?
Can someone give us an update on this? My simple app will not run on iPhone because of this, and, we need to make a decision on whether to use Sencha 2 asap...
Is there at least a workaround other than clearing cache, which, I've seen as suggested somewhere, but, obviously isn't acceptable for a real app.
I would think this bug would be highest priority of any, since it basically makes Sencha unusable.
thanks,
David
-
5 Dec 2011 9:25 AM #6Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
Do either of you have a reproducible test case for this so I know it's fixed if I change the code over to stop using watchPosition?
-
9 Dec 2011 3:55 PM #7Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
I flipped it over to getCurrentLocation in PR3, we'll see how that goes...
-
11 Apr 2012 2:31 AM #8
Getting the same problem
Getting the same problem
Hi,
I am also getting the same problem on iPad, The error is generated on the function written below, If I refresh the page error goes away, Any idea why it is coming
Code:processRead: function(resultSet) { var records = resultSet.getRecords(), processedRecords = [], Model = this.getModel(), ln = records.length, i, record; for (i = 0; i < ln; i++) { record = records[i]; processedRecords.push(new Model(record.data, record.id, record.node)); } this.setRecords(processedRecords); return true; }
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-926
in
2.0.


Reply With Quote