Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsRenderTest.java

Issue 517153002: Re-enalbe "testSetGetBackgroundColor" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yay Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsRenderTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsRenderTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsRenderTest.java
index 24e686ebf4ba8e4e9959583cca79f2d65c1dd97b..c2f611e303738d389c92690e9db278ede2e55acc 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsRenderTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsRenderTest.java
@@ -10,7 +10,6 @@ import android.test.suitebuilder.annotation.SmallTest;
import org.chromium.android_webview.AwContents;
import org.chromium.base.ThreadUtils;
-import org.chromium.base.test.util.DisabledTest;
import org.chromium.base.test.util.Feature;
import java.util.concurrent.Callable;
@@ -68,9 +67,7 @@ public class AwContentsRenderTest extends AwTestBase {
/*
@SmallTest
@Feature({"AndroidWebView"})
- crbug.com/384559
*/
- @DisabledTest
public void testSetGetBackgroundColor() throws Throwable {
setBackgroundColorOnUiThread(Color.MAGENTA);
pollForBackgroundColor(Color.MAGENTA);
@@ -86,7 +83,7 @@ public class AwContentsRenderTest extends AwTestBase {
loadUrlSync(mAwContents, mContentsClient.getOnPageFinishedHelper(),
"data:text/html,<html><head><style>body {background-color:#227788}</style></head>" +
- "<body><br>HelloWorld</body></html>");
+ "<body></body></html>");
pollForBackgroundColor(Color.rgb(0x22, 0x77, 0x88));
// Changing the base background should not override CSS background.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698