[sldev] [VWR] What about Dillo

SL - Farallon Greyskin sl at phoca.com
Tue Nov 6 20:05:21 PST 2007


Well maybe. It would require some things to be done.

1) What is the load for starting up gecko for rendiering a page? Probably 
much more than a sinple renderer would be. Maybe it would work, maybe it 
would be WAY too slow.

2) Opening up SL as an infection vector thought an embedded and therefore 
generally non-securable browser is not really a good idea. No.. it's 
actually a TRERRIBLE idea (And yes it's already been impleented in profiles, 
but at least you can (and should) turn that off.

#2 can be over come by doing a BIG scrubbing on the incoming HTML. I have 
used this trick myself using IE as an embedded Rich Text viewer. All 
untrusted sources get scrubbed MERCELOUSLY. You can then at least reduce the 
risk down to involving the jpeg libary which we already have...

Using gecko/mozilla to do what we really really need right now is sort like 
trying to hunt ducks with a howitzer. If LL can solve the above two problems 
then maybe it'll work, otherwise maybe a simpler and safer approach might be 
better.

Farallon

----- Original Message ----- 
From: "Robin Cornelius" <robin.cornelius at gmail.com>
To: "SL - Farallon Greyskin" <sl at phoca.com>
Cc: "Second Life Developer Mailing List" <sldev at lists.secondlife.com>
Sent: Tuesday, November 06, 2007 10:51 AM
Subject: Re: [sldev] [VWR] What about Dillo

Well we have everything we need to do this now, i know llmozlib is a
little heavy but its there now and it works. Could even run it with out
javascript etc.

it should (in principle) easy to just grab a page and then get a texture
from that page that can be rendered directly on the prim. Screw mouse
interaction and clicking, hyperlinks etc lets just get images of web
pages rendering to start with, it can be built on later if desired.

Looking at the ubrowser code it already shows us how to grab a page and
access the image, its even rendered on to a GL surface.

I would quite like to try this, perhaps using the description field of
the prim as the web address, eg if it starts http:// then send a request
to mozlib BUT i just can't see how to put all the peices together as I
am not familiar enough with openGL and the inner workings of the viewer.

I presume that we actually need another prim flag to say web texture as
i assume the description field is fetched on demand rather than streamed.

But the point is the tools are there they just need using.

Robin





More information about the SLDev mailing list