Re: Allow javascript: URIs for registerProtocolHandler

On Tue, Sep 17, 2013 at 6:09 AM, piranna@gmail.com <piranna@gmail.com> wrote:
> When using registerProtocolHandler method to register a custom
> protocol, according to the spec it is required that the uri parameter
> allow to do a GET operation or their equivalent (so maybe it would be
> used with ftp instead of http URIs, for example). I have done some
> tests setting this custom protocol on an <img> tag and it seems to
> works (at least on Chrome v28).

Really? I thought registerProtocolHandler() was only a hook for
navigation. As an aside, the plan of record is to limit javascript
URLs to navigation.


-- 
http://annevankesteren.nl/

Received on Tuesday, 17 September 2013 16:25:30 UTC