B2G/gecko/browser/components/downloads/test/browser/head.js
/**
   * Runs the test described by the provided generator function asynchronously.
   *
   * Calling yield in the generator will cause it to wait until continueTest is
   * called.  The parameter provided to continueTest will be the return value of
   * the yield operator.
   *
   * @param aGenerator
   *        Test generator function.  The function will be called with no
   *        arguments to retrieve its iterator.
   */
Runs the test described by the provided generator function asynchronously.
Calling yield in the generator will cause it to wait until continueTest is
called.  The parameter provided to continueTest will be the return value of
the yield operator.

@param aGenerator
Test generator function.  The function will be called with no
arguments to retrieve its iterator.
Runs the test described by the provided generator function asynchronously . Calling yield in the generator will cause it to wait until continueTest is called . The parameter provided to continueTest will be the return value of the yield operator . @param aGenerator Test generator function . The function will be called with no arguments to retrieve its iterator .
function TR_runTest(aGenerator) {
    waitForExplicitFinish();
    testRunner._testIterator = aGenerator();
    testRunner.continueTest();
  }
function TR_runTest ( aGenerator ) { waitForExplicitFinish ( ) ; testRunner . _testIterator = aGenerator ( ) ; testRunner . continueTest ( ) ; }
Runs the test described by the provided generator function asynchronously.
Runs the test described by the provided generator function asynchronously .