rem: var transferable = Components .classes["component: .createInstance( Components.interfaces.nsITransferable ); 
add: var transferable = this.createInstance( "component: "nsITransferable" ); 
context:     copyToClipboard : function ( text ) {        // Get clipboard.        var clipboard = Components                          .classes["component://netscape/widget/clipboard"]                            .getService ( Components.interfaces.nsIClipboard );        // Create tranferable that will transfer the text.        var transferable = Components                             .classes["component://netscape/widget/transferable"]                               .createInstance( Components.interfaces.nsITransferable );        if ( clipboard && transferable ) {          transferable.addDataFlavor( "text/unicode" );          // Create wrapper for text.          var data = createInstance( "component://netscape/supports-wstring",                                      "nsISupportsWString" );          if ( data ) {            data.data = text ;            transferable.setTransferData( "text/unicode", data, text.length * 2 );            // Put on clipboard.            clipboard.setData( transferable, null );          }        }    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d6ae32a82bf81c1df95377a9b9f946d20513166b/nsContextMenu.js/buggy/xpfe/browser/resources/content/nsContextMenu.js