[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
darin
darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:59:19 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 4629e6f4b23426a4ddd352fe837e295cd05fe1f3
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Oct 2 18:19:27 2003 +0000
Reviewed by Dave.
- fixed 3441656 -- constructor bad for objs created w/ function as prototype (www.moock.org/asdg/codedepot)
* kjs/nodes.cpp: (FuncDeclNode::processFuncDecl): Set up the constructor as
as specified in the JavaScript spec. We were already doing this right in the
other place we make functions.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index f259998..1f9cbda 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,13 @@
+2003-10-02 Darin Adler <darin at apple.com>
+
+ Reviewed by Dave.
+
+ - fixed 3441656 -- constructor bad for objs created w/ function as prototype (www.moock.org/asdg/codedepot)
+
+ * kjs/nodes.cpp: (FuncDeclNode::processFuncDecl): Set up the constructor as
+ as specified in the JavaScript spec. We were already doing this right in the
+ other place we make functions.
+
2003-09-30 Darin Adler <darin at apple.com>
Reviewed by Dave.
diff --git a/JavaScriptCore/ChangeLog-2003-10-25 b/JavaScriptCore/ChangeLog-2003-10-25
index f259998..1f9cbda 100644
--- a/JavaScriptCore/ChangeLog-2003-10-25
+++ b/JavaScriptCore/ChangeLog-2003-10-25
@@ -1,3 +1,13 @@
+2003-10-02 Darin Adler <darin at apple.com>
+
+ Reviewed by Dave.
+
+ - fixed 3441656 -- constructor bad for objs created w/ function as prototype (www.moock.org/asdg/codedepot)
+
+ * kjs/nodes.cpp: (FuncDeclNode::processFuncDecl): Set up the constructor as
+ as specified in the JavaScript spec. We were already doing this right in the
+ other place we make functions.
+
2003-09-30 Darin Adler <darin at apple.com>
Reviewed by Dave.
diff --git a/JavaScriptCore/kjs/nodes.cpp b/JavaScriptCore/kjs/nodes.cpp
index c3327b2..7760dad 100644
--- a/JavaScriptCore/kjs/nodes.cpp
+++ b/JavaScriptCore/kjs/nodes.cpp
@@ -2798,7 +2798,8 @@ void FuncDeclNode::processFuncDecl(ExecState *exec)
// Value proto = exec->interpreter()->builtinObject().construct(exec,List::empty());
List empty;
- Value proto = exec->interpreter()->builtinObject().construct(exec,empty);
+ Object proto = exec->interpreter()->builtinObject().construct(exec,empty);
+ proto.put(exec, constructorPropertyName, func, ReadOnly|DontDelete|DontEnum);
func.put(exec, prototypePropertyName, proto, Internal|DontDelete);
int plen = 0;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list