diff options
author | Andrei Popescu <andreip@google.com> | 2010-02-25 06:13:43 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-02-25 06:13:43 -0800 |
commit | 018ebadd40c8decb6e77414ecb31bc6e597b7d53 (patch) | |
tree | ad68d85a474916859f72a2f4a68708b708294141 /WebCore | |
parent | aea75816d5144073a45254c37b598480d1a7fd27 (diff) | |
parent | d53e3e326b7b44efc9c3affb06746bf67548eee9 (diff) | |
download | external_webkit-018ebadd40c8decb6e77414ecb31bc6e597b7d53.zip external_webkit-018ebadd40c8decb6e77414ecb31bc6e597b7d53.tar.gz external_webkit-018ebadd40c8decb6e77414ecb31bc6e597b7d53.tar.bz2 |
Merge "Temporarily disable debugger support on V8 due to a crash"
Diffstat (limited to 'WebCore')
-rw-r--r-- | WebCore/bindings/v8/V8Proxy.cpp | 6 |
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; } |