| Index: third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp b/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
|
| index b35c509c2cf782742d1d87ea594300cda8014b7c..a6cf607f8dfa686ead760241b3bbaf49d999e4e3 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
|
| @@ -92,28 +92,6 @@ v8::Local<v8::Value> V8EventListener::callListenerFunction(ScriptState* scriptSt
|
| if (scriptState->world().isMainWorld() && !frame->script().canExecuteScripts(AboutToExecuteScript))
|
| return v8::Local<v8::Value>();
|
|
|
| - // Temporary instrumentation for http://crbug.com/621730.
|
| - String scriptInfo;
|
| - if (event->type() == EventTypeNames::message) {
|
| - v8::HandleScope handleScope(isolate());
|
| - StringBuilder scriptInfoBuilder;
|
| - V8StringResource<> functionName = handlerFunction->GetDebugName();
|
| - if (functionName.prepare()) {
|
| - scriptInfoBuilder.append(static_cast<String>(functionName));
|
| - }
|
| - scriptInfoBuilder.append(':');
|
| - scriptInfoBuilder.appendNumber(handlerFunction->GetScriptLineNumber());
|
| - scriptInfoBuilder.append(':');
|
| - scriptInfoBuilder.appendNumber(handlerFunction->GetScriptColumnNumber());
|
| - scriptInfoBuilder.append(':');
|
| - V8StringResource<> scriptName = handlerFunction->GetScriptOrigin().ResourceName();
|
| - if (scriptName.prepare()) {
|
| - scriptInfoBuilder.append(static_cast<String>(scriptName));
|
| - }
|
| - scriptInfo = scriptInfoBuilder.toString();
|
| - }
|
| - WTF::debug::ScopedCrashKey("postmessage_script_info", scriptInfo.utf8().data());
|
| -
|
| v8::Local<v8::Value> parameters[1] = { jsEvent };
|
| v8::Local<v8::Value> result;
|
| if (!V8ScriptRunner::callFunction(handlerFunction, frame->document(), receiver, WTF_ARRAY_LENGTH(parameters), parameters, scriptState->isolate()).ToLocal(&result))
|
|
|