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

Side by Side Diff: webkit/tools/test_shell/test_shell.cc

Issue 405026: Fix bug 27217 - disable Java in test_shell by default, to match ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: okay, this eol thing is getting weird Created 11 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/tools/layout_tests/test_expectations.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #undef LOG 5 #undef LOG
6 6
7 #include "webkit/tools/test_shell/test_shell.h" 7 #include "webkit/tools/test_shell/test_shell.h"
8 8
9 #include "app/gfx/codec/png_codec.h" 9 #include "app/gfx/codec/png_codec.h"
10 #include "base/base_paths.h" 10 #include "base/base_paths.h"
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 web_prefs_->default_font_size = 16; 427 web_prefs_->default_font_size = 16;
428 web_prefs_->default_fixed_font_size = 13; 428 web_prefs_->default_fixed_font_size = 13;
429 web_prefs_->minimum_font_size = 1; 429 web_prefs_->minimum_font_size = 1;
430 web_prefs_->minimum_logical_font_size = 9; 430 web_prefs_->minimum_logical_font_size = 9;
431 web_prefs_->javascript_can_open_windows_automatically = true; 431 web_prefs_->javascript_can_open_windows_automatically = true;
432 web_prefs_->dom_paste_enabled = true; 432 web_prefs_->dom_paste_enabled = true;
433 web_prefs_->developer_extras_enabled = !layout_test_mode_; 433 web_prefs_->developer_extras_enabled = !layout_test_mode_;
434 web_prefs_->shrinks_standalone_images_to_fit = false; 434 web_prefs_->shrinks_standalone_images_to_fit = false;
435 web_prefs_->uses_universal_detector = false; 435 web_prefs_->uses_universal_detector = false;
436 web_prefs_->text_areas_are_resizable = false; 436 web_prefs_->text_areas_are_resizable = false;
437 web_prefs_->java_enabled = true; 437 web_prefs_->java_enabled = false;
438 web_prefs_->allow_scripts_to_close_windows = false; 438 web_prefs_->allow_scripts_to_close_windows = false;
439 web_prefs_->xss_auditor_enabled = false; 439 web_prefs_->xss_auditor_enabled = false;
440 // It's off by default for Chrome, but we don't want to 440 // It's off by default for Chrome, but we don't want to
441 // lose the coverage of dynamic font tests in webkit test. 441 // lose the coverage of dynamic font tests in webkit test.
442 web_prefs_->remote_fonts_enabled = true; 442 web_prefs_->remote_fonts_enabled = true;
443 web_prefs_->local_storage_enabled = true; 443 web_prefs_->local_storage_enabled = true;
444 web_prefs_->application_cache_enabled = true; 444 web_prefs_->application_cache_enabled = true;
445 web_prefs_->databases_enabled = true; 445 web_prefs_->databases_enabled = true;
446 // LayoutTests were written with Safari Mac in mind which does not allow 446 // LayoutTests were written with Safari Mac in mind which does not allow
447 // tabbing to links by default. 447 // tabbing to links by default.
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 717
718 void CloseIdleConnections() { 718 void CloseIdleConnections() {
719 // Used in benchmarking, Ignored for test_shell. 719 // Used in benchmarking, Ignored for test_shell.
720 } 720 }
721 721
722 void SetCacheMode(bool enabled) { 722 void SetCacheMode(bool enabled) {
723 // Used in benchmarking, Ignored for test_shell. 723 // Used in benchmarking, Ignored for test_shell.
724 } 724 }
725 725
726 } // namespace webkit_glue 726 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/tools/layout_tests/test_expectations.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698