| Index: Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp b/Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp
|
| index e609da0b085ee0b066e27b01587de635d1d688fa..304f3b42db6d7e96d3d2172279cf1750cab4775b 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp
|
| @@ -45,7 +45,8 @@ template <typename T> void V8_USE(T) { }
|
|
|
| static void longAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(info.Holder());
|
| + v8::Handle<v8::Object> holder = info.Holder();
|
| + TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(holder);
|
| v8SetReturnValueInt(info, impl->longAttribute());
|
| }
|
|
|
| @@ -58,7 +59,8 @@ static void longAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8
|
|
|
| static void doNotCheckSecurityLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(info.Holder());
|
| + v8::Handle<v8::Object> holder = info.Holder();
|
| + TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(holder);
|
| v8SetReturnValueInt(info, impl->doNotCheckSecurityLongAttribute());
|
| }
|
|
|
| @@ -71,8 +73,10 @@ static void doNotCheckSecurityLongAttributeAttributeGetterCallback(v8::Local<v8:
|
|
|
| static void doNotCheckSecurityLongAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - ExceptionState exceptionState(ExceptionState::SetterContext, "doNotCheckSecurityLongAttribute", "TestInterfaceCheckSecurity", info.Holder(), info.GetIsolate());
|
| - TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(info.Holder());
|
| + v8::Isolate* isolate = info.GetIsolate();
|
| + v8::Handle<v8::Object> holder = info.Holder();
|
| + ExceptionState exceptionState(ExceptionState::SetterContext, "doNotCheckSecurityLongAttribute", "TestInterfaceCheckSecurity", holder, isolate);
|
| + TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(holder);
|
| V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), exceptionState);
|
| impl->setDoNotCheckSecurityLongAttribute(cppValue);
|
| }
|
| @@ -86,7 +90,8 @@ static void doNotCheckSecurityLongAttributeAttributeSetterCallback(v8::Local<v8:
|
|
|
| static void doNotCheckSecurityReadonlyLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(info.Holder());
|
| + v8::Handle<v8::Object> holder = info.Holder();
|
| + TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(holder);
|
| v8SetReturnValueInt(info, impl->doNotCheckSecurityReadonlyLongAttribute());
|
| }
|
|
|
| @@ -99,7 +104,8 @@ static void doNotCheckSecurityReadonlyLongAttributeAttributeGetterCallback(v8::L
|
|
|
| static void doNotCheckSecurityOnSetterLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(info.Holder());
|
| + v8::Handle<v8::Object> holder = info.Holder();
|
| + TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(holder);
|
| v8SetReturnValueInt(info, impl->doNotCheckSecurityOnSetterLongAttribute());
|
| }
|
|
|
| @@ -112,8 +118,10 @@ static void doNotCheckSecurityOnSetterLongAttributeAttributeGetterCallback(v8::L
|
|
|
| static void doNotCheckSecurityOnSetterLongAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - ExceptionState exceptionState(ExceptionState::SetterContext, "doNotCheckSecurityOnSetterLongAttribute", "TestInterfaceCheckSecurity", info.Holder(), info.GetIsolate());
|
| - TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(info.Holder());
|
| + v8::Isolate* isolate = info.GetIsolate();
|
| + v8::Handle<v8::Object> holder = info.Holder();
|
| + ExceptionState exceptionState(ExceptionState::SetterContext, "doNotCheckSecurityOnSetterLongAttribute", "TestInterfaceCheckSecurity", holder, isolate);
|
| + TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(holder);
|
| V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), exceptionState);
|
| impl->setDoNotCheckSecurityOnSetterLongAttribute(cppValue);
|
| }
|
| @@ -127,7 +135,8 @@ static void doNotCheckSecurityOnSetterLongAttributeAttributeSetterCallback(v8::L
|
|
|
| static void doNotCheckSecurityReplaceableReadonlyLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(info.Holder());
|
| + v8::Handle<v8::Object> holder = info.Holder();
|
| + TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toNative(holder);
|
| v8SetReturnValueInt(info, impl->doNotCheckSecurityReplaceableReadonlyLongAttribute());
|
| }
|
|
|
|
|