Re: [whatwg] Overriding functions in DOM Storage

2009-06-21 Thread Cameron McCormack
Jeremy Orlow: What is the behavior of the following supposed to be? window.sessionStorage.removeItem = function(x) { alert(Wait, this works?); }; window.sessionStorage.removeItem('blah'); alert(typeof window.sessionStorage.removeItem); Maciej Stachowiak: DOM methods are normally

Re: [whatwg] Overriding functions in DOM Storage

2009-06-21 Thread Cameron McCormack
Cameron McCormack: Another edge case: … // Just a normal property deletion... delete Storage.prototype.removeItem; Actually I just realised that this won’t work, since properties that correspond to operations are DontDelete. But this and the other example can still demonstrate when

Re: [whatwg] whatwg Digest, Vol 63, Issue 82

2009-06-21 Thread sven
Vielen Dank für Ihre Nachricht. Ich bin bis zum 28.6. abwesend und kann Ihre E-Mail ab dann wieder bearbeiten. Freundliche Grüsse Sven Jenzer