Hello,

I am encountering the following problem:

I am forced to use the iframe transport to make a cross domain
request. I cannot use the script transport because I need to send some
really long parameters (more than the limit browsers - and my server -
are willing to send for a GET). Since it is cross domain I also cannot
use XmlHttp thus I am using iframe.

Note that I am aware that since it is a cross browser request,
security concerns will prevent me from reading the result (content) of
the iframe, but I don't care. I am just sending a big request to the
server and don't worry at all about the response.

This works except on Chrome, where it fails on l. 271 of Iframe.js
because this.__form is undefined. I guess this is because of security
concerns (the code is trying to access something it does not have
access to). But what I dont understand at all is what the code is
supposed to do (so that I can patch it properly). The main thing I am
stuck on is:

      if (this.__form.src) {
        return;
      }


Why is this code there???? I have searched and there is no other
references at all to this.__form.src so what is this code checking? I
have noticed that when you add the iframe in Chrome, an onLoad event
is immediately fired so I guess this code prevents the callback from
actually marking the request as already completed... but I really need
more explanations to properly patch this.

Thanks for any help (if someone can reply quickly... I would be very
grateful as I need to patch this quite urgently in production ;)

-- 
Jean-Noël Rivasseau
Directeur
(1) 778 786 3460 / (33) 01 82 88 05 26
Kameleoon - morphing the web
http://www.kameleoon.com/

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to