anchor.diff:        _uncaughtError = true;
       } else if (_callbacksCalled == testCase.callbacks) {
         testCase.recordSuccess();
  -      _currentTest++;
  -      _nextBatch();
  +      if (!_testIsRunning) {
  +        _currentTest++;
  +        _nextBatch();
  +      }
       }
     }
   
  
positive.code:   EventListener _onErrorClosure;
  
    bool _queuedToRun = false;
  
    // TODO(sigmund): remove isLayoutTest argument after converting all DOM tests
    // to use the named constructor below.
  
negative.code:       if (!_uncaughtError) {
          testCase.recordError('Caught ${e}', trace.toString());
        }
      } finally {
        _testIsRunning = false;
      }
    }
  
  