[TestResultServer] TestExpectations should only be loaded for the flakiness dashboard
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Oct 2012 18:54:46 +0000 (18:54 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Oct 2012 18:54:46 +0000 (18:54 +0000)
commit8eb716dc31cb670471f24c0f41fd53de354aacbc
tree4de9fc425c672ee0b0bc0d96853af975ca14cfd6
parentfdc97677640278656ac3ed873de763a426facec9
[TestResultServer] TestExpectations should only be loaded for the flakiness dashboard
https://bugs.webkit.org/show_bug.cgi?id=99245

Reviewed by Ojan Vafai.

Only load the TestExpectations when using the flakiness dashboard. Other dashboards
don't need them so there's no reason to load them.

* TestResultServer/static-dashboards/dashboard_base.js:
(isFlakinessDashboard):
(appendJSONScriptElements):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@131330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/TestResultServer/static-dashboards/dashboard_base.js