Index: Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp b/Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp |
index fc5ba79a219fa79679ad1c06b2e725a7849e1d17..7c4221683423c34effac29f4453382d360554129 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp |
@@ -90,6 +90,7 @@ static void aAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCa |
static void aAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
{ |
+ ExceptionState exceptionState(ExceptionState::SetterContext, "a", "TestInterfaceImplementedAs", info.Holder(), info.GetIsolate()); |
RealClass* imp = V8TestInterfaceImplementedAs::toNative(info.Holder()); |
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
imp->setA(cppValue); |
@@ -117,6 +118,7 @@ static void bAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCa |
static void bAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
{ |
+ ExceptionState exceptionState(ExceptionState::SetterContext, "b", "TestInterfaceImplementedAs", info.Holder(), info.GetIsolate()); |
RealClass* imp = V8TestInterfaceImplementedAs::toNative(info.Holder()); |
V8TRYCATCH_VOID(RealClass*, cppValue, V8TestInterfaceImplementedAs::hasInstance(jsValue, info.GetIsolate(), worldType(info.GetIsolate())) ? V8TestInterfaceImplementedAs::toNative(v8::Handle<v8::Object>::Cast(jsValue)) : 0); |
imp->setB(WTF::getPtr(cppValue)); |
@@ -131,6 +133,7 @@ static void bAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> |
static void func1Method(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
+ ExceptionState exceptionState(ExceptionState::ExecutionContext, "func1", "TestInterfaceImplementedAs", info.Holder(), info.GetIsolate()); |
if (UNLIKELY(info.Length() < 1)) { |
throwTypeError(ExceptionMessages::failedToExecute("func1", "TestInterfaceImplementedAs", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()); |
return; |
@@ -149,6 +152,7 @@ static void func1MethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
static void funcTestInterfaceImplementedAsParamMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
+ ExceptionState exceptionState(ExceptionState::ExecutionContext, "funcTestInterfaceImplementedAsParam", "TestInterfaceImplementedAs", info.Holder(), info.GetIsolate()); |
if (UNLIKELY(info.Length() < 1)) { |
throwTypeError(ExceptionMessages::failedToExecute("funcTestInterfaceImplementedAsParam", "TestInterfaceImplementedAs", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()); |
return; |