2011-07-06 Adam Barth <abarth@webkit.org>
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Jul 2011 07:56:58 +0000 (07:56 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Jul 2011 07:56:58 +0000 (07:56 +0000)
        Fix global variable leak detected by noglobals.

        * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@90444 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/results.js

index b806de0..505260c 100644 (file)
@@ -1,5 +1,11 @@
 2011-07-06  Adam Barth  <abarth@webkit.org>
 
+        Fix global variable leak detected by noglobals.
+
+        * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
+
+2011-07-06  Adam Barth  <abarth@webkit.org>
+
         garden-o-matic shouldn't show flaky tests by default
         https://bugs.webkit.org/show_bug.cgi?id=63979
 
index ab9afce..63541fb 100644 (file)
@@ -77,7 +77,7 @@ results.BuilderResults.prototype.unexpectedFailures = function()
 
 results.unexpectedFailuresByTest = function(resultsByBuilder)
 {
-    unexpectedFailures = {};
+    var unexpectedFailures = {};
 
     $.each(resultsByBuilder, function(buildName, builderResults) {
         $.each(builderResults.unexpectedFailures(), function(testName, resultNode) {