| Index: Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp b/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
|
| index 97152c2ef6be50535374d07dd5ca6048e0a9f189..d4f5ebe1b8c39dbb7c17119f5e68c7fa977479bb 100644
|
| --- a/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
|
| @@ -88,6 +88,11 @@ static void namedPropertySetter(v8::Local<v8::Name> name, v8::Local<v8::Value> v
|
| TestSpecialOperations* impl = V8TestSpecialOperations::toImpl(info.Holder());
|
| TOSTRING_VOID(V8StringResource<>, propertyName, nameString);
|
| Node* propertyValue = V8Node::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| + if (!propertyValue && !isUndefinedOrNull(v8Value)) {
|
| + exceptionState.throwTypeError("The provided value is not of type 'Node'.");
|
| + exceptionState.throwIfNeeded();
|
| + return;
|
| + }
|
| bool result = impl->anonymousNamedSetter(propertyName, propertyValue);
|
| if (!result)
|
| return;
|
|
|