| Index: Source/bindings/tests/results/core/V8TestInterface.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestInterface.cpp b/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| index bc18e20cf5b2ed7d617d6cf127891821b7bf572c..f5138475e9237cbd0c054f1e91f84ac45f08fb6a 100644
|
| --- a/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| @@ -2459,6 +2459,8 @@ bool V8TestInterface::PrivateScript::shortMethodWithShortArgumentImplementedInPr
|
|
|
| ScriptState::Scope scope(scriptState);
|
| v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + if (holder.IsEmpty())
|
| + return false;
|
|
|
| v8::Local<v8::Value> valueHandle = v8::Integer::New(scriptState->isolate(), value);
|
| v8::Local<v8::Value> argv[] = { valueHandle };
|
| @@ -2490,6 +2492,8 @@ bool V8TestInterface::PrivateScript::stringAttributeAttributeGetter(LocalFrame*
|
|
|
| ScriptState::Scope scope(scriptState);
|
| v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + if (holder.IsEmpty())
|
| + return false;
|
|
|
| ExceptionState exceptionState(ExceptionState::GetterContext, "stringAttribute", "TestInterfaceImplementation", scriptState->context()->Global(), scriptState->isolate());
|
| v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestInterfaceImplementation", "stringAttribute", holder);
|
| @@ -2519,6 +2523,8 @@ bool V8TestInterface::PrivateScript::stringAttributeAttributeSetter(LocalFrame*
|
|
|
| ScriptState::Scope scope(scriptState);
|
| v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + if (holder.IsEmpty())
|
| + return false;
|
|
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "stringAttribute", "TestInterfaceImplementation", scriptState->context()->Global(), scriptState->isolate());
|
| return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateInUserScript, "TestInterfaceImplementation", "stringAttribute", holder, v8String(scriptState->isolate(), cppValue));
|
|
|