On Wed, Apr 17, 2013 at 8:44 AM, Filipe Pinheiro <
[email protected]> wrote:

> 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')
> });
>
> Looks good to me!

> I get took 1664ms on desktop browser but took 25454ms.
>
Hm. :( Yeah I have no idea, especially if you get such wildly different
results with the exact same code on different browsers. Have you tried
looking at the "Network" tab for the slow browser to see whether there may
be XHRs that are taking a long time?

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.


Reply via email to