| Index: Source/core/html/HTMLInputElement.cpp
|
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
|
| index a49f0f75f138df11234fe0524b711c98610ed97d..51c4fd0ef83fef4602c59a246282e813829fc202 100644
|
| --- a/Source/core/html/HTMLInputElement.cpp
|
| +++ b/Source/core/html/HTMLInputElement.cpp
|
| @@ -616,6 +616,22 @@ void HTMLInputElement::collectStyleForPresentationAttribute(const QualifiedName&
|
| HTMLTextFormControlElement::collectStyleForPresentationAttribute(name, value, style);
|
| }
|
|
|
| +void HTMLInputElement::attributeWillChange(const QualifiedName& name, const AtomicString& oldValue, const AtomicString& newValue)
|
| +{
|
| + if (name == formactionAttr && inDocument()) {
|
| + V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivityLoggerIfIsolatedWorld();
|
| + if (activityLogger) {
|
| + Vector<String> argv;
|
| + argv.append("input");
|
| + argv.append(formactionAttr.toString());
|
| + argv.append(oldValue);
|
| + argv.append(newValue);
|
| + activityLogger->logEvent("blinkSetAttribute", argv.size(), argv.data());
|
| + }
|
| + }
|
| + HTMLTextFormControlElement::attributeWillChange(name, oldValue, newValue);
|
| +}
|
| +
|
| void HTMLInputElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
|
| {
|
| if (name == nameAttr) {
|
|
|