philipj at opera.com
Tue Nov 30 01:35:18 PST 2010
On Mon, 29 Nov 2010 16:36:32 +0100, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 11/25/10 9:10 AM, Philip Jägenstedt wrote:
>> Based on this, unless there are corner-cases I've missed, it seems
>> unlikely that there's a large body of web content that depends on inline
>> be the simplest to implement and the fastest way to reach
>> in more contexts, which, even if sandboxed, doesn't seem particularly
URL execution. That's one reason why it's easier to just not run them at
> execute the script in Firefox. Do they in Opera?
Neither of these execute in Opera, both were explicitly blocked before I
started looking into the issue. Note that I can't get <applet
special value for "something" or the Java plugin must be installed?
>> I'll keep you posted if there are any compatibility issues that come up
>> with this. Assuming (boldly) there is not, would there be support from
>> other browsers to move in this direction and change the spec to match?
>> (It seems that IE and WebKit are already basically already doing what
>> I'm advocating.)
> <https://bugzilla.mozilla.org/show_bug.cgi?id=300263>. I could probably
> be convinced to either run it in a sandbox or not run altogether, though
> I would strongly prefer the sandbox approach....
Thanks for that pointer. For those who don't want to dig, it was about
generating a SVG document for <object data="">. The demo
break if you start sandboxing the execution as per spec, as it refers to
eg_svg from the outer environment. It also doesn't currently work in
don't use the return value as the document. Since it also won't work in IE
or WebKit, it seems unlikely that there's much content depending on this.
useless. You can only use them where the content is text, and the script
has to be completely self-confined. Using data: URLs will allow you to
generate the data in the outer environment, and it's possible to generate
For reference here's the same demo done with a data: URL instead:
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/721 Unlike the
all browsers that support SVG in <object> and data: URLs.
So far, it seems that the fastest way to reach compat between browsers is
More information about the whatwg