| Index: Source/core/html/HTMLFrameElementBase.cpp
 | 
| diff --git a/Source/core/html/HTMLFrameElementBase.cpp b/Source/core/html/HTMLFrameElementBase.cpp
 | 
| index 37b64ab10f67fb5bbde4f2ff90215927e55bdba5..f7e2290e5bfb70381c4f92e571edefc1c39cfd89 100644
 | 
| --- a/Source/core/html/HTMLFrameElementBase.cpp
 | 
| +++ b/Source/core/html/HTMLFrameElementBase.cpp
 | 
| @@ -137,6 +137,8 @@
 | 
|  void HTMLFrameElementBase::setNameAndOpenURL()
 | 
|  {
 | 
|      m_frameName = getNameAttribute();
 | 
| +    if (m_frameName.isNull())
 | 
| +        m_frameName = getIdAttribute();
 | 
|      openURL();
 | 
|  }
 | 
|  
 | 
| 
 |