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

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

Issue 625007: Revert 39287 - Chromium pieces to use the WebKit support for isolation file:/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 10 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
« no previous file with comments | « webkit/tools/test_shell/layout_test_controller.cc ('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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 web_prefs_->text_areas_are_resizable = false; 457 web_prefs_->text_areas_are_resizable = false;
458 web_prefs_->java_enabled = false; 458 web_prefs_->java_enabled = false;
459 web_prefs_->allow_scripts_to_close_windows = false; 459 web_prefs_->allow_scripts_to_close_windows = false;
460 web_prefs_->xss_auditor_enabled = false; 460 web_prefs_->xss_auditor_enabled = false;
461 // It's off by default for Chrome, but we don't want to 461 // It's off by default for Chrome, but we don't want to
462 // lose the coverage of dynamic font tests in webkit test. 462 // lose the coverage of dynamic font tests in webkit test.
463 web_prefs_->remote_fonts_enabled = true; 463 web_prefs_->remote_fonts_enabled = true;
464 web_prefs_->local_storage_enabled = true; 464 web_prefs_->local_storage_enabled = true;
465 web_prefs_->application_cache_enabled = true; 465 web_prefs_->application_cache_enabled = true;
466 web_prefs_->databases_enabled = true; 466 web_prefs_->databases_enabled = true;
467 web_prefs_->allow_file_access_from_file_urls = true;
468 // LayoutTests were written with Safari Mac in mind which does not allow 467 // LayoutTests were written with Safari Mac in mind which does not allow
469 // tabbing to links by default. 468 // tabbing to links by default.
470 web_prefs_->tabs_to_links = false; 469 web_prefs_->tabs_to_links = false;
471 470
472 // Allow those layout tests running as local files, i.e. under 471 // Allow those layout tests running as local files, i.e. under
473 // LayoutTests/http/tests/local, to access http server. 472 // LayoutTests/http/tests/local, to access http server.
474 if (layout_test_mode_) 473 if (layout_test_mode_)
475 web_prefs_->allow_universal_access_from_file_urls = true; 474 web_prefs_->allow_universal_access_from_file_urls = true;
476 } 475 }
477 } 476 }
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 769
771 void CloseCurrentConnections() { 770 void CloseCurrentConnections() {
772 // Used in benchmarking, Ignored for test_shell. 771 // Used in benchmarking, Ignored for test_shell.
773 } 772 }
774 773
775 void SetCacheMode(bool enabled) { 774 void SetCacheMode(bool enabled) {
776 // Used in benchmarking, Ignored for test_shell. 775 // Used in benchmarking, Ignored for test_shell.
777 } 776 }
778 777
779 } // namespace webkit_glue 778 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/layout_test_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698