summaryrefslogtreecommitdiffstats
path: root/content/content_unittests.isolate
diff options
context:
space:
mode:
authorhoro <horo@chromium.org>2015-02-04 04:53:25 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-04 12:54:12 +0000
commit4bd0e01e3027e569f03b0cb18a46b72263f78a1d (patch)
tree148d75462325db28736bbebcc290637704bbaa88 /content/content_unittests.isolate
parente63cb64457a53eaaf4aa6637f0a7e1847ebea109 (diff)
downloadchromium_src-4bd0e01e3027e569f03b0cb18a46b72263f78a1d.zip
chromium_src-4bd0e01e3027e569f03b0cb18a46b72263f78a1d.tar.gz
chromium_src-4bd0e01e3027e569f03b0cb18a46b72263f78a1d.tar.bz2
[ServiceWorker] Fills SSLInfo of the response from a SW with the SSLInfo of the SW script.
After https://codereview.chromium.org/874833003/, every mixed-content requests from the ServiceWorker are blocked. So we can show the HTTPS padlock because every responses from the ServiceWorker to the page are created using the resources which are served through the secure protocol. To show the padlock we fill the SSLInfo of the response from the ServiceWorker using the SSLInfo of the ServiceWorker script. When we support fetching mixed-content requests from the ServiceWorker in the future, we have to check the security level of the responses. BUG=392409 Review URL: https://codereview.chromium.org/877623002 Cr-Commit-Position: refs/heads/master@{#314549}
Diffstat (limited to 'content/content_unittests.isolate')
-rw-r--r--content/content_unittests.isolate1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/content_unittests.isolate b/content/content_unittests.isolate
index bc982e2..550e755 100644
--- a/content/content_unittests.isolate
+++ b/content/content_unittests.isolate
@@ -6,6 +6,7 @@
['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
'variables': {
'files': [
+ '../net/data/ssl/certificates/',
'../media/test/data/',
'test/data/',
],