bugzilla-daemon at freedesktop.org
2007-Nov-28 14:16 UTC
[Swfdec] [Bug 13424] New: Extends doesn't work correctly with objects that can be created without new
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.
Maybe Matching Threads
- Changes to 'refs/tags/0.5.3'
- 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object_as.h libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h
- 10 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_object.c test/trace
- 2 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.h test/trace
- 6 commits - libswfdec/swfdec_as_interpret.c test/trace
