[Swfdec] [Bug 13424] New: Extends doesn't work correctly with objects that can be created without new
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Nov 28 06:16:24 PST 2007
http://bugs.freedesktop.org/show_bug.cgi?id=13424
Summary: Extends doesn't work correctly with objects that can be
created without new
Product: swfdec
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: library
AssignedTo: swfdec at lists.freedesktop.org
ReportedBy: pekka.lampila at iki.fi
QAContact: swfdec at lists.freedesktop.org
Extends action doesn't work correctly for objects that can be created without
the new keyword, like Date and Number.
Here is a test case:
Foo = function () {
trace (this);
super (1983, 11, 9);
trace (this);
};
asm {
push "Foo"
getvariable
push "Date"
getvariable
extends
};
var a = new Foo ();
trace (a);
loadMovie ("FSCommand:quit", "");
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.
More information about the Swfdec
mailing list