[Webkit-unassigned] [Bug 152913] Refactor compareIterations to remove duplicate code.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 20 11:14:16 PST 2016


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

--- Comment #10 from Jason Marcell <jmarcell at apple.com> ---
(In reply to comment #7)
> Comment on attachment 268981 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=268981&action=review
> 
> > Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js:65
> > +    iteration1.revision = { "openSource": 42 };
> 
> I suggest that we instantiate local BuildbotIterations in each test
> function, including this one, instead of modifying the "global" iteration
> instances. Shared objects between tests should be immutable and/or conveyed
> to be immutable. The benefit of using this approach and only sharing
> immutable data between tests is that it makes it straightforward to verify
> correctness.

I addressed in the latest patch.

-- 
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/20160120/130c04b9/attachment.html>


More information about the webkit-unassigned mailing list