Index: Source/core/html/HTMLScriptElement.cpp |
diff --git a/Source/core/html/HTMLScriptElement.cpp b/Source/core/html/HTMLScriptElement.cpp |
index b20b853b1eb1f0068433d50ed8ebde7eaef4e03b..5ad6b6751e3b30528421e02c00e7c7fda6766a2e 100644 |
--- a/Source/core/html/HTMLScriptElement.cpp |
+++ b/Source/core/html/HTMLScriptElement.cpp |
@@ -75,8 +75,6 @@ void HTMLScriptElement::parseAttribute(const QualifiedName& name, const AtomicSt |
m_loader->handleSourceAttribute(value); |
else if (name == asyncAttr) |
m_loader->handleAsyncAttribute(); |
- else if (name == onbeforeloadAttr) |
- setAttributeEventListener(EventTypeNames::beforeload, createAttributeEventListener(this, name, value)); |
else |
HTMLElement::parseAttribute(name, value); |
} |