aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r--python/servo/command_base.py2
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