B2G/gecko/browser/devtools/webconsole/test/browser_bug_638949_copy_link_location.js
// Return whether "Copy Link Location" command is enabled or not.
Return whether "Copy Link Location" command is enabled or not.
Return whether " Copy Link Location " command is enabled or not .
function isEnabled() {
  let controller = top.document.commandDispatcher.
    getControllerForCommand(COMMAND_NAME);
  return controller && controller.isCommandEnabled(COMMAND_NAME);
}
function isEnabled ( ) { let controller = top . document . commandDispatcher . getControllerForCommand ( COMMAND_NAME ) ; return controller && controller . isCommandEnabled ( COMMAND_NAME ) ; }
Return whether "Copy Link Location" command is enabled or not.
Return whether " Copy Link Location " command is enabled or not .