Re: [WebIDL] ToString( Null ) = null :: Ecma-262 r3

2008-05-27 Thread Garrett Smith
On Tue, May 27, 2008 at 3:38 PM, Jonas Sicking [EMAIL PROTECTED] wrote: Hey Jonas, Granted, this is partially due to a javascript spec bug, null really should have serialized to rather than null. The value null, when passed to ToString, converts to the string literal null. I don't agree

Re: [Bindings] 'new' behavior on interface objects

2008-03-19 Thread Garrett Smith
On Wed, Mar 19, 2008 at 9:12 AM, Jonas Sicking [EMAIL PROTECTED] wrote: Travis Leithead wrote: Since this spec is presumably creating a language binding for JavaScript, (and assuming interface objects are Functions, as seen by Opera), then why does: var div = new

Re: [Bindings] stringify

2007-12-30 Thread Garrett Smith
On Dec 30, 2007 5:49 PM, Cameron McCormack [EMAIL PROTECTED] wrote: Anne van Kesteren: Maybe the draft already says something about this, but I couldn't find it. I think it would be good if there was a way in the IDL to say what an object stringifies to. The Window object becomes [object

Re: Re: [whatwg] Progress Events done event

2007-09-15 Thread Garrett Smith
. What do others think? Cheers Chaals --- Forwarded message --- From: Garrett Smith [EMAIL PROTECTED] To: Křištof Želechovski [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [whatwg] Progress Events done event Date: Mon, 10 Sep 2007 23:33:20 +0200 On 8/27/07

Progress Events example

2007-09-15 Thread Garrett Smith
http://www.w3.org/TR/progress-events/#Using The example loads an image, and then subscribes to progress events: function showImage(imageHref) { var image = document.getElementById('myImage'); image.setAttributeNS(xlinkNS, href, imageHref);

Form Serialization Idea

2007-09-11 Thread Garrett Smith
I've started a document a while back. It's related to Robin's File and FileList proposal, taking it a step towards complete FORM serialization. Robin suggested I post my idea up here, so here goes... The problem: No standard, reliable way to get FORM data to an Ajax request. Proposal: interface

Fwd: Progress Events done event

2007-08-26 Thread Garrett Smith
I've noticed a case when developing Ajax apps that I often end up duplicating a call to hide loading.gif (for example) when the call is over. Progress Events http://dev.w3.org/cvsweb/~checkout~/2006/webapi/progress/Progress.html?rev=1.16content-type=text/html;%20charset=iso-8859-1#XHR Helps