B2G/gecko/toolkit/components/viewsource/test/browser/browser_viewsourceprefs.js
// which doesn't work on Mac OS X.
which doesn't work on Mac OS X.
which doesn ' t work on Mac OS X .
function simulateClick(aMenuItem) {
  if (aMenuItem.hasAttribute("checked"))
    aMenuItem.removeAttribute("checked");
  else
    aMenuItem.setAttribute("checked", "true");
  aMenuItem.click();
}
function simulateClick ( aMenuItem ) { if ( aMenuItem . hasAttribute ( "checked" ) ) aMenuItem . removeAttribute ( "checked" ) ; else aMenuItem . setAttribute ( "checked" , "true" ) ; aMenuItem . click ( ) ; }
which doesn't work on Mac OS X.
which doesn ' t work on Mac OS X .