[Laszlo-dev] lztest broken: lztest-node-initsequence
henry.minsky at gmail.com
Wed Jan 24 08:06:09 PST 2007
self = global;
to the rhino.js file seems to fix this bug. I am not sure why though. What
is "self"? It is bound to the object that
global is bound to in Firefox DHTML, so I figured I would try it in rhino,
and that worked, but I'm still confused as
to who is calling the LzScreenKernel hooks in the first place.
On 1/24/07, Henry Minsky <henry.minsky at gmail.com> wrote:
> Forgot to add more info:
> The bug Ben reported was from the "ant lztest" run, when it got to the
> test in test/lztest/lztest-node-initsequence.lzx
> I am not sure why this is the only test that triggered this call to the
> LzScreenKernel, except that that test is the only one which is run which
> explicitly defines some methods and properties on canvas and calls them.
> Maybe that is triggering a call to the LzScreenKernel callbacks in the rhino
> DOM model we are using?
> On 1/24/07, Henry Minsky <henry.minsky at gmail.com> wrote:
> > Max, this seems to be coming from a call to LzScreenKernel
> > .__resizeEvent.
> > The LFC that gets used for lztest (in the rhino test harness) is the
> > DHTML-debug.js kernel, so it appears that
> > something is calling the LzScreenKernel hooks someplace, but I can't
> > figure out where that would be.
> > ---------- Forwarded message ----------
> > From: Benjamin Shine < ben at laszlosystems.com>
> > Date: Jan 23, 2007 1:28 PM
> > Subject: lztest broken: lztest-node-initsequence
> > To: Henry Minsky <henry.minsky at gmail.com>
> > Cc: OpenLaszlo development and bug reporting < laszlo-dev at openlaszlo.org
> > >
> > Ugh!
> > lztest is failing, but the build is succeeding; this is not how
> > things should be.
> > I'll work on making the build fail; Henry, can you take a look at
> > this? It is related to LPP-3261, which you fixed.
> > http://www.openlaszlo.org/jira/browse/LPP-3464
> > [exec] testing test/lztest/lztest-node-
> > initsequence.lzx ..............
> > [exec] checking test/lztest/lztest- node-initsequence.lzx for
> > coverage of tags smoketest...
> > [exec] grep .*covers-tags.*\(smoketest\) test/lztest/lztest-
> > node-initsequence.lzx
> > [exec] covers-tags : lznode smoketest
> > [exec] DEBUG: Source warnings enabled
> > [exec] WARNING: testing:0: Test source warning
> > [exec] DEBUG: LzNode.__LZhenryWasRight = true
> > [exec] js: "lps/includes/lfc/LFCdhtml-debug.js", line 6476:
> > defined.
> > [exec] js: "tmp/test_lztest_lztest-node-initsequence.js", line
> > "LzTestManager" is not defined.
> > [exec] FAILED a test in runlztest.sh
> > Buildfile: build.xml
> > Benjamin Shine
> > Software Engineer, Open Laszlo / Laszlo Systems
> > ben at laszlosystems.com
> > --
> > Henry Minsky
> > Software Architect
> > hminsky at laszlosystems.com
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Laszlo-dev