Some additions to Web Workers
Hi. It seems Mozilla extended the interface WorkerUtils in their implementation with the atob/btoa functions. I find them quite useful in that context, and would also encourage adding escape, unescape, encodeURI, decodeURI, encodeURIComponent, decodeURIComponent and many of the other global functions in the DOM environment which don't have any specific bindings to the DOM itself or manipulate documents, as that was a concern due to globals that are internally used by the DOM in some browsers. Thank you.
Re: Some additions to Web Workers
On Fri, 04 Mar 2011 01:47:35 +0100, João Eiras wrote: It seems Mozilla extended the interface WorkerUtils in their implementation with the atob/btoa functions. I find them quite useful in that context, and would also encourage adding escape, unescape, encodeURI, decodeURI, encodeURIComponent, decodeURIComponent and many of the other global functions in the DOM environment which don't have any specific bindings to the DOM itself or manipulate documents, as that was a concern due to globals that are internally used by the DOM in some browsers. I thought encodeURI and such were part of ECMAScript instead. (Not sure whether that matters much though.) -- Anne van Kesteren http://annevankesteren.nl/
Re: Some additions to Web Workers
On Fri, 4 Mar 2011, João Eiras wrote: > > It seems Mozilla extended the interface WorkerUtils in their > implementation with the atob/btoa functions. I've done the same in the spec now. > I find them quite useful in that context, and would also encourage > adding escape, unescape, encodeURI, decodeURI, encodeURIComponent, > decodeURIComponent and many of the other global functions in the DOM > environment which don't have any specific bindings to the DOM itself or > manipulate documents, as that was a concern due to globals that are > internally used by the DOM in some browsers. These should already be there as they are defined by ECMAScript itself. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'