Update web-platform-tests and CSS tests.

- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
Ms2ger 2017-02-06 11:06:12 +01:00
parent fb4f421c8b
commit 296fa2512b
21852 changed files with 2080936 additions and 892894 deletions

View file

@ -8,12 +8,21 @@ localpaths = imp.load_source("localpaths", os.path.abspath(os.path.join(here, os
root = localpaths.repo_root
import manifest
from manifest import manifest, update
def main(request, response):
path = os.path.join(root, "MANIFEST.json")
manifest_file = manifest.manifest.load(root, path)
manifest.update.update(root, "/", manifest_file)
manifest.manifest.write(manifest_file, path)
manifest_file = None
try:
manifest_file = manifest.load(root, path)
except manifest.ManifestVersionMismatch:
pass
if manifest_file is None:
manifest_file = manifest.Manifest("/")
update.update(root, manifest_file)
manifest.write(manifest_file, path)
return [("Content-Type", "application/json")], json.dumps({"url": "/MANIFEST.json"})