Prevent the device from sleeping while running tests.
<rdar://problem/31556961>
Created attachment 306820 [details] Patch
Comment on attachment 306820 [details] Patch Removing review flag while I confirm that the toggle is actually needed.
Created attachment 306829 [details] Patch
We can set this when beginning the test suite. That seems to be the correct way of doing this.
Comment on attachment 306829 [details] Patch Do we need to unset this?
(In reply to Alex Christensen from comment #6) > Comment on attachment 306829 [details] > Patch > > Do we need to unset this? No, it only persists for the lifetime of the testing app, which we kill when testing is finished.
Comment on attachment 306829 [details] Patch r=me Maybe we could just put the setting of idleTimerDisabled into setUpIOSLayoutTestCommunication to reduce duplication, and maybe we could rename that function. Maybe not.
(In reply to Alex Christensen from comment #8) > Comment on attachment 306829 [details] > Patch > > r=me > Maybe we could just put the setting of idleTimerDisabled into > setUpIOSLayoutTestCommunication to reduce duplication, and maybe we could > rename that function. Maybe not. That function is specifically designed for setting up the communication, it's used for nothing else. I think duplication is better in this case, if we find we need to do more shared IOS setup between DumpRenderTree and WebKitTestRunnerApp in the future, I will investigate more code sharing.
Comment on attachment 306829 [details] Patch Clearing flags on attachment: 306829 Committed r215942: <http://trac.webkit.org/changeset/215942>
All reviewed patches have been landed. Closing bug.