rem: var helperAppProperty = gRDF.GetResource(NC_RDF("externalApplication")); var helperAppResource = gRDF.GetResource(APP_URI(this.mimeType)); 
add: var helperAppProperty = gRDF.GetUnicodeResource(NC_RDF("externalApplication")); var helperAppResource = gRDF.GetUnicodeResource(APP_URI(this.mimeType)); 
context:   buildLinks: function()  {    // assert the handler resource    var mimeSource = gRDF.GetResource(MIME_URI(this.mimeType));    var handlerProperty = gRDF.GetResource(NC_RDF("handlerProp"));    var handlerResource = gRDF.GetResource(HANDLER_URI(this.mimeType));    gDS.Assert(mimeSource, handlerProperty, handlerResource, true);    // assert the helper app resource    var helperAppProperty = gRDF.GetResource(NC_RDF("externalApplication"));    var helperAppResource = gRDF.GetResource(APP_URI(this.mimeType));    gDS.Assert(handlerResource, helperAppProperty, helperAppResource, true);    // add the mime type to the MIME types seq    var container = Components.classes["@mozilla.org/rdf/container;1"].createInstance();    if (container) {      container = container.QueryInterface(Components.interfaces.nsIRDFContainer);      if (container) {        var containerRes = gRDF.GetResource("urn:mimetypes:root");        container.Init(gDS, containerRes);        var element = gRDF.GetResource(MIME_URI(this.mimeType));        if (container.IndexOf(element) == -1)          container.AppendElement(element);      }    }  }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/143f96976e0c1f3bd022481610199f1b68092a88/overrideHandler.js/buggy/suite/common/pref/overrideHandler.js