OLD | NEW |
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 #include <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <utility> | 10 #include <utility> |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 #include "content/public/common/referrer.h" | 56 #include "content/public/common/referrer.h" |
57 #include "content/public/common/resource_type.h" | 57 #include "content/public/common/resource_type.h" |
58 #include "content/public/common/security_style.h" | 58 #include "content/public/common/security_style.h" |
59 #include "content/public/common/web_preferences.h" | 59 #include "content/public/common/web_preferences.h" |
60 #include "content/public/test/browser_test_utils.h" | 60 #include "content/public/test/browser_test_utils.h" |
61 #include "content/public/test/content_browser_test.h" | 61 #include "content/public/test/content_browser_test.h" |
62 #include "content/public/test/content_browser_test_utils.h" | 62 #include "content/public/test/content_browser_test_utils.h" |
63 #include "content/shell/browser/shell.h" | 63 #include "content/shell/browser/shell.h" |
64 #include "content/shell/browser/shell_content_browser_client.h" | 64 #include "content/shell/browser/shell_content_browser_client.h" |
65 #include "content/test/test_content_browser_client.h" | 65 #include "content/test/test_content_browser_client.h" |
66 #include "net/log/net_log.h" | 66 #include "net/log/net_log_with_source.h" |
67 #include "net/test/embedded_test_server/embedded_test_server.h" | 67 #include "net/test/embedded_test_server/embedded_test_server.h" |
68 #include "net/test/embedded_test_server/http_request.h" | 68 #include "net/test/embedded_test_server/http_request.h" |
69 #include "net/test/embedded_test_server/http_response.h" | 69 #include "net/test/embedded_test_server/http_response.h" |
70 #include "net/url_request/url_request_filter.h" | 70 #include "net/url_request/url_request_filter.h" |
71 #include "net/url_request/url_request_interceptor.h" | 71 #include "net/url_request/url_request_interceptor.h" |
72 #include "net/url_request/url_request_test_job.h" | 72 #include "net/url_request/url_request_test_job.h" |
73 #include "storage/browser/blob/blob_data_handle.h" | 73 #include "storage/browser/blob/blob_data_handle.h" |
74 #include "storage/browser/blob/blob_data_snapshot.h" | 74 #include "storage/browser/blob/blob_data_snapshot.h" |
75 #include "storage/browser/blob/blob_reader.h" | 75 #include "storage/browser/blob/blob_reader.h" |
76 #include "storage/browser/blob/blob_storage_context.h" | 76 #include "storage/browser/blob/blob_storage_context.h" |
(...skipping 1948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2025 | 2025 |
2026 IN_PROC_BROWSER_TEST_F(ServiceWorkerDisableWebSecurityTest, UpdateNoCrash) { | 2026 IN_PROC_BROWSER_TEST_F(ServiceWorkerDisableWebSecurityTest, UpdateNoCrash) { |
2027 const char kPageUrl[] = "/service_worker/disable_web_security_update.html"; | 2027 const char kPageUrl[] = "/service_worker/disable_web_security_update.html"; |
2028 const char kScopeUrl[] = "/service_worker/scope/"; | 2028 const char kScopeUrl[] = "/service_worker/scope/"; |
2029 const char kWorkerUrl[] = "/service_worker/fetch_event_blob.js"; | 2029 const char kWorkerUrl[] = "/service_worker/fetch_event_blob.js"; |
2030 RegisterServiceWorkerOnCrossOriginServer(kScopeUrl, kWorkerUrl); | 2030 RegisterServiceWorkerOnCrossOriginServer(kScopeUrl, kWorkerUrl); |
2031 RunTestWithCrossOriginURL(kPageUrl, kScopeUrl); | 2031 RunTestWithCrossOriginURL(kPageUrl, kScopeUrl); |
2032 } | 2032 } |
2033 | 2033 |
2034 } // namespace content | 2034 } // namespace content |
OLD | NEW |