[Bug 20510] send(sequence<short> data) should just be send(any data)

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20510

--- Comment #7 from Marcos Caceres <w3c@marcosc.com> ---
(In reply to comment #6)
> I still don't see why this is a benefit (allowing "any").  This seems like
> being overly permissive (no checks), but there's one narrow "magic correct"
> version (an array of something that's actually numbers) that will actually
> work.  The others are just degenerate non-functional oddities.
> 
> Also - then I presume
> 
> .send( 0xf8 )
> 
> would actually work. 

No, you just get an array with 240 zeros in it :) 

> (Sends a Timing Clock message "tick".)  that seems to
> me like it will continually re-open the question of "why doesn't send( 0x90,
> 0x40, 0x7f ) work again?"

Ok, then lets just go with the sequence:

sequence<octet> data

And let WebIDL do its magic on each item of the array:
http://www.w3.org/TR/WebIDL/#es-octet

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 26 December 2012 17:38:11 UTC