diff options
Diffstat (limited to 'tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java')
-rw-r--r-- | tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java b/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java index d3018e8..fa82070 100644 --- a/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java +++ b/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java @@ -101,6 +101,7 @@ public class TestShellActivity extends Activity implements LayoutTestController } public void requestWebKitData() { + setDumpTimeout(DUMP_TIMEOUT_MS); Message callback = mHandler.obtainMessage(MSG_WEBKIT_DATA); if (mRequestedWebKitData) @@ -112,12 +113,10 @@ public class TestShellActivity extends Activity implements LayoutTestController case DUMP_AS_TEXT: callback.arg1 = mDumpTopFrameAsText ? 1 : 0; callback.arg2 = mDumpChildFramesAsText ? 1 : 0; - setDumpTimeout(DUMP_TIMEOUT_MS); mWebView.documentAsText(callback); break; case EXT_REPR: mWebView.externalRepresentation(callback); - setDumpTimeout(DUMP_TIMEOUT_MS); break; default: finished(); |