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

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

Issue 203074: Refactor the DB code to make all DB layout tests pass on test_shell.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-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 "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 web_prefs_->text_areas_are_resizable = false; 416 web_prefs_->text_areas_are_resizable = false;
417 web_prefs_->java_enabled = true; 417 web_prefs_->java_enabled = true;
418 web_prefs_->allow_scripts_to_close_windows = false; 418 web_prefs_->allow_scripts_to_close_windows = false;
419 web_prefs_->xss_auditor_enabled = false; 419 web_prefs_->xss_auditor_enabled = false;
420 // It's off by default for Chrome, but we don't want to 420 // It's off by default for Chrome, but we don't want to
421 // lose the coverage of dynamic font tests in webkit test. 421 // lose the coverage of dynamic font tests in webkit test.
422 web_prefs_->remote_fonts_enabled = true; 422 web_prefs_->remote_fonts_enabled = true;
423 web_prefs_->local_storage_enabled = true; 423 web_prefs_->local_storage_enabled = true;
424 web_prefs_->session_storage_enabled = true; 424 web_prefs_->session_storage_enabled = true;
425 web_prefs_->application_cache_enabled = false; 425 web_prefs_->application_cache_enabled = false;
426 web_prefs_->databases_enabled = true;
426 // LayoutTests were written with Safari Mac in mind which does not allow 427 // LayoutTests were written with Safari Mac in mind which does not allow
427 // tabbing to links by default. 428 // tabbing to links by default.
428 web_prefs_->tabs_to_links = false; 429 web_prefs_->tabs_to_links = false;
429 430
430 // Allow those layout tests running as local files, i.e. under 431 // Allow those layout tests running as local files, i.e. under
431 // LayoutTests/http/tests/local, to access http server. 432 // LayoutTests/http/tests/local, to access http server.
432 if (layout_test_mode_) 433 if (layout_test_mode_)
433 web_prefs_->allow_universal_access_from_file_urls = true; 434 web_prefs_->allow_universal_access_from_file_urls = true;
434 } 435 }
435 } 436 }
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 679
679 void CloseIdleConnections() { 680 void CloseIdleConnections() {
680 // Used in benchmarking, Ignored for test_shell. 681 // Used in benchmarking, Ignored for test_shell.
681 } 682 }
682 683
683 void SetCacheMode(bool enabled) { 684 void SetCacheMode(bool enabled) {
684 // Used in benchmarking, Ignored for test_shell. 685 // Used in benchmarking, Ignored for test_shell.
685 } 686 }
686 687
687 } // namespace webkit_glue 688 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/simple_database_system.cc ('k') | webkit/tools/test_shell/test_shell.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698