[Laszlo-dev] this lztest test is failing in swf8

Henry Minsky henry.minsky at gmail.com
Thu Dec 10 19:29:53 PST 2009


    // TODO: [2005-11-02 ptw] (Flash 8) Fails in Flash 8.24
      var flashVersion = lz.Browser.getVersion();
      if ((! flashVersion) || flashVersion < 8 || flashVersion > 10) {
          LzTestManager.assertNotSame(NaN, NaN, "NaN !== NaN");
      }

In a SWF8 app (running in the Flash 10 player),   NaN === NaN is in fact
true. If you compile the
app for SWF10, NaN !== NaN.

I guess looking at lz.Browser.getVersion() is not the right thing, mebbe
this should look for $runtime == "swf8"
for this special case?

-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20091210/73c44b1a/attachment.html


More information about the Laszlo-dev mailing list