Reviewed by Gavin Barraclough.
Enable JSC Rich Source Info for Android even when Inspector and Debugger are disabled
https://bugs.webkit.org/show_bug.cgi?id=51740
This is a policy decision for Android.
No new tests, simply enabling existing, tested code on Android.
* bindings/js/JSDOMWindowBase.cpp:
(WebCore::JSDOMWindowBase::supportsRichSourceInfo):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74806
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2010-12-30 Steve Block <steveblock@google.com>
+
+ Reviewed by Gavin Barraclough.
+
+ Enable JSC Rich Source Info for Android even when Inspector and Debugger are disabled
+ https://bugs.webkit.org/show_bug.cgi?id=51740
+
+ This is a policy decision for Android.
+
+ No new tests, simply enabling existing, tested code on Android.
+
+ * bindings/js/JSDOMWindowBase.cpp:
+ (WebCore::JSDOMWindowBase::supportsRichSourceInfo):
+
2010-12-30 Yael Aharon <yael.aharon@nokia.com>
Reviewed by Adam Barth.
bool JSDOMWindowBase::supportsRichSourceInfo() const
{
-#if !ENABLE(JAVASCRIPT_DEBUGGER) || !ENABLE(INSPECTOR)
+#if PLATFORM(ANDROID)
+ return true;
+#elif !ENABLE(JAVASCRIPT_DEBUGGER) || !ENABLE(INSPECTOR)
return false;
#else
Frame* frame = impl()->frame();