No, the prob is that the stubs are only loaded if debugging is off.

I have a fix I am checking in...

On 2008-04-14, at 20:50 EDT, Henry Minsky wrote:
Hm, I left some "trace" calls in the canvas code, but I made an alias in
debugger/stubs.lzs to define trace as

// To catch swf9 'trace()' calls
trace = function () { console.info.apply(console,arguments);}


But I  forgot to recompile all the LFC's before running lztest :-(

I guess console is not defined in the rhino runtime :-(





On Mon, Apr 14, 2008 at 8:02 PM, P T Withington <[EMAIL PROTECTED]> wrote:

lztest:
   [exec] Entering runlztest.sh with
LPS_HOME=/Users/ptw/OpenLaszlo/ringding tags=smoketest
[exec] skipping test/lztest/lztest-textstyle.lzx, does not match tags
smoketest
   [exec]   covers-tags: lzview smoketest
   [exec] testing test/lztest/lztest-align.lzx...........
   [exec] Compiling: test/lztest/lztest-align.lzx to
test/lztest/lztest-align.js
[exec] making canvas sprite 毇攀爀渀攀氀⼀搀栀琀洀氀 ⼀䰀稀匀瀀爀椀琀攀⸀樀猀⌀㄀㐀⼀㄀㘀⌀㄀⌀
簀 嬀漀戀樀攀挀琀 伀戀樀攀挀琀崀저

[exec] js: "lps/includes/lfc/LFCdhtml-debug.js", line 11151: uncaught
JavaScript runtime exception: ReferenceError: "trace" is not defined.
   [exec] FAILED a test in runlztest.sh: test/lztest/lztest-align.lzx
   [exec] ERRORS in tests: 0,test/lztest/lztest-align.lzx

[not sure where the Chinese is coming from, but this:

[exec] js: "lps/includes/lfc/LFCdhtml-debug.js", line 11151: uncaught
JavaScript runtime exception: ReferenceError: "trace" is not defined.


looks suspicious...




--
Henry Minsky
Software Architect
[EMAIL PROTECTED]


Reply via email to