summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2010-02-25 13:58:48 +0000
committerAndrei Popescu <andreip@google.com>2010-02-25 13:58:48 +0000
commitd53e3e326b7b44efc9c3affb06746bf67548eee9 (patch)
treeffac3a903d2fdd7a9e19cb2418b1130b597435b8
parent41084a8fbaa3b6914ecfb085be8a9f32bebfb55b (diff)
downloadexternal_webkit-d53e3e326b7b44efc9c3affb06746bf67548eee9.zip
external_webkit-d53e3e326b7b44efc9c3affb06746bf67548eee9.tar.gz
external_webkit-d53e3e326b7b44efc9c3affb06746bf67548eee9.tar.bz2
Temporarily disable debugger support on V8 due to a crash
-rw-r--r--WebCore/bindings/v8/V8Proxy.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/V8Proxy.cpp b/WebCore/bindings/v8/V8Proxy.cpp
index 9b1fff5..d13289e 100644
--- a/WebCore/bindings/v8/V8Proxy.cpp
+++ b/WebCore/bindings/v8/V8Proxy.cpp
@@ -818,10 +818,13 @@ bool V8Proxy::sourceLineNumber(int& result)
frameSourceLine = v8::Local<v8::Function>::Cast(v8UtilityContext->Global()->Get(v8::String::New("frameSourceLine")));
if (frameSourceLine.IsEmpty())
return false;
+#if 0
+ // TODO(andreip): re-enable this after experimenting with partial snapshots
v8::Handle<v8::Value> value = v8::Debug::Call(frameSourceLine);
if (value.IsEmpty())
return false;
result = value->Int32Value();
+#endif
return true;
}
@@ -836,10 +839,13 @@ bool V8Proxy::sourceName(String& result)
frameSourceName = v8::Local<v8::Function>::Cast(v8UtilityContext->Global()->Get(v8::String::New("frameSourceName")));
if (frameSourceName.IsEmpty())
return false;
+#if 0
+ // TODO(andreip): re-enable this after experimenting with partial snapshots
v8::Handle<v8::Value> value = v8::Debug::Call(frameSourceName);
if (value.IsEmpty())
return false;
result = toWebCoreString(value);
+#endif
return true;
}