| Index: Source/bindings/v8/Dictionary.cpp
|
| diff --git a/Source/bindings/v8/Dictionary.cpp b/Source/bindings/v8/Dictionary.cpp
|
| index 8fd6b183853f55c3e7d1f1474ad397d930383693..57313d3477459b53bd38df5f5828efa034c3bea1 100644
|
| --- a/Source/bindings/v8/Dictionary.cpp
|
| +++ b/Source/bindings/v8/Dictionary.cpp
|
| @@ -750,12 +750,7 @@ Dictionary::ConversionContext& Dictionary::ConversionContext::setConversionType(
|
|
|
| void Dictionary::ConversionContext::throwTypeError(const String& detail)
|
| {
|
| - if (forConstructor()) {
|
| - exceptionState().throwTypeError(detail);
|
| - } else {
|
| - ASSERT(!methodName().isEmpty());
|
| - exceptionState().throwTypeError(ExceptionMessages::failedToExecute(interfaceName(), methodName(), detail));
|
| - }
|
| + exceptionState().throwTypeError(detail);
|
| }
|
|
|
| } // namespace WebCore
|
|
|