On Sun, Sep 12, 2010 at 12:33 PM, David Levin <[email protected]> wrote: > On Sat, Sep 11, 2010 at 11:07 PM, Adam Barth <[email protected]> wrote: >> Having fake versions of objects add complexity to all the code that >> expects to talk to real versions of those objects. For example, >> SVG-in-<img> creates a ton of fake objects and has been the source of >> a lot of bugs (including security bugs). It seems like having a >> notion of a networking context makes more sense than pretending shared >> workers are associated with a rectangular region of a screen >> somewhere. > > A clarification: > The "fake" frame only happens in Chromium. It is due to the fact that > workers are in a different process from the real frame. > In !chromium platforms, the real frame is used to send the request for both > dedicated and shared workers. (It is a bit unfortunate in the shared worker > case because closing that frame will kill the xhr request but the reasoning > has been that code should be resilient to xhr failures as they can happen > for a number of reasons.)
Once the Frame is gone, XHR stops functioning for the SharedWorker permanently? That sounds like a bug that should be fixed. Adam _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

