/[jscoverage]/trunk/instrument-js.cpp
ViewVC logotype

Diff of /trunk/instrument-js.cpp

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

revision 499 by siliconforks, Mon Dec 28 00:05:43 2009 UTC revision 500 by siliconforks, Mon Dec 28 03:06:12 2009 UTC
# Line 1492  Line 1492 
1492    switch (jscoverage_mode) {    switch (jscoverage_mode) {
1493    case JSCOVERAGE_MOZILLA:    case JSCOVERAGE_MOZILLA:
1494      Stream_write_string(output, "try {\n");      Stream_write_string(output, "try {\n");
1495      Stream_write_string(output, "  Components.utils.import('resource://gre/modules/jscoverage.jsm');\n");      Stream_write_string(output, "  Components.utils.import('resource://app/modules/jscoverage.jsm');\n");
1496      Stream_printf(output, "  dump('%s: successfully imported jscoverage module\\n');\n", id);      Stream_printf(output, "  dump('%s: successfully imported jscoverage module\\n');\n", id);
1497      Stream_write_string(output, "}\n");      Stream_write_string(output, "}\n");
1498      Stream_write_string(output, "catch (e) {\n");      Stream_write_string(output, "catch (e) {\n");

Legend:
Removed from v.499  
changed lines
  Added in v.500

  ViewVC Help
Powered by ViewVC 1.1.24