Merge "when test case times out, stop loading first" into honeycomb
This commit is contained in:
@@ -75,6 +75,7 @@ public class TestShellActivity extends Activity implements LayoutTestController
|
|||||||
public void handleMessage(Message msg) {
|
public void handleMessage(Message msg) {
|
||||||
if (msg.what == MSG_TIMEOUT) {
|
if (msg.what == MSG_TIMEOUT) {
|
||||||
mTimedOut = true;
|
mTimedOut = true;
|
||||||
|
mWebView.stopLoading();
|
||||||
if (mCallback != null)
|
if (mCallback != null)
|
||||||
mCallback.timedOut(mWebView.getUrl());
|
mCallback.timedOut(mWebView.getUrl());
|
||||||
if (!mRequestedWebKitData) {
|
if (!mRequestedWebKitData) {
|
||||||
|
|||||||
Reference in New Issue
Block a user