summaryrefslogtreecommitdiffstats
path: root/android_webview
diff options
context:
space:
mode:
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-02 06:13:01 +0000
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-02 06:13:01 +0000
commit36caed781a434ccea526e6c8e8debf9038147aff (patch)
tree16dc524df52d9b20f4187d7cbd2798c975c03452 /android_webview
parenta632e6816ebaed4284e5c7b463708b4a62d14e57 (diff)
downloadchromium_src-36caed781a434ccea526e6c8e8debf9038147aff.zip
chromium_src-36caed781a434ccea526e6c8e8debf9038147aff.tar.gz
chromium_src-36caed781a434ccea526e6c8e8debf9038147aff.tar.bz2
Fix testGetVisitedHistoryCallbackAfterDestroy
Crash caused by RenderThreadImpl::OnMemoryPressure being called before blink is initialized. Fix by skipping the crashing code if blink has not been initialized. BUG=398768 Review URL: https://codereview.chromium.org/437623003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287167 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview')
-rw-r--r--android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientVisitedHistoryTest.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientVisitedHistoryTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientVisitedHistoryTest.java
index 3bb248b..9eb93b9 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientVisitedHistoryTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientVisitedHistoryTest.java
@@ -8,7 +8,6 @@ import android.test.suitebuilder.annotation.SmallTest;
import android.webkit.ValueCallback;
import org.chromium.android_webview.AwContents;
-import org.chromium.base.test.util.DisabledTest;
import org.chromium.base.test.util.Feature;
import org.chromium.content.browser.test.util.CallbackHelper;
import org.chromium.net.test.util.TestWebServer;
@@ -158,12 +157,8 @@ public class AwContentsClientVisitedHistoryTest extends AwTestBase {
}
}
- /*
@Feature({"AndroidWebView"})
@SmallTest
- crbug.com/398768
- */
- @DisabledTest
public void testGetVisitedHistoryCallbackAfterDestroy() throws Throwable {
GetVisitedHistoryHelper visitedHistoryHelper =
mContentsClient.getGetVisitedHistoryHelper();