<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Move cursor to corner and fix safari window size before running benchmark"
href="https://bugs.webkit.org/show_bug.cgi?id=145858#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Move cursor to corner and fix safari window size before running benchmark"
href="https://bugs.webkit.org/show_bug.cgi?id=145858">bug 145858</a>
from <span class="vcard"><a class="email" href="mailto:dewei_zhu@apple.com" title="dewei_zhu@apple.com">dewei_zhu@apple.com</a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=254681&action=diff" name="attach_254681" title="Patch">attachment 254681</a> <a href="attachment.cgi?id=254681&action=edit" title="Patch">[details]</a></span>
Patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=254681&action=review">https://bugs.webkit.org/attachment.cgi?id=254681&action=review</a>
<span class="quote">>> 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.</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>