rem: test_BrokenFile("js/src/xpconnect/tests/unit/bogus_exports_type.jsm", true, "Error"); test_BrokenFile("js/src/xpconnect/tests/unit/bogus_element_type.jsm", true, "Error"); test_BrokenFile("js/src/xpconnect/tests/unit/non_existing.jsm", true, "NS_ERROR_FILE_NOT_FOUND"); 
add: const C_i = Components.interfaces; const ioService = Components.classes["@mozilla.org/network/io-service;1"] .getService(C_i.nsIIOService); const resProt = ioService.getProtocolHandler("resource") .QueryInterface(C_i.nsIResProtocolHandler);  var curdir = do_get_file("js/src/xpconnect/tests/unit"); var curURI = ioService.newFileURI(curdir); resProt.setSubstitution("test", curURI);  test_BrokenFile("resource:  test_BrokenFile("resource:  test_BrokenFile("resource: true, "NS_ERROR_FILE_NOT_FOUND");  test_BrokenFile("chrome: true, "NS_ERROR_ILLEGAL_VALUE");  resProt.setSubstitution("test", null); 
context: function run_test() {  test_BrokenFile("js/src/xpconnect/tests/unit/bogus_exports_type.jsm", true, "Error");  test_BrokenFile("js/src/xpconnect/tests/unit/bogus_element_type.jsm", true, "Error");  test_BrokenFile("js/src/xpconnect/tests/unit/non_existing.jsm", true, "NS_ERROR_FILE_NOT_FOUND");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/31c193374bbee89e73cf358072a06c12718d50cc/test_bogus_files.js/clean/js/src/xpconnect/tests/unit/test_bogus_files.js