summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js
diff options
context:
space:
mode:
authorShimeng (Simon) Wang <swang@google.com>2010-12-22 10:07:38 -0800
committerShimeng (Simon) Wang <swang@google.com>2010-12-22 14:15:41 -0800
commit10a9a153220bcaa20b50c28c87368f04272d269d (patch)
treeaf3bec8903a6b28436d5086cef811fa25d36f52e /WebCore/bindings/js
parentb223ceadb719932e49a92ac8e58ea5dfab47d259 (diff)
downloadexternal_webkit-10a9a153220bcaa20b50c28c87368f04272d269d.zip
external_webkit-10a9a153220bcaa20b50c28c87368f04272d269d.tar.gz
external_webkit-10a9a153220bcaa20b50c28c87368f04272d269d.tar.bz2
Merge WebKit at r73109: return true to support rich source info.
This is because: http://trac.webkit.org/changeset/72360 which disables line info except in case of enabling JS debugger or inpspector. This is a quick fix. Long term solution is to get this fixed upstream. Change-Id: Ibc5dd89719628848ab4710fcc7c06453b60cc119
Diffstat (limited to 'WebCore/bindings/js')
-rw-r--r--WebCore/bindings/js/JSDOMWindowBase.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/bindings/js/JSDOMWindowBase.cpp b/WebCore/bindings/js/JSDOMWindowBase.cpp
index ad4e2f7..7e09f51 100644
--- a/WebCore/bindings/js/JSDOMWindowBase.cpp
+++ b/WebCore/bindings/js/JSDOMWindowBase.cpp
@@ -120,6 +120,12 @@ bool JSDOMWindowBase::supportsProfiling() const
bool JSDOMWindowBase::supportsRichSourceInfo() const
{
+#if PLATFORM(ANDROID)
+ // TODO: better to get upstream to fix the line info without enabling
+ // DEBUGGER or INSPECTOR.
+ // See webkit change: http://trac.webkit.org/changeset/72360
+ return true;
+#endif
#if !ENABLE(JAVASCRIPT_DEBUGGER) || !ENABLE(INSPECTOR)
return false;
#else