gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [bug #32602] FAIL: run_swfdec_testsuite_r: registerclass-


From: Sandro Santilli
Subject: [Gnash-commit] [bug #32602] FAIL: run_swfdec_testsuite_r: registerclass-previous.swf on hurd
Date: Sat, 30 Jul 2011 15:14:05 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110628 Ubuntu/10.04 (lucid) Firefox/3.6.18

Follow-up Comment #2, bug #32602 (project gnash):

What's time-related about that test ? I can't tell from sourcecode:

  movie = newSWFMovie();
  SWFMovie_setRate (movie, 1);
  SWFMovie_setDimension (movie, 200, 150);

  clip = newSWFMovieClip ();
  SWFMovie_addExport (movie, (SWFBlock) clip, "export");
  item = SWFMovie_add (movie, (SWFBlock) clip);
  SWFDisplayItem_setName (item, "m");
  SWFMovie_add (movie, (SWFBlock) compileSWFActionCode (""
      "trace ("Check that registerClass does not influence previously created
instances");"
      "fun = function () {"
      "  trace (this + ": Constructor");"
      "};"
      "fun.prototype = new Object ();"
      "fun.prototype.foo = function () {"
      "  trace ("foo called on " + this);"
      "};"
      "Object.registerClass ("export", fun);"
      "m.foo ();"
      ""));
  SWFMovie_nextFrame (movie);

  item = SWFMovie_add (movie, (SWFBlock) clip);
  SWFDisplayItem_setName (item, "m2");
  SWFMovie_add (movie, (SWFBlock) compileSWFActionCode (""
      "m.foo ();"
      "m2.foo ();"
      "stop ();"
      ""));

  SWFMovie_save (movie, "registerclass-previous.swf");


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32602>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]