sinkuri256 / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

waitForEvent in WebView doesn't end even if script ends #479

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Samsung Galaxy S - Android 2.1

What steps will reproduce the problem?
1. Create a python script that creates a WebView
2. In the javascript of the HTML file opened by webview, have a 
waitForEvent("someevent"), without timeout value
3. Exit or Crash the python script without posting the corresponding event
4. Restart the script; the WebView doesn't launch

A solution has been, at stage 4 to hit the home button, enter the "Running 
applications", end sl4a altogether. Restart sl4a and the script works again.

Tq

Mat

Original issue reported on code.google.com by mathieu....@gmail.com on 17 Nov 2010 at 9:18

Attachments: