Index: Source/core/html/HTMLBodyElement.cpp |
diff --git a/Source/core/html/HTMLBodyElement.cpp b/Source/core/html/HTMLBodyElement.cpp |
index 0633ec7122104481c21ff65ba6da706d813d4a67..df5dab2c3c9f11130cab514f656ffed4e943755a 100644 |
--- a/Source/core/html/HTMLBodyElement.cpp |
+++ b/Source/core/html/HTMLBodyElement.cpp |
@@ -132,6 +132,8 @@ void HTMLBodyElement::parseAttribute(const QualifiedName& name, const AtomicStri |
document().setWindowAttributeEventListener(EventTypeNames::popstate, createAttributeEventListener(document().frame(), name, value)); |
else if (name == onblurAttr) |
document().setWindowAttributeEventListener(EventTypeNames::blur, createAttributeEventListener(document().frame(), name, value)); |
+ else if (name == onerrorAttr) |
+ document().setWindowAttributeEventListener(EventTypeNames::error, createAttributeEventListener(document().frame(), name, value)); |
else if (name == onfocusAttr) |
document().setWindowAttributeEventListener(EventTypeNames::focus, createAttributeEventListener(document().frame(), name, value)); |
#if ENABLE(ORIENTATION_EVENTS) |