<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Function Call on NULL Object"
href="https://bugs.webkit.org/show_bug.cgi?id=160325#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Function Call on NULL Object"
href="https://bugs.webkit.org/show_bug.cgi?id=160325">bug 160325</a>
from <span class="vcard"><a class="email" href="mailto:darin@apple.com" title="Darin Adler <darin@apple.com>"> <span class="fn">Darin Adler</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=160325#c5">comment #5</a>)
<span class="quote">> As a larger architectural question: why aren't more functions in the
> TestRunner static? Inspection of the code seems to indicate that most
> functions in the TestRunner could be declared as static.</span >
TestRunner is primarily an object that exposes bindings to be called from JavaScript using the JavaScript testRunner object exposed to tests. People writing these functions probably don’t think about which ones do and don’t need the state; it would be fine, although not particularly important, to change any that can be static member functions to be defined that way.</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>