Index: Source/core/html/HTMLBodyElement.cpp |
diff --git a/Source/core/html/HTMLBodyElement.cpp b/Source/core/html/HTMLBodyElement.cpp |
index df5dab2c3c9f11130cab514f656ffed4e943755a..ad0cbb2c37199a28b50cae10dd131a994b7ed52a 100644 |
--- a/Source/core/html/HTMLBodyElement.cpp |
+++ b/Source/core/html/HTMLBodyElement.cpp |
@@ -142,6 +142,8 @@ void HTMLBodyElement::parseAttribute(const QualifiedName& name, const AtomicStri |
#endif |
else if (name == onhashchangeAttr) |
document().setWindowAttributeEventListener(EventTypeNames::hashchange, createAttributeEventListener(document().frame(), name, value)); |
+ else if (name == onmessageAttr) |
+ document().setWindowAttributeEventListener(EventTypeNames::message, createAttributeEventListener(document().frame(), name, value)); |
else if (name == onresizeAttr) |
document().setWindowAttributeEventListener(EventTypeNames::resize, createAttributeEventListener(document().frame(), name, value)); |
else if (name == onscrollAttr) |