Dashboard unit tests should not make xhrs.
authorjparent@chromium.org <jparent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Dec 2012 00:36:00 +0000 (00:36 +0000)
committerjparent@chromium.org <jparent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Dec 2012 00:36:00 +0000 (00:36 +0000)
commit9eb1a1b3bc142a89831e6d7550800bbd40f365ff
treee1dede094003310a570413835db56b38f2a6a4cb
parent6fb02aa6304b901736bbbc2d27d486c5ccd1ae0e
Dashboard unit tests should not make xhrs.
https://bugs.webkit.org/show_bug.cgi?id=104598

Reviewed by Dirk Pranke.

The unit test were requesting 25 files that they did not use.
Stub out loader.request to avoid making the xhrs.
Result: order of magnitude speed improvement in test run time (from ~1600ms to 160ms on my machine).

* TestResultServer/static-dashboards/run-embedded-unittests.html:
* TestResultServer/static-dashboards/run-unittests.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@137383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/TestResultServer/static-dashboards/run-embedded-unittests.html
Tools/TestResultServer/static-dashboards/run-unittests.html