WebKitTestRunner/DumpRenderTree prevent device from sleeping
authorjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Apr 2017 20:50:56 +0000 (20:50 +0000)
committerjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Apr 2017 20:50:56 +0000 (20:50 +0000)
commit09c16f2eec198c3ac3f3990d930c97fa620929da
treeec163b4b9eef10ee8000bb430e3dd2e239b2ae8c
parent5a878a3290c1b994eeb8492ba7ec47f8d39f1921
WebKitTestRunner/DumpRenderTree prevent device from sleeping
https://bugs.webkit.org/show_bug.cgi?id=170731

Reviewed by Alex Christensen.

While running layout tests on a device, the device should not be put asleep.

* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpRenderTree): Disable idle timer.
* WebKitTestRunner/ios/TestControllerIOS.mm:
(WTR::TestController::platformInitialize): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@215942 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/DumpRenderTree/mac/DumpRenderTree.mm
Tools/WebKitTestRunner/ios/TestControllerIOS.mm