| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| index ed61d65762de452e0fa8467afe6540372ec5ffa9..c538e35190b7e57d631666c2440b8866e9dd72e5 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| @@ -7050,6 +7050,15 @@ static void voidMethodTreatNullAsNullStringStringArgMethod(const v8::FunctionCal
|
| static void activityLoggingAccessForAllWorldsMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestObject* impl = V8TestObject::toImpl(info.Holder());
|
|
|
| + ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| +
|
| + V8PerContextData* contextData = scriptState->perContextData();
|
| + if (contextData && contextData->activityLogger()) {
|
| + ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestObject", "activityLoggingAccessForAllWorldsMethod");
|
| + Vector<v8::Local<v8::Value>> loggerArgs = toImplArguments<Vector<v8::Local<v8::Value>>>(info, 0, exceptionState);
|
| + contextData->activityLogger()->logMethod("TestObject.activityLoggingAccessForAllWorldsMethod", info.Length(), loggerArgs.data());
|
| + }
|
| +
|
| impl->activityLoggingAccessForAllWorldsMethod();
|
| }
|
|
|
| @@ -7704,18 +7713,45 @@ static void postMessageImpl(const char* interfaceName, TestObject* instance, con
|
| static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestObject* impl = V8TestObject::toImpl(info.Holder());
|
|
|
| + ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| +
|
| + V8PerContextData* contextData = scriptState->perContextData();
|
| + if (contextData && contextData->activityLogger()) {
|
| + ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestObject", "activityLoggingForAllWorldsPerWorldBindingsVoidMethod");
|
| + Vector<v8::Local<v8::Value>> loggerArgs = toImplArguments<Vector<v8::Local<v8::Value>>>(info, 0, exceptionState);
|
| + contextData->activityLogger()->logMethod("TestObject.activityLoggingForAllWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data());
|
| + }
|
| +
|
| impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod();
|
| }
|
|
|
| static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestObject* impl = V8TestObject::toImpl(info.Holder());
|
|
|
| + ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| +
|
| + V8PerContextData* contextData = scriptState->perContextData();
|
| + if (contextData && contextData->activityLogger()) {
|
| + ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestObject", "activityLoggingForAllWorldsPerWorldBindingsVoidMethod");
|
| + Vector<v8::Local<v8::Value>> loggerArgs = toImplArguments<Vector<v8::Local<v8::Value>>>(info, 0, exceptionState);
|
| + contextData->activityLogger()->logMethod("TestObject.activityLoggingForAllWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data());
|
| + }
|
| +
|
| impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod();
|
| }
|
|
|
| static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| TestObject* impl = V8TestObject::toImpl(info.Holder());
|
|
|
| + ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| +
|
| + V8PerContextData* contextData = scriptState->perContextData();
|
| + if (contextData && contextData->activityLogger()) {
|
| + ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestObject", "activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod");
|
| + Vector<v8::Local<v8::Value>> loggerArgs = toImplArguments<Vector<v8::Local<v8::Value>>>(info, 0, exceptionState);
|
| + contextData->activityLogger()->logMethod("TestObject.activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data());
|
| + }
|
| +
|
| impl->activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod();
|
| }
|
|
|
| @@ -10836,13 +10872,6 @@ void V8TestObject::voidMethodTreatNullAsNullStringStringArgMethodCallback(const
|
| }
|
|
|
| void V8TestObject::activityLoggingAccessForAllWorldsMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| - V8PerContextData* contextData = scriptState->perContextData();
|
| - if (contextData && contextData->activityLogger()) {
|
| - ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestObject", "activityLoggingAccessForAllWorldsMethod");
|
| - Vector<v8::Local<v8::Value>> loggerArgs = toImplArguments<Vector<v8::Local<v8::Value>>>(info, 0, exceptionState);
|
| - contextData->activityLogger()->logMethod("TestObject.activityLoggingAccessForAllWorldsMethod", info.Length(), loggerArgs.data());
|
| - }
|
| TestObjectV8Internal::activityLoggingAccessForAllWorldsMethodMethod(info);
|
| }
|
|
|
| @@ -10986,35 +11015,14 @@ void V8TestObject::postMessageMethodCallback(const v8::FunctionCallbackInfo<v8::
|
| }
|
|
|
| void V8TestObject::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| - V8PerContextData* contextData = scriptState->perContextData();
|
| - if (contextData && contextData->activityLogger()) {
|
| - ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestObject", "activityLoggingForAllWorldsPerWorldBindingsVoidMethod");
|
| - Vector<v8::Local<v8::Value>> loggerArgs = toImplArguments<Vector<v8::Local<v8::Value>>>(info, 0, exceptionState);
|
| - contextData->activityLogger()->logMethod("TestObject.activityLoggingForAllWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data());
|
| - }
|
| TestObjectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethod(info);
|
| }
|
|
|
| void V8TestObject::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallbackForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| - V8PerContextData* contextData = scriptState->perContextData();
|
| - if (contextData && contextData->activityLogger()) {
|
| - ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestObject", "activityLoggingForAllWorldsPerWorldBindingsVoidMethod");
|
| - Vector<v8::Local<v8::Value>> loggerArgs = toImplArguments<Vector<v8::Local<v8::Value>>>(info, 0, exceptionState);
|
| - contextData->activityLogger()->logMethod("TestObject.activityLoggingForAllWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data());
|
| - }
|
| TestObjectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodForMainWorld(info);
|
| }
|
|
|
| void V8TestObject::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| - ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| - V8PerContextData* contextData = scriptState->perContextData();
|
| - if (contextData && contextData->activityLogger()) {
|
| - ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestObject", "activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod");
|
| - Vector<v8::Local<v8::Value>> loggerArgs = toImplArguments<Vector<v8::Local<v8::Value>>>(info, 0, exceptionState);
|
| - contextData->activityLogger()->logMethod("TestObject.activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data());
|
| - }
|
| TestObjectV8Internal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethod(info);
|
| }
|
|
|
|
|