[Webkit-unassigned] [Bug 145858] Move cursor to corner and fix safari window size before running benchmark

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 10 20:04:27 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145858

--- Comment #4 from dewei_zhu at apple.com ---
Comment on attachment 254681
  --> https://bugs.webkit.org/attachment.cgi?id=254681
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=254681&action=review

>> Tools/Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:29
>> +            _log.error('Reset safari window size failed - Error: {}'.format(error))
> 
> What size are we setting the window to be?
> I think the window size needs to be configurable.

The return of "defaults read com.apple.Safari ...' is a list contains 8 numbers. And the last 4 numbers indicate the largest screen size, while the first 4 number indicate current configuration. If you overwrite first 4 numbers with the largest value, the safari will launch to maximum window.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150611/1ae6ef4a/attachment.html>


More information about the webkit-unassigned mailing list