/[jscoverage]/trunk/js/jsparse.cpp
ViewVC logotype

Diff of /trunk/js/jsparse.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 584 by siliconforks, Sun Jan 10 07:23:34 2010 UTC revision 585 by siliconforks, Sun Sep 12 15:13:23 2010 UTC
# Line 927  Line 927 
927       *       *
928       * https://bugzilla.mozilla.org/show_bug.cgi?id=336551       * https://bugzilla.mozilla.org/show_bug.cgi?id=336551
929       */       */
930      if (pn && onlyXML && (tcflags & TCF_NO_SCRIPT_RVAL)) {      if (pn && onlyXML && !callerFrame) {
931          js_ReportCompileErrorNumber(cx, &jsc.tokenStream, NULL, JSREPORT_ERROR,          js_ReportCompileErrorNumber(cx, &jsc.tokenStream, NULL, JSREPORT_ERROR,
932                                      JSMSG_XML_WHOLE_PROGRAM);                                      JSMSG_XML_WHOLE_PROGRAM);
933          goto out;          goto out;

Legend:
Removed from v.584  
changed lines
  Added in v.585

  ViewVC Help
Powered by ViewVC 1.1.24