Teach TestFailures to abbreviate the examples of test flakiness
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Jul 2011 19:05:44 +0000 (19:05 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Jul 2011 19:05:44 +0000 (19:05 +0000)
commitc3ff7b6411c582c94ef118ccd6da7294bd61165e
treed2a8fc24ba6b8bac7b6d7d06b6b2da72b9f05927
parent997a54edfb71c73fcb924c99a27e20a2f3086b05
Teach TestFailures to abbreviate the examples of test flakiness

These lists can get quite long, and it's not really helpful in most cases to have soooooo
many examples of flakiness.

Fixes <http://webkit.org/b/64203> Lists of flaky revisions on TestFailures page can get so
long they're hard to navigate

Reviewed by Dan Bates.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyLayoutTestDetector.js:
(FlakyLayoutTestDetector.prototype.flakinessExamples): If we have more than a certain number
of examples, replace the middle items with a separator.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
(.flakiness-example-separator): Added styles for the separator.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
(ViewController.prototype._domForPossiblyFlakyTests): Use a vertical ellipsis to represent
the separator.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@90682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyLayoutTestDetector.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js
Tools/ChangeLog