Bug 513146. Address review comment about adding a comment. r=gavin
authorBoris Zbarsky <bzbarsky@mit.edu>
Mon, 22 Feb 2010 23:02:00 -0500
changeset 38404 975a17a14ec7d9e09b1b63f6a65edffe87f81243
parent 38403 ebdeb3b29736b7993af980bafc1648a3172ad17d
child 38405 bbb677e0ad599d0946a9cf07fcfa5f95161ba632
push id11740
push userbzbarsky@mozilla.com
push dateTue, 23 Feb 2010 04:02:23 +0000
treeherdermozilla-central@975a17a14ec7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin
bugs513146
milestone1.9.3a2pre
Bug 513146. Address review comment about adding a comment. r=gavin
dom/tests/mochitest/general/test_domWindowUtils.html
--- a/dom/tests/mochitest/general/test_domWindowUtils.html
+++ b/dom/tests/mochitest/general/test_domWindowUtils.html
@@ -87,16 +87,18 @@ function testElementFromPoint() {
     }
     let found = domWindowUtils.elementFromPoint(x, y, ignoreScroll, flushLayout);
     is(found, expected, "at index " + i + " for data " + testData[i][0].toSource());
   }
 
   SimpleTest.finish();
 }
 
+// Run the test from onload, since the onscreen and offscreen divs should be in
+// the right places by then.
 SimpleTest.waitForExplicitFinish();
 addLoadEvent(testElementFromPoint);
 
 </script>
 
 <p id="display"></p>
 
 </body>