From aa19a9a7415c717ff2152731b82b8c46338a3bd0 Mon Sep 17 00:00:00 2001 From: Sam Gibson Date: Fri, 19 Jun 2015 11:46:47 +1000 Subject: Preload an HSTS domain list from chromium This resolves the first part of servo/servo#6105. The remaining part is to update the list based on the STS headers from the server. --- python/servo/command_base.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/servo/command_base.py') diff --git a/python/servo/command_base.py b/python/servo/command_base.py index 7c41fa42196..b4ba795691f 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -324,5 +324,7 @@ class CommandBase(object): not path.exists(path.join( self.config["tools"]["cargo-root"], "cargo", "bin", "cargo")): Registrar.dispatch("bootstrap-cargo", context=self.context) + if not path.exists(path.join("resources", "hsts_preload.json")): + Registrar.dispatch("bootstrap-hsts-preload", context=self.context) self.context.bootstrapped = True -- cgit v1.2.3