Re: [widgets] P&C Last Call comments, interoperability

On Mon, Jun 1, 2009 at 12:44 AM, Marcin Hanclik
<Marcin.Hanclik@access-company.com> wrote:
> 8.2
> For the sake of interoperability, extensions to the configuration document are NOT RECOMMENDED.
>
> 8.3
> User agents SHOULD impose their own implementation-specific limits on the values of otherwise unconstrained attribute types, e.g. to
> prevent denial of service attacks, to guard against running out of memory, or to work around platform-specific limitations.
>
> So what is actually said about interoperability?
> Extension to the configuration document is a similar interoperability issue as the implementation-specific limit is, IMHO.
>

No, they are different...

> Rules for limits or simply limits shall be specified to facilitate interoperability.

You can't dictate those rules in the spec because they are based on
the capability of the device. For example, there might be devices out
there that can handle a HTML canvas at size 32,000 x 32,000. You can't
go mandating in the spec that such values are not allowed because of
constraints and limitation of today's hardware and software. If the
implementation can handle really big things, then it should be free to
do so; if not, it can impose its own constraints so not to crash.

-- 
Marcos Caceres
http://datadriven.com.au

Received on Monday, 1 June 2009 14:32:03 UTC