Hi, Ian.
I'm sorry for delay of replying and thanks for your post very much.
Here you want to put the preventDefault() after the for() loop, so that it
cancels the event only if the type was not found.
Mmm, it seems my mistake about understanding the specification...
For the example of
Web Workers has the following in some example (twice):
// support being used as a shared worker as well as a dedicated worker
if (this.onmessage) // dedicated worker
This ought to be doing something like (typeof this.onmessage !=
'undefined') , as the event property is presumably
On Mon, 26 Oct 2009 13:57:10 +0100, Simon Pieters sim...@opera.com wrote:
Web Workers has the following in some example (twice):
// support being used as a shared worker as well as a dedicated worker
if (this.onmessage) // dedicated worker
This ought to be doing something like (typeof
FWIW, I've usually looked at self.postMessage when trying to determine
whether running in dedicated or shared worker context, although Anne's
suggestion (using in) is better.
-atw
On Mon, Oct 26, 2009 at 7:00 AM, Anne van Kesteren ann...@opera.com wrote:
On Mon, 26 Oct 2009 13:57:10 +0100,
The spec says:
When the |setItem()
http://dev.w3.org/html5/webstorage/#dom-storage-setitem|,
|removeItem()
http://dev.w3.org/html5/webstorage/#dom-storage-removeitem|, and
|clear() http://dev.w3.org/html5/webstorage/#dom-storage-clear|
methods are called on a |Storage
On Mon, Oct 26, 2009 at 4:06 PM, Honza Bambas hon...@allpeers.com wrote:
The spec says:
When the setItem(), removeItem(), and clear() methods are called on a
Storage object x that is associated with a session storage area, if the
methods did something, then in every HTMLDocument object whose
On Sun, 25 Oct 2009, Avi Flax wrote:
Just one thing struck me as odd: calling send(data) on a WebSocket
whose readyState is CONNECTING raises an INVALID_STATE_ERR exception,
but calling send(data) on a WebSocket whose readyState is CLOSED does
not raise an exception; it merely returns