diff options
author | Sam Gibson <sam@ifdown.net> | 2015-06-19 11:46:47 +1000 |
---|---|---|
committer | Sam Gibson <sam@ifdown.net> | 2015-07-22 11:48:03 +1200 |
commit | aa19a9a7415c717ff2152731b82b8c46338a3bd0 (patch) | |
tree | afce18b710a8433252ce62a5d4bc797b680e973b /python/servo/command_base.py | |
parent | 406be7accf50394f962382fc5a4c3aeb1c33aaa3 (diff) | |
download | servo-aa19a9a7415c717ff2152731b82b8c46338a3bd0.tar.gz servo-aa19a9a7415c717ff2152731b82b8c46338a3bd0.zip |
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.
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r-- | python/servo/command_base.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |