<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#c3">Comment # 3</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:rniwa@webkit.org" title="Ryosuke Niwa <rniwa@webkit.org>"> <span class="fn">Ryosuke Niwa</span></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
> + try:
> + resolution = re.split('\s+', subprocess.check_output(['/usr/bin/defaults', 'read', 'com.apple.Safari', 'NSWindow Frame BrowserWindowFrame']).strip())[4:]
> + subprocess.check_call(['/usr/bin/defaults', 'write', 'com.apple.Safari', 'NSWindow Frame BrowserWindowFrame', ' '.join(resolution * 2)])
> + except Exception as error:
> + _log.error('Reset safari window size failed - Error: {}'.format(error))</span >
What size are we setting the window to be?
I think the window size needs to be configurable.</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>