[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/khtml/ecma
From: Maks Orlovich <maksim () kde ! org>
Date: 2009-06-20 22:40:56
Message-ID: 1245537656.539624.31858.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 984521 by orlovich:
Add [[Get]] on NamedNodeMap
BUG:196409
CCBUG:195192
M +5 -0 kjs_dom.cpp
--- trunk/KDE/kdelibs/khtml/ecma/kjs_dom.cpp #984520:984521
@@ -1567,6 +1567,11 @@
return true;
}
+ // See if it's an item name get
+ DOM::NodeImpl* attr = impl()->getNamedItem(propertyName.ustring().domString());
+ if (attr)
+ return getImmediateValueSlot(this, getDOMNode(exec, attr), slot);
+
//May be it's an index?
if (getIndexSlot(this, *m_impl, propertyName, slot))
return true;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic