Perf dashboard should auto-generate manifest file when one is missing
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Jan 2016 00:57:07 +0000 (00:57 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Jan 2016 00:57:07 +0000 (00:57 +0000)
commitea2c4efe7c325dcb286b6d647d505a1134e1bf6c
tree260ff6780af7b3cf27a25aef5fb3e19a1ddb5fa0
parent059b572afbd3dd9e9f04cf194062e6bc30518129
Perf dashboard should auto-generate manifest file when one is missing
https://bugs.webkit.org/show_bug.cgi?id=152813

Reviewed by Chris Dumez.

When /data/manifest.json is missing, fall back to newly added /api/manifest instead of
silently failing to show the UI. This will make the initial setup easier.

* public/api/manifest.php: Added.
(main):
* public/include/manifest.php:
(Manifest::manifest): Added.
* public/v3/main.js:
(fetchManifest):
(didFetchManifest): Extracted from fetchManifest.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@194679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/api/manifest.php [new file with mode: 0644]
Websites/perf.webkit.org/public/include/manifest.php
Websites/perf.webkit.org/public/v3/main.js