[whatwg] password option for window.prompt?

Ian Hickson ian at hixie.ch
Tue May 22 14:20:24 PDT 2007


On Tue, 22 May 2007, Kristof Zelechovski wrote:
>
> Problems with that:
> javascript URI scheme is not registered:
> <http://www.iana.org/assignments/uri-schemes.html>

It's in the process:

   http://ietfreport.isoc.org/idref/draft-hoehrmann-javascript-scheme/


> And finally, in the specification 5, where that behavior is described for
> the first time:
> <http://www.whatwg.org/specs/web-apps/current-work/#refsJSURI>:
> When a browsing context is navigated to a javascript: URI, and the active
> document of that browsing context has a different origin than the URI, the
> dereference context must be an empty object.
> Which is the case with bookmarklets.

Actually the spec explicitly handles bookmarklets (they have the origin 
of the Document to which they are applied -- actually the spec had an 
error in this section until just now, which I fixed).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list