   _name: "GrabBackFocus-pushState-monitor"
   click: (event) ->
     # If a focusable element is focused, the user must have clicked on it. Retain focus and bail.
-    return true if DomUtils.isFocusable document.activeElement
+    if DomUtils.isFocusable document.activeElement
+      return true
 
     target = event.target
     while target

  port: null
  listeners: {}

  addEventListener: (handler, callback) -> @listeners[handler] = callback
  postMessage: (handler, request = {}) -> @port.postMessage extend request, {handler}
  linkHintsMessage: (request) -> HintCoordinator[request.messageType] request
  registerFrameId: ({chromeFrameId}) ->
    frameId = root.frameId = window.frameId = chromeFrameId
    # We register a frame immediately only if it is focused or its window isn't tiny.  We register tiny

  windowHasFocus = null
  DomUtils.documentReady -> windowHasFocus = document.hasFocus()
  window.addEventListener "focus", (forTrusted (event) ->
    if event.target == window
      windowHasFocus = true
    return true
  ), true
  window.addEventListener "blur", (forTrusted (event) ->
    if event.target == window
      windowHasFocus = false
    return true
  ), true
  -> windowHasFocus

