Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 904da975e84edb9fcd952b2394076ec414d58c3e..c1978e4ce26f202e2a31ce9dbe8c78869147f25e 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -32,6 +32,7 @@ |
#include "bindings/v8/ExceptionMessages.h" |
#include "bindings/v8/ExceptionState.h" |
#include "bindings/v8/ScriptEventListener.h" |
+#include "bindings/v8/V8DOMActivityLogger.h" |
#include "core/CSSPropertyNames.h" |
#include "core/HTMLNames.h" |
#include "core/accessibility/AXObjectCache.h" |
@@ -1412,6 +1413,16 @@ void HTMLInputElement::didChangeForm() |
Node::InsertionNotificationRequest HTMLInputElement::insertedInto(ContainerNode* insertionPoint) |
{ |
+ if (insertionPoint->inDocument()) { |
+ V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivityLoggerIfIsolatedWorld(); |
+ if (activityLogger) { |
+ Vector<String> argv; |
+ argv.append("input"); |
+ argv.append(fastGetAttribute(typeAttr)); |
+ argv.append(fastGetAttribute(formactionAttr)); |
+ activityLogger->logEvent("blinkAddElement", argv.size(), argv.data()); |
+ } |
+ } |
HTMLTextFormControlElement::insertedInto(insertionPoint); |
if (insertionPoint->inDocument() && !form()) |
addToRadioButtonGroup(); |