rem: * Using eval() because of bug 246720.  Would like to use node.oncommand(event). * * Since we're using eval(): * * |event| is correct because the name of this function's formal parameter matches * the automatic name of the formal parameter for oncommand, |event|. * * |this| is incorrect.  To make it correct, we would have to use Function.call. 
add: * XXX: we should use node.oncommand(event) once bug 246720 is fixed. 
context: function checkForMiddleClick(node, event){  if (event.button == 1) {    /* Execute the node's oncommand.     *     * Using eval() because of bug 246720.  Would like to use node.oncommand(event).     *     * Since we're using eval():     *     * |event| is correct because the name of this function's formal parameter matches     * the automatic name of the formal parameter for oncommand, |event|.     *     * |this| is incorrect.  To make it correct, we would have to use Function.call.     */    eval(node.getAttribute("oncommand"));    // If the middle-click was on part of a menu, close the menu.    // (Menus close automatically with left-click but not with middle-click.)    closeMenus(event.target);  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/9e969219124340c7e3646fe022eb36b332765d4f/utilityOverlay.js/buggy/browser/base/content/utilityOverlay.js