add:   window._content.getSelection() .QueryInterface(nsISelectionPrivate) .addSelectionListener(gSelectionListener); 
context: function onLoadContent(){  //  // If the view source was opened with a "go to line" argument.  //  if (gGoToLine > 0) {    goToLine(gGoToLine);    gGoToLine = 0;  }  document.getElementById('cmd_goToLine').removeAttribute('disabled');}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/2f2a264bdd065790578a62d96f066330e7c35bbe/viewsource.js/buggy/xpfe/browser/resources/content/viewsource.js