add:  if (releaseBuild) {  Components.utils.reportError(assertionText); return; }   
context: function NS_ASSERT(condition, message) {  if (condition)    return;  var caller = arguments.callee.caller;  var assertionText = "ASSERT: " + message + "\n";  dump(assertionText);  var stackText = "";  if (gTraceOnAssert) {    stackText = "Stack Trace: \n";    var count = 0;    while (caller) {      stackText += count++ + ":" + caller.name + "(";      for (var i = 0; i < caller.arguments.length; ++i) {        var arg = caller.arguments[i];        stackText += arg;        if (i < caller.arguments.length - 1)          stackText += ",";      }      stackText += ")\n";      caller = caller.arguments.callee.caller;    }  }  var environment = Components.classes["@mozilla.org/process/environment;1"].                    getService(Components.interfaces.nsIEnvironment);  if (environment.exists("XUL_ASSERT_PROMPT") &&      !parseInt(environment.get("XUL_ASSERT_PROMPT")))    return;  var source = null;  if (this.window)    source = window;  var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].           getService(Components.interfaces.nsIPromptService);  ps.alert(source, "Assertion Failed", assertionText + stackText);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/6037b10a05a1b8a559d00338f6dcfe8488a909ff/debug.js/clean/toolkit/content/debug.js