| Index: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
|
| index e6707f71c983e3bfa359ea612e0dc721aee06e0c..36a2123308662f0d2e0f4bf2d60a713deecfe210 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
|
| @@ -69,10 +69,6 @@ static void testInterfaceAttributeAttributeGetter(const v8::FunctionCallbackInfo
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceAttribute()), impl);
|
| }
|
|
|
| -MODULES_EXPORT void testInterfaceAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::testInterfaceAttributeAttributeGetter(info);
|
| -}
|
| -
|
| static void testInterfaceAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
|
| @@ -91,12 +87,6 @@ static void testInterfaceAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
|
| impl->setTestInterfaceAttribute(cppValue);
|
| }
|
|
|
| -MODULES_EXPORT void testInterfaceAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - v8::Local<v8::Value> v8Value = info[0];
|
| -
|
| - TestInterface5ImplementationV8Internal::testInterfaceAttributeAttributeSetter(v8Value, info);
|
| -}
|
| -
|
| static void doubleAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
|
|
| @@ -105,10 +95,6 @@ static void doubleAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Va
|
| v8SetReturnValue(info, impl->doubleAttribute());
|
| }
|
|
|
| -MODULES_EXPORT void doubleAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::doubleAttributeAttributeGetter(info);
|
| -}
|
| -
|
| static void doubleAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
|
| @@ -123,12 +109,6 @@ static void doubleAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v
|
| impl->setDoubleAttribute(cppValue);
|
| }
|
|
|
| -MODULES_EXPORT void doubleAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - v8::Local<v8::Value> v8Value = info[0];
|
| -
|
| - TestInterface5ImplementationV8Internal::doubleAttributeAttributeSetter(v8Value, info);
|
| -}
|
| -
|
| static void floatAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
|
|
| @@ -137,10 +117,6 @@ static void floatAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Val
|
| v8SetReturnValue(info, impl->floatAttribute());
|
| }
|
|
|
| -MODULES_EXPORT void floatAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::floatAttributeAttributeGetter(info);
|
| -}
|
| -
|
| static void floatAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
|
| @@ -155,12 +131,6 @@ static void floatAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8
|
| impl->setFloatAttribute(cppValue);
|
| }
|
|
|
| -MODULES_EXPORT void floatAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - v8::Local<v8::Value> v8Value = info[0];
|
| -
|
| - TestInterface5ImplementationV8Internal::floatAttributeAttributeSetter(v8Value, info);
|
| -}
|
| -
|
| static void unrestrictedDoubleAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
|
|
| @@ -169,10 +139,6 @@ static void unrestrictedDoubleAttributeAttributeGetter(const v8::FunctionCallbac
|
| v8SetReturnValue(info, impl->unrestrictedDoubleAttribute());
|
| }
|
|
|
| -MODULES_EXPORT void unrestrictedDoubleAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::unrestrictedDoubleAttributeAttributeGetter(info);
|
| -}
|
| -
|
| static void unrestrictedDoubleAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
|
| @@ -187,12 +153,6 @@ static void unrestrictedDoubleAttributeAttributeSetter(v8::Local<v8::Value> v8Va
|
| impl->setUnrestrictedDoubleAttribute(cppValue);
|
| }
|
|
|
| -MODULES_EXPORT void unrestrictedDoubleAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - v8::Local<v8::Value> v8Value = info[0];
|
| -
|
| - TestInterface5ImplementationV8Internal::unrestrictedDoubleAttributeAttributeSetter(v8Value, info);
|
| -}
|
| -
|
| static void unrestrictedFloatAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
|
|
| @@ -201,10 +161,6 @@ static void unrestrictedFloatAttributeAttributeGetter(const v8::FunctionCallback
|
| v8SetReturnValue(info, impl->unrestrictedFloatAttribute());
|
| }
|
|
|
| -MODULES_EXPORT void unrestrictedFloatAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::unrestrictedFloatAttributeAttributeGetter(info);
|
| -}
|
| -
|
| static void unrestrictedFloatAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
|
| @@ -219,20 +175,10 @@ static void unrestrictedFloatAttributeAttributeSetter(v8::Local<v8::Value> v8Val
|
| impl->setUnrestrictedFloatAttribute(cppValue);
|
| }
|
|
|
| -MODULES_EXPORT void unrestrictedFloatAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - v8::Local<v8::Value> v8Value = info[0];
|
| -
|
| - TestInterface5ImplementationV8Internal::unrestrictedFloatAttributeAttributeSetter(v8Value, info);
|
| -}
|
| -
|
| static void staticStringAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8SetReturnValueString(info, TestInterface5Implementation::staticStringAttribute(), info.GetIsolate());
|
| }
|
|
|
| -MODULES_EXPORT void staticStringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::staticStringAttributeAttributeGetter(info);
|
| -}
|
| -
|
| static void staticStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| // Prepare the value to be set.
|
| V8StringResource<> cppValue = v8Value;
|
| @@ -242,12 +188,6 @@ static void staticStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c
|
| TestInterface5Implementation::setStaticStringAttribute(cppValue);
|
| }
|
|
|
| -MODULES_EXPORT void staticStringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - v8::Local<v8::Value> v8Value = info[0];
|
| -
|
| - TestInterface5ImplementationV8Internal::staticStringAttributeAttributeSetter(v8Value, info);
|
| -}
|
| -
|
| static void alwaysExposedAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
|
|
| @@ -256,10 +196,6 @@ static void alwaysExposedAttributeAttributeGetter(const v8::FunctionCallbackInfo
|
| v8SetReturnValueInt(info, impl->alwaysExposedAttribute());
|
| }
|
|
|
| -MODULES_EXPORT void alwaysExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::alwaysExposedAttributeAttributeGetter(info);
|
| -}
|
| -
|
| static void alwaysExposedAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
|
| @@ -274,12 +210,6 @@ static void alwaysExposedAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
|
| impl->setAlwaysExposedAttribute(cppValue);
|
| }
|
|
|
| -MODULES_EXPORT void alwaysExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - v8::Local<v8::Value> v8Value = info[0];
|
| -
|
| - TestInterface5ImplementationV8Internal::alwaysExposedAttributeAttributeSetter(v8Value, info);
|
| -}
|
| -
|
| static void workerExposedAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
|
|
| @@ -288,10 +218,6 @@ static void workerExposedAttributeAttributeGetter(const v8::FunctionCallbackInfo
|
| v8SetReturnValueInt(info, impl->workerExposedAttribute());
|
| }
|
|
|
| -MODULES_EXPORT void workerExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::workerExposedAttributeAttributeGetter(info);
|
| -}
|
| -
|
| static void workerExposedAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
|
| @@ -306,12 +232,6 @@ static void workerExposedAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
|
| impl->setWorkerExposedAttribute(cppValue);
|
| }
|
|
|
| -MODULES_EXPORT void workerExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - v8::Local<v8::Value> v8Value = info[0];
|
| -
|
| - TestInterface5ImplementationV8Internal::workerExposedAttributeAttributeSetter(v8Value, info);
|
| -}
|
| -
|
| static void windowExposedAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
|
|
| @@ -320,10 +240,6 @@ static void windowExposedAttributeAttributeGetter(const v8::FunctionCallbackInfo
|
| v8SetReturnValueInt(info, impl->windowExposedAttribute());
|
| }
|
|
|
| -MODULES_EXPORT void windowExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::windowExposedAttributeAttributeGetter(info);
|
| -}
|
| -
|
| static void windowExposedAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8::Local<v8::Object> holder = info.Holder();
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
|
| @@ -338,12 +254,6 @@ static void windowExposedAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
|
| impl->setWindowExposedAttribute(cppValue);
|
| }
|
|
|
| -MODULES_EXPORT void windowExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - v8::Local<v8::Value> v8Value = info[0];
|
| -
|
| - TestInterface5ImplementationV8Internal::windowExposedAttributeAttributeSetter(v8Value, info);
|
| -}
|
| -
|
| static void voidMethodTestInterfaceEmptyArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
|
|
| @@ -363,10 +273,6 @@ static void voidMethodTestInterfaceEmptyArgMethod(const v8::FunctionCallbackInfo
|
| impl->voidMethodTestInterfaceEmptyArg(testInterfaceEmptyArg);
|
| }
|
|
|
| -MODULES_EXPORT void voidMethodTestInterfaceEmptyArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::voidMethodTestInterfaceEmptyArgMethod(info);
|
| -}
|
| -
|
| static void voidMethodDoubleArgFloatArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestInterface5", "voidMethodDoubleArgFloatArg");
|
|
|
| @@ -390,10 +296,6 @@ static void voidMethodDoubleArgFloatArgMethod(const v8::FunctionCallbackInfo<v8:
|
| impl->voidMethodDoubleArgFloatArg(doubleArg, floatArg);
|
| }
|
|
|
| -MODULES_EXPORT void voidMethodDoubleArgFloatArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::voidMethodDoubleArgFloatArgMethod(info);
|
| -}
|
| -
|
| static void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestInterface5", "voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg");
|
|
|
| @@ -417,94 +319,54 @@ static void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethod(const v8::
|
| impl->voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg(unrestrictedDoubleArg, unrestrictedFloatArg);
|
| }
|
|
|
| -MODULES_EXPORT void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethod(info);
|
| -}
|
| -
|
| static void voidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
|
|
| impl->voidMethod();
|
| }
|
|
|
| -MODULES_EXPORT void voidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::voidMethodMethod(info);
|
| -}
|
| -
|
| static void voidMethodMethodForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
|
|
| impl->voidMethod();
|
| }
|
|
|
| -MODULES_EXPORT void voidMethodMethodCallbackForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::voidMethodMethodForMainWorld(info);
|
| -}
|
| -
|
| static void alwaysExposedMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
|
|
| impl->alwaysExposedMethod();
|
| }
|
|
|
| -MODULES_EXPORT void alwaysExposedMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::alwaysExposedMethodMethod(info);
|
| -}
|
| -
|
| static void workerExposedMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
|
|
| impl->workerExposedMethod();
|
| }
|
|
|
| -MODULES_EXPORT void workerExposedMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::workerExposedMethodMethod(info);
|
| -}
|
| -
|
| static void windowExposedMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
|
|
| impl->windowExposedMethod();
|
| }
|
|
|
| -MODULES_EXPORT void windowExposedMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::windowExposedMethodMethod(info);
|
| -}
|
| -
|
| static void alwaysExposedStaticMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation::alwaysExposedStaticMethod();
|
| }
|
|
|
| -MODULES_EXPORT void alwaysExposedStaticMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::alwaysExposedStaticMethodMethod(info);
|
| -}
|
| -
|
| static void workerExposedStaticMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation::workerExposedStaticMethod();
|
| }
|
|
|
| -MODULES_EXPORT void workerExposedStaticMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::workerExposedStaticMethodMethod(info);
|
| -}
|
| -
|
| static void windowExposedStaticMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation::windowExposedStaticMethod();
|
| }
|
|
|
| -MODULES_EXPORT void windowExposedStaticMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::windowExposedStaticMethodMethod(info);
|
| -}
|
| -
|
| static void windowAndServiceWorkerExposedMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
|
|
| impl->windowAndServiceWorkerExposedMethod();
|
| }
|
|
|
| -MODULES_EXPORT void windowAndServiceWorkerExposedMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethod(info);
|
| -}
|
| -
|
| static void voidMethodBooleanOrDOMStringArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestInterface5", "voidMethodBooleanOrDOMStringArg");
|
|
|
| @@ -523,10 +385,6 @@ static void voidMethodBooleanOrDOMStringArgMethod(const v8::FunctionCallbackInfo
|
| impl->voidMethodBooleanOrDOMStringArg(arg);
|
| }
|
|
|
| -MODULES_EXPORT void voidMethodBooleanOrDOMStringArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::voidMethodBooleanOrDOMStringArgMethod(info);
|
| -}
|
| -
|
| static void voidMethodDoubleOrDOMStringArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestInterface5", "voidMethodDoubleOrDOMStringArg");
|
|
|
| @@ -545,10 +403,6 @@ static void voidMethodDoubleOrDOMStringArgMethod(const v8::FunctionCallbackInfo<
|
| impl->voidMethodDoubleOrDOMStringArg(arg);
|
| }
|
|
|
| -MODULES_EXPORT void voidMethodDoubleOrDOMStringArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::voidMethodDoubleOrDOMStringArgMethod(info);
|
| -}
|
| -
|
| static void voidMethodVoidExperimentalCallbackFunctionMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
|
|
| @@ -568,10 +422,6 @@ static void voidMethodVoidExperimentalCallbackFunctionMethod(const v8::FunctionC
|
| impl->voidMethodVoidExperimentalCallbackFunction(arg);
|
| }
|
|
|
| -MODULES_EXPORT void voidMethodVoidExperimentalCallbackFunctionMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::voidMethodVoidExperimentalCallbackFunctionMethod(info);
|
| -}
|
| -
|
| static void voidMethodVoidCallbackFunctionModulesArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
|
|
| @@ -591,10 +441,6 @@ static void voidMethodVoidCallbackFunctionModulesArgMethod(const v8::FunctionCal
|
| impl->voidMethodVoidCallbackFunctionModulesArg(arg);
|
| }
|
|
|
| -MODULES_EXPORT void voidMethodVoidCallbackFunctionModulesArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::voidMethodVoidCallbackFunctionModulesArgMethod(info);
|
| -}
|
| -
|
| static void keysMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestInterface5", "keys");
|
|
|
| @@ -609,10 +455,6 @@ static void keysMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8SetReturnValue(info, result);
|
| }
|
|
|
| -MODULES_EXPORT void keysMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::keysMethod(info);
|
| -}
|
| -
|
| static void valuesMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestInterface5", "values");
|
|
|
| @@ -627,10 +469,6 @@ static void valuesMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8SetReturnValue(info, result);
|
| }
|
|
|
| -MODULES_EXPORT void valuesMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::valuesMethod(info);
|
| -}
|
| -
|
| static void entriesMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestInterface5", "entries");
|
|
|
| @@ -645,10 +483,6 @@ static void entriesMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8SetReturnValue(info, result);
|
| }
|
|
|
| -MODULES_EXPORT void entriesMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::entriesMethod(info);
|
| -}
|
| -
|
| static void forEachMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestInterface5", "forEach");
|
|
|
| @@ -678,20 +512,12 @@ static void forEachMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| }
|
| }
|
|
|
| -MODULES_EXPORT void forEachMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::forEachMethod(info);
|
| -}
|
| -
|
| static void toStringMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
|
|
| v8SetReturnValueString(info, impl->toString(), info.GetIsolate());
|
| }
|
|
|
| -MODULES_EXPORT void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::toStringMethod(info);
|
| -}
|
| -
|
| static void iteratorMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestInterface5", "iterator");
|
|
|
| @@ -706,10 +532,6 @@ static void iteratorMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| v8SetReturnValue(info, result);
|
| }
|
|
|
| -MODULES_EXPORT void iteratorMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::iteratorMethod(info);
|
| -}
|
| -
|
| static void namedPropertyGetter(const AtomicString& name, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
| String result = impl->anonymousNamedGetter(name);
|
| @@ -718,14 +540,6 @@ static void namedPropertyGetter(const AtomicString& name, const v8::PropertyCall
|
| v8SetReturnValueString(info, result, info.GetIsolate());
|
| }
|
|
|
| -MODULES_EXPORT void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| - if (!name->IsString())
|
| - return;
|
| - const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>());
|
| -
|
| - TestInterface5ImplementationV8Internal::namedPropertyGetter(propertyName, info);
|
| -}
|
| -
|
| static void namedPropertySetter(const AtomicString& name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
| V8StringResource<> propertyValue = v8Value;
|
| @@ -738,14 +552,6 @@ static void namedPropertySetter(const AtomicString& name, v8::Local<v8::Value> v
|
| v8SetReturnValue(info, v8Value);
|
| }
|
|
|
| -MODULES_EXPORT void namedPropertySetterCallback(v8::Local<v8::Name> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| - if (!name->IsString())
|
| - return;
|
| - const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>());
|
| -
|
| - TestInterface5ImplementationV8Internal::namedPropertySetter(propertyName, v8Value, info);
|
| -}
|
| -
|
| static void namedPropertyDeleter(const AtomicString& name, const v8::PropertyCallbackInfo<v8::Boolean>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
|
|
| @@ -755,14 +561,6 @@ static void namedPropertyDeleter(const AtomicString& name, const v8::PropertyCal
|
| v8SetReturnValue(info, result == DeleteSuccess);
|
| }
|
|
|
| -MODULES_EXPORT void namedPropertyDeleterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Boolean>& info) {
|
| - if (!name->IsString())
|
| - return;
|
| - const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>());
|
| -
|
| - TestInterface5ImplementationV8Internal::namedPropertyDeleter(propertyName, info);
|
| -}
|
| -
|
| static void namedPropertyQuery(const AtomicString& name, const v8::PropertyCallbackInfo<v8::Integer>& info) {
|
| const CString& nameInUtf8 = name.utf8();
|
| ExceptionState exceptionState(info.GetIsolate(), ExceptionState::GetterContext, "TestInterface5", nameInUtf8.data());
|
| @@ -775,14 +573,6 @@ static void namedPropertyQuery(const AtomicString& name, const v8::PropertyCallb
|
| v8SetReturnValueInt(info, v8::None);
|
| }
|
|
|
| -MODULES_EXPORT void namedPropertyQueryCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Integer>& info) {
|
| - if (!name->IsString())
|
| - return;
|
| - const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>());
|
| -
|
| - TestInterface5ImplementationV8Internal::namedPropertyQuery(propertyName, info);
|
| -}
|
| -
|
| static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array>& info) {
|
| ExceptionState exceptionState(info.GetIsolate(), ExceptionState::EnumerationContext, "TestInterface5");
|
|
|
| @@ -795,10 +585,6 @@ static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array>& i
|
| v8SetReturnValue(info, ToV8(names, info.Holder(), info.GetIsolate()).As<v8::Array>());
|
| }
|
|
|
| -MODULES_EXPORT void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::Array>& info) {
|
| - TestInterface5ImplementationV8Internal::namedPropertyEnumerator(info);
|
| -}
|
| -
|
| static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
|
|
| @@ -813,10 +599,6 @@ static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo
|
| v8SetReturnValueString(info, result, info.GetIsolate());
|
| }
|
|
|
| -MODULES_EXPORT void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::indexedPropertyGetter(index, info);
|
| -}
|
| -
|
| static void indexedPropertySetter(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
| V8StringResource<> propertyValue = v8Value;
|
| @@ -829,10 +611,6 @@ static void indexedPropertySetter(uint32_t index, v8::Local<v8::Value> v8Value,
|
| v8SetReturnValue(info, v8Value);
|
| }
|
|
|
| -MODULES_EXPORT void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| - TestInterface5ImplementationV8Internal::indexedPropertySetter(index, v8Value, info);
|
| -}
|
| -
|
| static void indexedPropertyDeleter(uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean>& info) {
|
| TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder());
|
|
|
| @@ -842,11 +620,233 @@ static void indexedPropertyDeleter(uint32_t index, const v8::PropertyCallbackInf
|
| v8SetReturnValue(info, result == DeleteSuccess);
|
| }
|
|
|
| -MODULES_EXPORT void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean>& info) {
|
| - TestInterface5ImplementationV8Internal::indexedPropertyDeleter(index, info);
|
| +} // namespace TestInterface5ImplementationV8Internal
|
| +
|
| +void V8TestInterface5::testInterfaceAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::testInterfaceAttributeAttributeGetter(info);
|
| }
|
|
|
| -} // namespace TestInterface5ImplementationV8Internal
|
| +void V8TestInterface5::testInterfaceAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Value> v8Value = info[0];
|
| +
|
| + TestInterface5ImplementationV8Internal::testInterfaceAttributeAttributeSetter(v8Value, info);
|
| +}
|
| +
|
| +void V8TestInterface5::doubleAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::doubleAttributeAttributeGetter(info);
|
| +}
|
| +
|
| +void V8TestInterface5::doubleAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Value> v8Value = info[0];
|
| +
|
| + TestInterface5ImplementationV8Internal::doubleAttributeAttributeSetter(v8Value, info);
|
| +}
|
| +
|
| +void V8TestInterface5::floatAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::floatAttributeAttributeGetter(info);
|
| +}
|
| +
|
| +void V8TestInterface5::floatAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Value> v8Value = info[0];
|
| +
|
| + TestInterface5ImplementationV8Internal::floatAttributeAttributeSetter(v8Value, info);
|
| +}
|
| +
|
| +void V8TestInterface5::unrestrictedDoubleAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::unrestrictedDoubleAttributeAttributeGetter(info);
|
| +}
|
| +
|
| +void V8TestInterface5::unrestrictedDoubleAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Value> v8Value = info[0];
|
| +
|
| + TestInterface5ImplementationV8Internal::unrestrictedDoubleAttributeAttributeSetter(v8Value, info);
|
| +}
|
| +
|
| +void V8TestInterface5::unrestrictedFloatAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::unrestrictedFloatAttributeAttributeGetter(info);
|
| +}
|
| +
|
| +void V8TestInterface5::unrestrictedFloatAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Value> v8Value = info[0];
|
| +
|
| + TestInterface5ImplementationV8Internal::unrestrictedFloatAttributeAttributeSetter(v8Value, info);
|
| +}
|
| +
|
| +void V8TestInterface5::staticStringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::staticStringAttributeAttributeGetter(info);
|
| +}
|
| +
|
| +void V8TestInterface5::staticStringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Value> v8Value = info[0];
|
| +
|
| + TestInterface5ImplementationV8Internal::staticStringAttributeAttributeSetter(v8Value, info);
|
| +}
|
| +
|
| +void V8TestInterface5::alwaysExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::alwaysExposedAttributeAttributeGetter(info);
|
| +}
|
| +
|
| +void V8TestInterface5::alwaysExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Value> v8Value = info[0];
|
| +
|
| + TestInterface5ImplementationV8Internal::alwaysExposedAttributeAttributeSetter(v8Value, info);
|
| +}
|
| +
|
| +void V8TestInterface5::workerExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::workerExposedAttributeAttributeGetter(info);
|
| +}
|
| +
|
| +void V8TestInterface5::workerExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Value> v8Value = info[0];
|
| +
|
| + TestInterface5ImplementationV8Internal::workerExposedAttributeAttributeSetter(v8Value, info);
|
| +}
|
| +
|
| +void V8TestInterface5::windowExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::windowExposedAttributeAttributeGetter(info);
|
| +}
|
| +
|
| +void V8TestInterface5::windowExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Value> v8Value = info[0];
|
| +
|
| + TestInterface5ImplementationV8Internal::windowExposedAttributeAttributeSetter(v8Value, info);
|
| +}
|
| +
|
| +void V8TestInterface5::voidMethodTestInterfaceEmptyArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::voidMethodTestInterfaceEmptyArgMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::voidMethodDoubleArgFloatArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::voidMethodDoubleArgFloatArgMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::voidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::voidMethodMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::voidMethodMethodCallbackForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::voidMethodMethodForMainWorld(info);
|
| +}
|
| +
|
| +void V8TestInterface5::alwaysExposedMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::alwaysExposedMethodMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::workerExposedMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::workerExposedMethodMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::windowExposedMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::windowExposedMethodMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::alwaysExposedStaticMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::alwaysExposedStaticMethodMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::workerExposedStaticMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::workerExposedStaticMethodMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::windowExposedStaticMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::windowExposedStaticMethodMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::windowAndServiceWorkerExposedMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::voidMethodBooleanOrDOMStringArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::voidMethodBooleanOrDOMStringArgMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::voidMethodDoubleOrDOMStringArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::voidMethodDoubleOrDOMStringArgMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::voidMethodVoidExperimentalCallbackFunctionMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::voidMethodVoidExperimentalCallbackFunctionMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::voidMethodVoidCallbackFunctionModulesArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::voidMethodVoidCallbackFunctionModulesArgMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::keysMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::keysMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::valuesMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::valuesMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::entriesMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::entriesMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::forEachMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::forEachMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::toStringMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::iteratorMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::iteratorMethod(info);
|
| +}
|
| +
|
| +void V8TestInterface5::namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| + if (!name->IsString())
|
| + return;
|
| + const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>());
|
| +
|
| + TestInterface5ImplementationV8Internal::namedPropertyGetter(propertyName, info);
|
| +}
|
| +
|
| +void V8TestInterface5::namedPropertySetterCallback(v8::Local<v8::Name> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| + if (!name->IsString())
|
| + return;
|
| + const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>());
|
| +
|
| + TestInterface5ImplementationV8Internal::namedPropertySetter(propertyName, v8Value, info);
|
| +}
|
| +
|
| +void V8TestInterface5::namedPropertyDeleterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Boolean>& info) {
|
| + if (!name->IsString())
|
| + return;
|
| + const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>());
|
| +
|
| + TestInterface5ImplementationV8Internal::namedPropertyDeleter(propertyName, info);
|
| +}
|
| +
|
| +void V8TestInterface5::namedPropertyQueryCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Integer>& info) {
|
| + if (!name->IsString())
|
| + return;
|
| + const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>());
|
| +
|
| + TestInterface5ImplementationV8Internal::namedPropertyQuery(propertyName, info);
|
| +}
|
| +
|
| +void V8TestInterface5::namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::Array>& info) {
|
| + TestInterface5ImplementationV8Internal::namedPropertyEnumerator(info);
|
| +}
|
| +
|
| +void V8TestInterface5::indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::indexedPropertyGetter(index, info);
|
| +}
|
| +
|
| +void V8TestInterface5::indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| + TestInterface5ImplementationV8Internal::indexedPropertySetter(index, v8Value, info);
|
| +}
|
| +
|
| +void V8TestInterface5::indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean>& info) {
|
| + TestInterface5ImplementationV8Internal::indexedPropertyDeleter(index, info);
|
| +}
|
|
|
| void V8TestInterface5::visitDOMWrapper(v8::Isolate* isolate, ScriptWrappable* scriptWrappable, const v8::Persistent<v8::Object>& wrapper) {
|
| TestInterface5Implementation* impl = scriptWrappable->toImpl<TestInterface5Implementation>();
|
| @@ -863,38 +863,38 @@ void V8TestInterface5::visitDOMWrapper(v8::Isolate* isolate, ScriptWrappable* sc
|
| #pragma clang diagnostic ignored "-Wglobal-constructors"
|
| #endif
|
| const V8DOMConfiguration::AttributeConfiguration V8TestInterface5LazyDataAttributes[] = {
|
| - {"testInterfaceConstructorAttribute", v8ConstructorAttributeGetter, 0, 0, 0, nullptr, const_cast<WrapperTypeInfo*>(&V8TestInterface5::wrapperTypeInfo), static_cast<v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::OnInstance, V8DOMConfiguration::CheckHolder},
|
| + {"testInterfaceConstructorAttribute", v8ConstructorAttributeGetter, nullptr, nullptr, nullptr, nullptr, const_cast<WrapperTypeInfo*>(&V8TestInterface5::wrapperTypeInfo), static_cast<v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::OnInstance, V8DOMConfiguration::CheckHolder},
|
| };
|
| #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
|
| #pragma clang diagnostic pop
|
| #endif
|
|
|
| const V8DOMConfiguration::AccessorConfiguration V8TestInterface5Accessors[] = {
|
| - {"testInterfaceAttribute", TestInterface5ImplementationV8Internal::testInterfaceAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::testInterfaceAttributeAttributeSetterCallback, 0, 0, nullptr, 0, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"doubleAttribute", TestInterface5ImplementationV8Internal::doubleAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::doubleAttributeAttributeSetterCallback, 0, 0, nullptr, 0, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"floatAttribute", TestInterface5ImplementationV8Internal::floatAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::floatAttributeAttributeSetterCallback, 0, 0, nullptr, 0, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"unrestrictedDoubleAttribute", TestInterface5ImplementationV8Internal::unrestrictedDoubleAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::unrestrictedDoubleAttributeAttributeSetterCallback, 0, 0, nullptr, 0, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"unrestrictedFloatAttribute", TestInterface5ImplementationV8Internal::unrestrictedFloatAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::unrestrictedFloatAttributeAttributeSetterCallback, 0, 0, nullptr, 0, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"staticStringAttribute", TestInterface5ImplementationV8Internal::staticStringAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::staticStringAttributeAttributeSetterCallback, 0, 0, nullptr, 0, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder},
|
| - {"alwaysExposedAttribute", TestInterface5ImplementationV8Internal::alwaysExposedAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::alwaysExposedAttributeAttributeSetterCallback, 0, 0, nullptr, 0, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"testInterfaceAttribute", V8TestInterface5::testInterfaceAttributeAttributeGetterCallback, V8TestInterface5::testInterfaceAttributeAttributeSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"doubleAttribute", V8TestInterface5::doubleAttributeAttributeGetterCallback, V8TestInterface5::doubleAttributeAttributeSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"floatAttribute", V8TestInterface5::floatAttributeAttributeGetterCallback, V8TestInterface5::floatAttributeAttributeSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"unrestrictedDoubleAttribute", V8TestInterface5::unrestrictedDoubleAttributeAttributeGetterCallback, V8TestInterface5::unrestrictedDoubleAttributeAttributeSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"unrestrictedFloatAttribute", V8TestInterface5::unrestrictedFloatAttributeAttributeGetterCallback, V8TestInterface5::unrestrictedFloatAttributeAttributeSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"staticStringAttribute", V8TestInterface5::staticStringAttributeAttributeGetterCallback, V8TestInterface5::staticStringAttributeAttributeSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder},
|
| + {"alwaysExposedAttribute", V8TestInterface5::alwaysExposedAttributeAttributeGetterCallback, V8TestInterface5::alwaysExposedAttributeAttributeSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| };
|
|
|
| const V8DOMConfiguration::MethodConfiguration V8TestInterface5Methods[] = {
|
| - {"voidMethodTestInterfaceEmptyArg", TestInterface5ImplementationV8Internal::voidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"voidMethodDoubleArgFloatArg", TestInterface5ImplementationV8Internal::voidMethodDoubleArgFloatArgMethodCallback, 0, 2, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterface5ImplementationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCallback, 0, 2, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"voidMethod", TestInterface5ImplementationV8Internal::voidMethodMethodCallback, TestInterface5ImplementationV8Internal::voidMethodMethodCallbackForMainWorld, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"alwaysExposedMethod", TestInterface5ImplementationV8Internal::alwaysExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"alwaysExposedStaticMethod", TestInterface5ImplementationV8Internal::alwaysExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder},
|
| - {"voidMethodBooleanOrDOMStringArg", TestInterface5ImplementationV8Internal::voidMethodBooleanOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"voidMethodDoubleOrDOMStringArg", TestInterface5ImplementationV8Internal::voidMethodDoubleOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"voidMethodVoidExperimentalCallbackFunction", TestInterface5ImplementationV8Internal::voidMethodVoidExperimentalCallbackFunctionMethodCallback, 0, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"voidMethodVoidCallbackFunctionModulesArg", TestInterface5ImplementationV8Internal::voidMethodVoidCallbackFunctionModulesArgMethodCallback, 0, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"keys", TestInterface5ImplementationV8Internal::keysMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"values", TestInterface5ImplementationV8Internal::valuesMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"entries", TestInterface5ImplementationV8Internal::entriesMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"forEach", TestInterface5ImplementationV8Internal::forEachMethodCallback, 0, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| - {"toString", TestInterface5ImplementationV8Internal::toStringMethodCallback, 0, 0, static_cast<v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"voidMethodTestInterfaceEmptyArg", V8TestInterface5::voidMethodTestInterfaceEmptyArgMethodCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"voidMethodDoubleArgFloatArg", V8TestInterface5::voidMethodDoubleArgFloatArgMethodCallback, nullptr, 2, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", V8TestInterface5::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCallback, nullptr, 2, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"voidMethod", V8TestInterface5::voidMethodMethodCallback, V8TestInterface5::voidMethodMethodCallbackForMainWorld, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"alwaysExposedMethod", V8TestInterface5::alwaysExposedMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"alwaysExposedStaticMethod", V8TestInterface5::alwaysExposedStaticMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder},
|
| + {"voidMethodBooleanOrDOMStringArg", V8TestInterface5::voidMethodBooleanOrDOMStringArgMethodCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"voidMethodDoubleOrDOMStringArg", V8TestInterface5::voidMethodDoubleOrDOMStringArgMethodCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"voidMethodVoidExperimentalCallbackFunction", V8TestInterface5::voidMethodVoidExperimentalCallbackFunctionMethodCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"voidMethodVoidCallbackFunctionModulesArg", V8TestInterface5::voidMethodVoidCallbackFunctionModulesArgMethodCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"keys", V8TestInterface5::keysMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"values", V8TestInterface5::valuesMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"entries", V8TestInterface5::entriesMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"forEach", V8TestInterface5::forEachMethodCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| + {"toString", V8TestInterface5::toStringMethodCallback, nullptr, 0, static_cast<v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
| };
|
|
|
| static void installV8TestInterface5Template(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) {
|
| @@ -923,14 +923,14 @@ static void installV8TestInterface5Template(v8::Isolate* isolate, const DOMWrapp
|
| V8DOMConfiguration::installMethods(isolate, world, instanceTemplate, prototypeTemplate, interfaceTemplate, signature, V8TestInterface5Methods, WTF_ARRAY_LENGTH(V8TestInterface5Methods));
|
|
|
| // Indexed properties
|
| - v8::IndexedPropertyHandlerConfiguration indexedPropertyHandlerConfig(TestInterface5ImplementationV8Internal::indexedPropertyGetterCallback, TestInterface5ImplementationV8Internal::indexedPropertySetterCallback, 0, TestInterface5ImplementationV8Internal::indexedPropertyDeleterCallback, indexedPropertyEnumerator<TestInterface5Implementation>, v8::Local<v8::Value>(), v8::PropertyHandlerFlags::kNone);
|
| + v8::IndexedPropertyHandlerConfiguration indexedPropertyHandlerConfig(V8TestInterface5::indexedPropertyGetterCallback, V8TestInterface5::indexedPropertySetterCallback, nullptr, V8TestInterface5::indexedPropertyDeleterCallback, indexedPropertyEnumerator<TestInterface5Implementation>, v8::Local<v8::Value>(), v8::PropertyHandlerFlags::kNone);
|
| instanceTemplate->SetHandler(indexedPropertyHandlerConfig);
|
| // Named properties
|
| - v8::NamedPropertyHandlerConfiguration namedPropertyHandlerConfig(TestInterface5ImplementationV8Internal::namedPropertyGetterCallback, TestInterface5ImplementationV8Internal::namedPropertySetterCallback, TestInterface5ImplementationV8Internal::namedPropertyQueryCallback, TestInterface5ImplementationV8Internal::namedPropertyDeleterCallback, TestInterface5ImplementationV8Internal::namedPropertyEnumeratorCallback, v8::Local<v8::Value>(), static_cast<v8::PropertyHandlerFlags>(int(v8::PropertyHandlerFlags::kOnlyInterceptStrings) | int(v8::PropertyHandlerFlags::kNonMasking)));
|
| + v8::NamedPropertyHandlerConfiguration namedPropertyHandlerConfig(V8TestInterface5::namedPropertyGetterCallback, V8TestInterface5::namedPropertySetterCallback, V8TestInterface5::namedPropertyQueryCallback, V8TestInterface5::namedPropertyDeleterCallback, V8TestInterface5::namedPropertyEnumeratorCallback, v8::Local<v8::Value>(), static_cast<v8::PropertyHandlerFlags>(int(v8::PropertyHandlerFlags::kOnlyInterceptStrings) | int(v8::PropertyHandlerFlags::kNonMasking)));
|
| instanceTemplate->SetHandler(namedPropertyHandlerConfig);
|
|
|
| // Iterator (@@iterator)
|
| - const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedIteratorConfiguration = { v8::Symbol::GetIterator, TestInterface5ImplementationV8Internal::iteratorMethodCallback, 0, v8::DontEnum, V8DOMConfiguration::OnPrototype };
|
| + const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedIteratorConfiguration = { v8::Symbol::GetIterator, V8TestInterface5::iteratorMethodCallback, 0, v8::DontEnum, V8DOMConfiguration::OnPrototype };
|
| V8DOMConfiguration::installMethod(isolate, world, prototypeTemplate, signature, symbolKeyedIteratorConfiguration);
|
|
|
| instanceTemplate->SetCallAsFunctionHandler(V8TestInterface5::legacyCallCustom);
|
| @@ -957,34 +957,34 @@ void V8TestInterface5::preparePrototypeAndInterfaceObject(v8::Local<v8::Context>
|
| ExecutionContext* executionContext = toExecutionContext(context);
|
| v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemplate);
|
| if (executionContext && (executionContext->isWorkerGlobalScope())) {
|
| - const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {"workerExposedAttribute", TestInterface5ImplementationV8Internal::workerExposedAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::workerExposedAttributeAttributeSetterCallback, 0, 0, nullptr, 0, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
|
| + const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {"workerExposedAttribute", V8TestInterface5::workerExposedAttributeAttributeGetterCallback, V8TestInterface5::workerExposedAttributeAttributeSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
|
| V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, accessorConfiguration);
|
| }
|
| if (executionContext && (executionContext->isDocument())) {
|
| - const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {"windowExposedAttribute", TestInterface5ImplementationV8Internal::windowExposedAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::windowExposedAttributeAttributeSetterCallback, 0, 0, nullptr, 0, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
|
| + const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {"windowExposedAttribute", V8TestInterface5::windowExposedAttributeAttributeGetterCallback, V8TestInterface5::windowExposedAttributeAttributeSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
|
| V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, accessorConfiguration);
|
| }
|
| v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemplate);
|
| ExecutionContext* executionContext = toExecutionContext(prototypeObject->CreationContext());
|
| DCHECK(executionContext);
|
| if (executionContext && (executionContext->isWorkerGlobalScope())) {
|
| - const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodConfiguration = {"workerExposedMethod", TestInterface5ImplementationV8Internal::workerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
|
| + const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodConfiguration = {"workerExposedMethod", V8TestInterface5::workerExposedMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
|
| V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, workerExposedMethodMethodConfiguration);
|
| }
|
| if (executionContext && (executionContext->isDocument())) {
|
| - const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodConfiguration = {"windowExposedMethod", TestInterface5ImplementationV8Internal::windowExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
|
| + const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodConfiguration = {"windowExposedMethod", V8TestInterface5::windowExposedMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
|
| V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowExposedMethodMethodConfiguration);
|
| }
|
| if (executionContext && (executionContext->isWorkerGlobalScope())) {
|
| - const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodMethodConfiguration = {"workerExposedStaticMethod", TestInterface5ImplementationV8Internal::workerExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder};
|
| + const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodMethodConfiguration = {"workerExposedStaticMethod", V8TestInterface5::workerExposedStaticMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder};
|
| V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, workerExposedStaticMethodMethodConfiguration);
|
| }
|
| if (executionContext && (executionContext->isDocument())) {
|
| - const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMethodConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV8Internal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder};
|
| + const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMethodConfiguration = {"windowExposedStaticMethod", V8TestInterface5::windowExposedStaticMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder};
|
| V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodConfiguration);
|
| }
|
| if (executionContext && (executionContext->isDocument() || executionContext->isServiceWorkerGlobalScope())) {
|
| - const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExposedMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInterface5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
|
| + const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExposedMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", V8TestInterface5::windowAndServiceWorkerExposedMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
|
| V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMethodMethodConfiguration);
|
| }
|
| }
|
|
|