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

Side by Side Diff: content/test/BUILD.gn

Issue 2702503002: Block renderer-initiated main frame navigations to data URLs (Closed)
Patch Set: kinuko comments Created 3 years, 8 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/chromecast_build.gni") 6 import("//build/config/chromecast_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/crypto.gni") 8 import("//build/config/crypto.gni")
9 import("//build/config/features.gni") 9 import("//build/config/features.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 "../browser/devtools/protocol/devtools_protocol_browsertest.cc", 615 "../browser/devtools/protocol/devtools_protocol_browsertest.cc",
616 "../browser/devtools/site_per_process_devtools_browsertest.cc", 616 "../browser/devtools/site_per_process_devtools_browsertest.cc",
617 "../browser/dom_storage/dom_storage_browsertest.cc", 617 "../browser/dom_storage/dom_storage_browsertest.cc",
618 "../browser/download/download_browsertest.cc", 618 "../browser/download/download_browsertest.cc",
619 "../browser/download/drag_download_file_browsertest.cc", 619 "../browser/download/drag_download_file_browsertest.cc",
620 "../browser/download/mhtml_generation_browsertest.cc", 620 "../browser/download/mhtml_generation_browsertest.cc",
621 "../browser/download/save_package_browsertest.cc", 621 "../browser/download/save_package_browsertest.cc",
622 "../browser/fileapi/file_system_browsertest.cc", 622 "../browser/fileapi/file_system_browsertest.cc",
623 "../browser/fileapi/fileapi_browsertest.cc", 623 "../browser/fileapi/fileapi_browsertest.cc",
624 "../browser/find_request_manager_browsertest.cc", 624 "../browser/find_request_manager_browsertest.cc",
625 "../browser/frame_host/data_url_navigation_browsertest.cc",
625 "../browser/frame_host/form_submission_throttle_browsertest.cc", 626 "../browser/frame_host/form_submission_throttle_browsertest.cc",
626 "../browser/frame_host/frame_tree_browsertest.cc", 627 "../browser/frame_host/frame_tree_browsertest.cc",
627 "../browser/frame_host/interstitial_page_impl_browsertest.cc", 628 "../browser/frame_host/interstitial_page_impl_browsertest.cc",
628 "../browser/frame_host/navigation_controller_impl_browsertest.cc", 629 "../browser/frame_host/navigation_controller_impl_browsertest.cc",
629 "../browser/frame_host/navigation_handle_impl_browsertest.cc", 630 "../browser/frame_host/navigation_handle_impl_browsertest.cc",
630 "../browser/frame_host/render_frame_host_impl_browsertest.cc", 631 "../browser/frame_host/render_frame_host_impl_browsertest.cc",
631 "../browser/frame_host/render_frame_host_manager_browsertest.cc", 632 "../browser/frame_host/render_frame_host_manager_browsertest.cc",
632 "../browser/frame_host/render_frame_message_filter_browsertest.cc", 633 "../browser/frame_host/render_frame_message_filter_browsertest.cc",
633 "../browser/frame_host/render_widget_host_view_child_frame_browsertest.cc", 634 "../browser/frame_host/render_widget_host_view_child_frame_browsertest.cc",
634 "../browser/generic_sensor_browsertest.cc", 635 "../browser/generic_sensor_browsertest.cc",
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 "../browser/renderer_host/input/touch_selection_controller_client_aura_bro wsertest.cc", 990 "../browser/renderer_host/input/touch_selection_controller_client_aura_bro wsertest.cc",
990 "../browser/web_contents/web_contents_view_aura_browsertest.cc", 991 "../browser/web_contents/web_contents_view_aura_browsertest.cc",
991 ] 992 ]
992 } 993 }
993 994
994 if (is_chromecast) { 995 if (is_chromecast) {
995 sources -= [ 996 sources -= [
996 # The cast shell media pipeline doesn't produce real video frames that we 997 # The cast shell media pipeline doesn't produce real video frames that we
997 # can inspect. 998 # can inspect.
998 "../browser/media/media_color_browsertest.cc", 999 "../browser/media/media_color_browsertest.cc",
1000
1001 # The cast shell has plugin support but no pdf, causing data URL PDF tests
1002 # to fail.
1003 "../browser/frame_host/data_url_navigation_browsertest.cc",
999 ] 1004 ]
1000 } 1005 }
1001 } 1006 }
1002 1007
1003 test("content_unittests") { 1008 test("content_unittests") {
1004 # See comment at the top of //content/BUILD.gn for why this is disabled in 1009 # See comment at the top of //content/BUILD.gn for why this is disabled in
1005 # component builds. 1010 # component builds.
1006 if (is_component_build) { 1011 if (is_component_build) {
1007 check_includes = false 1012 check_includes = false
1008 } 1013 }
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
1860 if (is_android) { 1865 if (is_android) {
1861 deps += [ "//testing/android/native_test:native_test_native_code" ] 1866 deps += [ "//testing/android/native_test:native_test_native_code" ]
1862 } 1867 }
1863 } 1868 }
1864 1869
1865 group("fuzzers") { 1870 group("fuzzers") {
1866 deps = [ 1871 deps = [
1867 "//content/test/fuzzer", 1872 "//content/test/fuzzer",
1868 ] 1873 ]
1869 } 1874 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698