Unreviewed, a follow-up to r132034 where I forgot to address
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Oct 2012 07:47:59 +0000 (07:47 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Oct 2012 07:47:59 +0000 (07:47 +0000)
Ojan's review comment about the race condition in handleLocationChange.

* TestResultServer/static-dashboards/dashboard_base.js:
(handleLocationChange):

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

Tools/ChangeLog
Tools/TestResultServer/static-dashboards/dashboard_base.js

index d782b0d..e59e096 100644 (file)
@@ -1,5 +1,13 @@
 2012-10-22  Zan Dobersek  <zandobersek@gmail.com>
 
+        Unreviewed, a follow-up to r132034 where I forgot to address
+        Ojan's review comment about the race condition in handleLocationChange.
+
+        * TestResultServer/static-dashboards/dashboard_base.js:
+        (handleLocationChange):
+
+2012-10-22  Zan Dobersek  <zandobersek@gmail.com>
+
         [TestResultServer] Move the resource loading into a dedicated class
         https://bugs.webkit.org/show_bug.cgi?id=99246
 
index 4fc0bb4..59502d6 100644 (file)
@@ -544,6 +544,9 @@ function resourceLoadingComplete()
 
 function handleLocationChange()
 {
+    if (g_resourceLoader)
+        return;
+
     addBuilderLoadErrors();
     g_hasDoneInitialPageGeneration = true;