fabric-engine/JSSceneGraph — Issue #166: PortScene: Chrome freezes if we issue synchronous http request in JS while a  resourceLoadNode receives data 
Author: jcgagnon
Created: 2012-02-17 19:26:55+00:00
State: open

This is kind of a known issue (we got that with ARL demos too), however here it's harder to fix. I need to discuss with Phil about the approach we should take.

A thought, from our conversation:

"I was thinking of somehow keep scene building and resource loading evaluation in separate "task" buckets in JS; the system would make sure that they are not happening at the same time. Not sure what it would imply but I'm pretty sure it would be feasable, mostly because we are completely in control of when the resource load node evaluate (by retaining the "setURL" for example), and when their "onSuccessCallbacks" are issued (those could be retained too until all resources are done).
[12:37:54 PM] Jérôme Couture-Gagnon: Maybe this would be very simple to do: retain all "onLoadSuccess" events until all resource load nodes are done. That might fix it, no?"