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

[Bug 12912] Close status code is an unsigned short

From: <bugzilla@jessica.w3.org>
Date: Tue, 21 Jun 2011 22:40:35 +0000
To: public-webapps@w3.org
Message-Id: <E1QZ9cZ-00034d-Tr@jessica.w3.org>

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

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:20 UTC