gecko-dev/testing/web-platform/tests/tools/runner/update_manifest.py
James Graham 6e63d652c5 Bug 1146321 - Update web-platform-tests to revision 1defdd7213b52589e4b7a259e53f4fff359c301a, a=testonly
--HG--
rename : testing/web-platform/tests/battery-status/battery-full-manual.html => testing/web-platform/tests/FileAPI/FileReader/Progress_event_bubbles_cancelable.html
rename : testing/web-platform/tests/XMLHttpRequest/send-entity-body-none.htm => testing/web-platform/tests/XMLHttpRequest/open-during-abort.htm
rename : testing/web-platform/tests/DOMEvents/tests/approved/EventListener.dispatch.new.event.html => testing/web-platform/tests/dom/events/Event-dispatch-reenter.html
rename : testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-novalue-MANUAL.html => testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-novalue-manual.html
rename : testing/web-platform/tests/XMLHttpRequest/send-entity-body-none.htm => testing/web-platform/tests/html/semantics/interactive-elements/the-details-element/details.html
rename : testing/web-platform/tests/serve => testing/web-platform/tests/serve.py
rename : testing/web-platform/tests/webstorage/storage_builtins.js => testing/web-platform/tests/webstorage/builtins.html
rename : testing/web-platform/tests/html/semantics/scripting-1/the-script-element/script-for-onload.html => testing/web-platform/tests/webstorage/clear.html
rename : testing/web-platform/tests/battery-status/battery-promise.html => testing/web-platform/tests/webstorage/in.html
rename : testing/web-platform/tests/html/semantics/scripting-1/the-script-element/script-for-event.html => testing/web-platform/tests/webstorage/indexing.html
rename : testing/web-platform/tests/battery-status/battery-promise.html => testing/web-platform/tests/webstorage/length.html
rename : testing/web-platform/tests/html/semantics/scripting-1/the-script-element/script-for-event.html => testing/web-platform/tests/webstorage/removeitem.html
2015-03-23 13:21:13 +00:00

19 lines
556 B
Python

import imp
import json
import os
import sys
here = os.path.dirname(__file__)
localpaths = imp.load_source("localpaths", os.path.abspath(os.path.join(here, os.pardir, "localpaths.py")))
root = localpaths.repo_root
import manifest
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)
return [("Content-Type", "application/json")], json.dumps({"url": "/MANIFEST.json"})