74d37b965345cfe9c4ac65271cc2658dcc1f5350 |
|
16-May-2012 |
Ben Murdoch <benm@google.com> |
Fix up the WebCoreThreadWatchdog Make the WebCoreWatchdog aware of the WebViews it is monitoring (rather than the Activity context which may become stale) and ensure that the code for the prompt dialog is run on the UI thread. Bug: 6420310 Change-Id: Ied003938edb04858c85bcc2491c4b2c4c0ede6eb
/frameworks/base/core/java/android/webkit/WebCoreThreadWatchdog.java
|
dfceaf2cdbc9355b10fd9c17777808fb65e61851 |
|
18-Apr-2012 |
Michael Kolb <kolby@google.com> |
Prevent dialog from invalid context Bug: 6346748 Change-Id: Ia65ecc1ecb882b480127aca0034db25a9e51ed3c
/frameworks/base/core/java/android/webkit/WebCoreThreadWatchdog.java
|
b5622b60085086b753ae3ab64168099d0c1471bf |
|
30-Jan-2012 |
Ben Murdoch <benm@google.com> |
Remove code that quits the webcore watchdog thread. The WebCore thread lives forever ergo so should the watchdog. Bug: 5920210 Change-Id: I2596a4cc4720c4e09265b9a875680bb7891bd919
/frameworks/base/core/java/android/webkit/WebCoreThreadWatchdog.java
|
e2e20835835c1ef214e72d9874671aba212e0a94 |
|
20-Oct-2011 |
Ben Murdoch <benm@google.com> |
Prompt the user to terminate unresponsive pages. Run a background "watchdog" thread that will check for the WebCore thread stopping processing messages (this can happen if a piece of JavaScript goes into an infinite loop, for example) and offer to close the WebView app when it detects such a case, much like the normal system ANR. Bug: 2563868 Change-Id: Ic74813b1e630d657c340a7017a4b0814071eb041
/frameworks/base/core/java/android/webkit/WebCoreThreadWatchdog.java
|