[Webkit-unassigned] [Bug 160325] Function Call on NULL Object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 1 10:31:43 PDT 2016


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

--- Comment #6 from Darin Adler <darin at apple.com> ---
(In reply to comment #5)
> 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.

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.

-- 
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/20160801/64c5061b/attachment.html>


More information about the webkit-unassigned mailing list