One thing to keep in mind is that Caja doesn't officially support mobile browsers because they (so far) tend to have many more uncorrectable bugs than the desktop versions.
On Wed, Apr 17, 2013 at 9:44 AM, Filipe Pinheiro <[email protected]> wrote: > Thank you ;) > > The time that took doesn't change a lot :( > I use this to load the external url. > > var start = new Date().getTime(); > caja.initialize({cajaServer: 'http://<domain>/',es5Mode: false}); > caja.load(document.getElementById('widget'),undefined,function(frame) { > frame.code('http://<domain>/malicious.html', 'text/html').run(); > var end = new Date().getTime(); > console.log('took ' + (end - start) + 'ms') > }); > > I get took 1664ms on desktop browser but took 25454ms. > Do you see any reason on the top of your head. I'm going deeper. > > Thanks, > Filipe Pinheiro > > On Wednesday, April 17, 2013 4:26:02 PM UTC+1, Ihab Awad wrote: >> >> Hi Filipe, >> >> I'm glad to hear you're using Caja! Good luck on your project! >> >> You can do: >> >> caja.initialize({ >> ... >> es5Mode: false >> }); >> >> which will tell Caja to use ES5/3 without checking first whether ES5 is >> available. >> >> Let us know how it goes! Kind regards, >> >> Ihab >> >> -- >> Ihab A.B. Awad, Palo Alto, CA > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Google Caja Discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Mike Stay - [email protected] http://www.cs.auckland.ac.nz/~mike http://reperiendi.wordpress.com -- --- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
