W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2009

Re: [webidl] DOMString

From: Cameron McCormack <cam@mcc.id.au>
Date: Sat, 20 Jun 2009 15:04:15 +1000
To: Oliver Hunt <oliver@apple.com>
Cc: WebApps WG <public-webapps@w3.org>
Message-ID: <20090620050414.GA12356@arc.mcc.id.au>
Hi Oliver.

Oliver Hunt:
> Conceivably the language could be a relatively simple and broad  
> statement along the lines of:
> "Any type conversions needed for a language binding should occur before 
> an API function is called, if a type conversion fails for any reason the 
> call should be aborted"
> However this doesn't address the issue of callbacks that throw  
> exceptions, or returns incorrect types leading to an exception on type  
> conversion, etc, etc

I’ve added wording to cover this, but without using RFC 2119 language;
the spec doesn’t define a conformance class for language bindings.


The ECMAScript binding as currently written should follow these
guidelines already.  I’ve yet to add a section in the Java binding on
how “host objects” should deal with “user implemented objects”.

Cameron McCormack ≝ http://mcc.id.au/
Received on Saturday, 20 June 2009 05:05:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:12:54 UTC