| Index: Source/core/html/HTMLFrameElementBase.cpp
|
| diff --git a/Source/core/html/HTMLFrameElementBase.cpp b/Source/core/html/HTMLFrameElementBase.cpp
|
| index a162cb8de6e4c23f5007fcb98c5b90b48d8d9130..f63b30b664d1bb23f11636bd2666f42a885f838d 100644
|
| --- a/Source/core/html/HTMLFrameElementBase.cpp
|
| +++ b/Source/core/html/HTMLFrameElementBase.cpp
|
| @@ -124,9 +124,7 @@ void HTMLFrameElementBase::parseAttribute(const QualifiedName& name, const Atomi
|
| else if (equalIgnoringCase(value, "no"))
|
| m_scrolling = ScrollbarAlwaysOff;
|
| // FIXME: If we are already attached, this has no effect.
|
| - } else if (name == onbeforeloadAttr)
|
| - setAttributeEventListener(EventTypeNames::beforeload, createAttributeEventListener(this, name, value));
|
| - else if (name == onbeforeunloadAttr) {
|
| + } else if (name == onbeforeunloadAttr) {
|
| // FIXME: should <frame> elements have beforeunload handlers?
|
| setAttributeEventListener(EventTypeNames::beforeunload, createAttributeEventListener(this, name, value));
|
| } else
|
|
|