Calling internals from the performance test runner prevents manual running
authorbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Aug 2012 21:48:38 +0000 (21:48 +0000)
committerbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Aug 2012 21:48:38 +0000 (21:48 +0000)
commitce98c16ef911bce502cfeeb69707c306a26c709a
tree12754b0d2c33ac1ef98b7614e1daddc15d2e025f
parent387c3f8951eb921ec4416368e1a15f2c420b2fb2
Calling internals from the performance test runner prevents manual running
https://bugs.webkit.org/show_bug.cgi?id=93527

Reviewed by Ryosuke Niwa.

Since r125065, it is impossible to run the Performance tests manually. The problem is
"internals" is not defined when running outside the test runner, so the whole script
evaluation fails.

* resources/runner.js: Verify is window.internals is available before invoking something on it.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@125090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/ChangeLog
PerformanceTests/resources/runner.js