~ubuntu-branches/ubuntu/karmic/swfdec0.6/karmic

« back to all changes in this revision

Viewing changes to test/trace/crash-0.6.6-prototype-recursion.as

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Garcia Mantinan
  • Date: 2008-07-29 23:30:05 UTC
  • mfrom: (1.1.3 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080729233005-k05tu7pnfyb8vcog
Tags: 0.6.8-1
* New upstream version. Fixes several crashes.
* Setting urgency as high to try to get all these fixes to lenny.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// makeswf -v 7 -r 15 -o crash-0.6.6-prototype-recursion.swf crash-0.6.6-prototype-recursion.as
 
2
 
 
3
trace ("Crash in certain case when prototype recursion limit is exceeded");
 
4
 
 
5
function get () { return "hello"; };
 
6
function set () { };
 
7
 
 
8
var a = {};
 
9
a.__proto__.__proto__ = {};
 
10
a.__proto__.__proto__.addProperty ("test", get, set);
 
11
a.test = "hello2";