summaryrefslogtreecommitdiffstats
path: root/content/shell/webkit_test_helpers.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-22 07:07:16 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-22 07:07:16 +0000
commit3bbab7e0d09ed2173d48a41b534a1cc79236e6f2 (patch)
tree01e8b85161358bd33821eb4b055f1535fac036dc /content/shell/webkit_test_helpers.cc
parentf5c7bc99600991e4f17041deb7ee3b68317df0bd (diff)
downloadchromium_src-3bbab7e0d09ed2173d48a41b534a1cc79236e6f2.zip
chromium_src-3bbab7e0d09ed2173d48a41b534a1cc79236e6f2.tar.gz
chromium_src-3bbab7e0d09ed2173d48a41b534a1cc79236e6f2.tar.bz2
[content shell] disable logging webgl errors to the console for layout tests
BUG=111316 TEST=fast/canavs/webgl tests pass R=kbr@chromium.org,tsepez@chromium.org,jam@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11644080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174505 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/webkit_test_helpers.cc')
-rw-r--r--content/shell/webkit_test_helpers.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/shell/webkit_test_helpers.cc b/content/shell/webkit_test_helpers.cc
index 0ca1d17..104cf3f 100644
--- a/content/shell/webkit_test_helpers.cc
+++ b/content/shell/webkit_test_helpers.cc
@@ -60,6 +60,7 @@ void ApplyLayoutTestDefaultPreferences(webkit_glue::WebPreferences* prefs) {
prefs->hyperlink_auditing_enabled = false;
prefs->allow_displaying_insecure_content = true;
prefs->allow_running_insecure_content = true;
+ prefs->webgl_errors_to_console_enabled = false;
}
} // namespace content