- From: <bugzilla@jessica.w3.org>
- Date: Tue, 21 Jun 2011 22:40:35 +0000
- To: public-webapps@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12912
Ian 'Hixie' Hickson <ian@hixie.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |cam@mcc.id.au, ian@hixie.ch
Resolution| |NEEDSINFO
--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-06-21 22:40:35 UTC ---
Why should 65535 throw INVALID_ACCESS_ERR but 66535 send the code 1000? I guess
one could ask the same of why 4294967295 should throw INVALID_ACCESS_ERR when
4294968295 sends the code 1000... Maybe the solution is to add [Clamp] to the
interface.
I've changed it to 'unsigned short' with [Clamp].
cc'ing heycam for sanity check.
(Note that this makes the CloseEvent interface less useful, since anyone
reusing it now is limited to 2**16 codes instead of 2**32, but I guess that's
not a big deal.)
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 21 June 2011 22:40:37 UTC