Merge "when test case times out, stop loading first" into honeycomb

This commit is contained in:
Guang Zhu
2011-01-14 16:26:30 -08:00
committed by Android (Google) Code Review

View File

@@ -75,6 +75,7 @@ public class TestShellActivity extends Activity implements LayoutTestController
public void handleMessage(Message msg) {
if (msg.what == MSG_TIMEOUT) {
mTimedOut = true;
mWebView.stopLoading();
if (mCallback != null)
mCallback.timedOut(mWebView.getUrl());
if (!mRequestedWebKitData) {