anchor.diff:        function messageHandler(e) {
           var msg = e.data;
           if (typeof msg != 'string') return;
  -        
  +
           var parsedData = parseResult(msg);
           if (parsedData) {
             // Only if the JSON was valid, we'll post it back.
  
positive.code:               function() {}, msg, true);
          } else {
            var is_double_report = test_completed;
            test_completed = true;
  
            function handleReady() {
              if (this.readyState == this.DONE) {
  
negative.code:                   getNextTask();
                  }
                } else {
                  reportError('Error sending result to server. Status: ' +
                              this.status + ' Retry: ' + retry);
                  retry++;
                  if (retry < 3) {
                    setTimeout(reportDoneMessage, 1000);
                  }
                }
              }
            }
  
            reportDoneMessage();
          }
        }
  
  