[e-lang] Initial draft Caja design docs & library now available
Ben Laurie
benl at google.com
Fri Oct 12 01:39:28 EDT 2007
On 10/12/07, bryan rasmussen <rasmussen.bryan at gmail.com> wrote:
> Is it specified somewhere how a web application decides to load a CAJA script?
> is it just something like doing a get with a querystring
> Caja=http://mycajascripts.org/caja10000.js
> ?
>
> The scenario I have in mind right now is using CAJA in a firefox
> extension, a la Greasemonkey, only when the page loads scripts
> identified as Caja via link element could be loaded in by the
> extension. Is this something like what you were thinking?
The initial version of Caja is server-side (there may be client-side
versions later), so to do what you want, you'd have to bounce the Caja
code into a server that compiled it for you and sent it back, before
you ran it.
Shouldn't be too hard to do, though, if someone is prepared to deploy
a server that can take the load.
>
>
> Cheers,
> Bryan Rasmussen
>
> On 10/12/07, bryan rasmussen <rasmussen.bryan at gmail.com> wrote:
> > How untested is this? Do you mean untested for security purposes or
> > untested in any browser?
> >
> >
> >
> > On 10/12/07, Mark Miller <erights at gmail.com> wrote:
> > > Caja is hereby open source under the Apache license 2.0.
> > >
> > > The Caja development site is at
> > > http://code.google.com/p/google-caja/
> > >
> > > The initial draft design doc is at
> > > http://google-caja.googlecode.com/files/caja-spec-2007-10-11.pdf
> > > At the moment, much of the substance appears only in the tables in the
> > > back, sorry.
> > >
> > > The untested first stab at a Caja runtime library that corresponds to
> > > this spec is at
> > > http://google-caja.googlecode.com/svn/trunk/src/js/com/google/caja/caja.js
> > >
> > > Feedback appreciated!
> > >
> > > --
> > > Text by me above is hereby placed in the public domain
> > >
> > > Cheers,
> > > --MarkM
> > > _______________________________________________
> > > e-lang mailing list
> > > e-lang at mail.eros-os.org
> > > http://www.eros-os.org/mailman/listinfo/e-lang
> > >
> >
> _______________________________________________
> e-lang mailing list
> e-lang at mail.eros-os.org
> http://www.eros-os.org/mailman/listinfo/e-lang
>
More information about the e-lang
mailing list