On Nov 5, 2010, at 12:08 PM, Kris Zyp wrote: > The prefetching is not performed by the default module loader provided > by the host?
No, it is. But that didn't seem to be the point, compared to the execution model. > Can't that default module loader be overriden? In the browser, *maybe*. I'll let Sam take this one, but obviously different embeddings have different trust models and constraints on loaders. > When you use a custom module loader why isn't arbitrary code executed when > the JS VM requests a module needed by the loading module? Yes, but all that racy prefetching happens *before* the script starts executing, and the modules are parsed but not run. The execution semantics remain sequential, apparently single-threaded. /be _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

