[webkit-changes] cvs commit: WebCore/khtml/ecma kjs_dom.cpp

Eric eseidel at opensource.apple.com
Sat Nov 26 18:06:59 PST 2005


eseidel     05/11/26 18:06:59

  Modified:    .        ChangeLog
               khtml/ecma kjs_dom.cpp
  Log:
  Bug #: 5710
  Submitted by: mitz
  Reviewed by: ggaren
          Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=5710
          item(i) should work like item[i]
  
          * khtml/ecma/kjs_dom.cpp:
          (KJS::DOMNodeProtoFunc::callAsFunction):
  
  Revision  Changes    Path
  1.405     +11 -1     WebCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebCore/ChangeLog,v
  retrieving revision 1.404
  retrieving revision 1.405
  diff -u -r1.404 -r1.405
  --- ChangeLog	27 Nov 2005 01:50:41 -0000	1.404
  +++ ChangeLog	27 Nov 2005 02:06:53 -0000	1.405
  @@ -1,6 +1,16 @@
  +2005-11-26  Mitz Pettel  <opendarwin.org at mitzpettel.com>
  +
  +        Reviewed by ggaren.  Committed by eseidel.
  +
  +        Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=5710
  +        item(i) should work like item[i]
  +
  +        * khtml/ecma/kjs_dom.cpp:
  +        (KJS::DOMNodeProtoFunc::callAsFunction):
  +
   2005-11-26  Alexey Proskuryakov  <ap at nypop.com>
   
  -        Reviewed by mjs.
  +        Reviewed by mjs.  Committed by eseidel.
   
           Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=5230
           "characterIndexForPoint: not yet implemented"
  
  
  
  1.112     +1 -1      WebCore/khtml/ecma/kjs_dom.cpp
  
  Index: kjs_dom.cpp
  ===================================================================
  RCS file: /cvs/root/WebCore/khtml/ecma/kjs_dom.cpp,v
  retrieving revision 1.111
  retrieving revision 1.112
  diff -u -r1.111 -r1.112
  --- kjs_dom.cpp	23 Nov 2005 09:46:54 -0000	1.111
  +++ kjs_dom.cpp	27 Nov 2005 02:06:58 -0000	1.112
  @@ -698,7 +698,7 @@
         // when the parameter is not a node? When the object is not an element?
         return Undefined();
       case DOMNode::Item:
  -      return getDOMNode(exec, node.childNodes()->item(args[0]->toInt32(exec)));
  +      return thisObj->get(exec, args[0]->toInt32(exec));
     }
   
     return Undefined();
  
  
  



More information about the webkit-changes mailing list