| Index: Source/WebCore/bindings/v8/V8Binding.cpp
|
| ===================================================================
|
| --- Source/WebCore/bindings/v8/V8Binding.cpp (revision 77826)
|
| +++ Source/WebCore/bindings/v8/V8Binding.cpp (working copy)
|
| @@ -412,6 +412,13 @@
|
| throwError(block.Exception());
|
| return StringImpl::empty();
|
| }
|
| + // This path is unexpected. However there is hypothesis that it
|
| + // might be combination of v8 and v8 bindings bugs. For now
|
| + // just bailout as we'll crash if attempt to convert empty handle into a string.
|
| + if (v8String.IsEmpty()) {
|
| + ASSERT_NOT_REACHED();
|
| + return StringImpl::empty();
|
| + }
|
| return v8StringToWebCoreString<String>(v8String, DoNotExternalize);
|
| }
|
|
|
|
|