Squeak Web applications

Bert Freudenberg bert at isgnw.CS.Uni-Magdeburg.De
Wed Apr 12 14:38:01 UTC 2000


On Wed, 12 Apr 2000, Robert Withers wrote:

> Bert Freudenberg wrote:
> > 
> > This is currently not working ... The image tries to read the .sts file
> > that Netscape downloaded (the document file). But Netscape placed that
> > file in it's own cache directory, and Squeak is not allowed to read from
> > there ... which means Squeak's File Sandbox works :-)
> 
> Ok, so you are saying that Squeak runs in its own process here and

Exactly. The plugin just executes the VM. It tells it in which window to
open Squeak. You can actually run Squeak in any X window if you give it
the "-browserWindow id" option, just find the window id with xwininfo ;-)

> doesn't have access to anything above ~/.netscape/squeak,

Yes, this is enforced in the file prims if the vm is run as a plugin. It's
a normal vm otherwise.

> however the plugin has access to Netscape et al and can pipe that doc
> over.  That's pretty neat.  Will squeak continue to run after you have
> left the squeaklet page?

Netscape unloads the plugin when you leave the page. It should kill the VM
then - if not, it's a bug.

  -Bert-





More information about the Squeak-dev mailing list