On Tue, Sep 8, 2009 at 12:17, panyasan <[email protected]> wrote:
>
> Ok, you're right, the google request of course cannot work. New try with a
> same-domain request
>
> 1) Error outside the event handler
> http://demo.qooxdoo.org/devel/playground
>
> var request = new
> qx.io.remote.Request("http://demo.qooxdoo.org/devel/playground/");
> request.addListener("completed",function(response){
> this.info("Done!");
> });
> request.send();
> thisWillThrowAnError();
>
> Firebug:
> 100697 playground.Application[94]: Starte Anwendung' ...playground.js
> (Zeile
> 13627)
> GET http://demo.qooxdoo.org/devel/playground/?nocache=1252426328229
> GET http://demo.qooxdoo.org/devel/playground/?nocache=1252426328229
> 200 OK
> 64ms playground.js (Zeile 13941)
> 100795 qx.io.remote.Request[fo]: Done! playground.js (Zeile 13627)
> 103334 playground.Application[f]: ReferenceError: thisWillThrowAnError is
> not defined
>
> 2) Error inside the event handler
>
> var request = new
> qx.io.remote.Request("http://demo.qooxdoo.org/devel/playground/");
> request.addListener("completed",function(response){
> this.info("Done!");
> thisWillThrowAnError();
> });
> request.send();
>
> 205186 playground.Application[94]: Anwendung gestartet playground.js (Zeile
> 13627)
> 205249 qx.io.remote.Request[g9]: Done! playground.js (Zeile 13627)
> 210008 qx.io.remote.RequestQueue[99]: Timeout: transport g7playground.js
> (Zeile 13627)
> 210012 qx.io.remote.RequestQueue[99]: 5017ms > 5000msplayground.js (Zeile
> 13627)
> 210015 qx.io.remote.Exchange[g7]: Timeout: implementation g8playground.js
> (Zeile 13627)
> 210508 qx.io.remote.RequestQueue[99]: Timeout: transport gbplayground.js
> (Zeile 13627)
> 210511 qx.io.remote.RequestQueue[99]: 5338ms > 5000msplayground.js (Zeile
> 13627)
> 210533 qx.io.remote.Exchange[gb]: Timeout: implementation gcplayground.js
> (Zeile 13627)
>
> Ok, this is not the newest trunk, so the timeout is still there. But you
> can
> see that the info message is logged to firebug, but, unlike 1), no error
> message "ReferenceError: thisWillThrowAnError is not defined".
>
> That's what, at least in my configuration (FF 3.5.2 on Mac OS 10.5) is
> causing the problem - no exception is thrown to indicate the error.
>
I don't know what else to tell you. For you it doesn't display the "is not
defined" error; for me it does. The only other thing I can think of is for
you to try putting a breakpoint at the errant line to see if it even gets
there or for some reason skips it. I'm otherwise out of ideas.
Derrell
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel