+bool JSGlobalObjectInspectorController::developerExtrasEnabled() const
+{
+#if ENABLE(REMOTE_INSPECTOR)
+ if (!RemoteInspector::shared().enabled())
+ return false;
+
+ if (!m_globalObject.inspectorDebuggable().remoteDebuggingAllowed())
+ return false;
+#endif
+
+ return true;
+}
+