Created
October 15, 2012 22:26
-
-
Save valueof/3896038 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XPCOMUtils.defineLazyGetter(DebuggerController, "_isRemoteDebugger", function() { | |
// We're inside a single top level XUL window, not an iframe container. | |
return !(window.frameElement instanceof XULElement) && | |
!!window._remoteFlag; | |
}); | |
XPCOMUtils.defineLazyGetter(DebuggerController, "_isChromeDebugger", function() { | |
// We're inside a single top level XUL window, but not a remote debugger. | |
return !(window.frameElement instanceof XULElement) && | |
!window._remoteFlag; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment