context: function run_pac_test() {  var pac = 'data:text/plain,' +            'function FindProxyForURL(url, host) {' +            '  return "PROXY foopy:8080; DIRECT";' +            '}';  var uri = ios.newURI("http://www.mozilla.org/", null, null);  var prefs = Components.classes["@mozilla.org/preferences-service;1"]                        .getService(Components.interfaces.nsIPrefBranch);  // Configure PAC  prefs.setIntPref("network.proxy.type", 2);  prefs.setCharPref("network.proxy.autoconfig_url", pac);  // Test it out (we expect no result yet since the PAC load is async)  var pi = pps.resolve(uri, 0);  do_check_eq(pi, null);  // We expect the NON_BLOCKING flag to trigger an exception here since  // we have configured the PPS to use PAC.  var hit_exception = false;  try {    pps.resolve(uri, pps.RESOLVE_NON_BLOCKING);  } catch (e) {    hit_exception = true;  }  do_check_eq(hit_exception, true);  var req = pps.asyncResolve(uri, 0, new TestResolveCallback());  do_test_pending();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/639a541a6e76307feb153f7f1aa507eb08255a4a/test_protocolproxyservice.js/clean/netwerk/test/unit/test_protocolproxyservice.js