B2G/gecko/testing/mochitest/browser-test.js
// Tests complete, notify the callback and return
Tests complete, notify the callback and return
Tests complete notify the callback and return
function Tester_observe(aSubject, aTopic, aData) {
    if (!aTopic) {
      this.onConsoleMessage(aSubject);
    } else if (this.currentTest) {
      this.onDocumentCreated(aSubject);
    }
  }
function Tester_observe ( aSubject , aTopic , aData ) { if ( ! aTopic ) { this . onConsoleMessage ( aSubject ) ; } else if ( this . currentTest ) { this . onDocumentCreated ( aSubject ) ; } }
Tests complete, notify the callback and return
Tests complete notify the callback and return