W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2011

[Bug 13981] Redundant checks for 0-9 when parsing integers

From: <bugzilla@jessica.w3.org>
Date: Wed, 31 Aug 2011 12:56:08 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QykKu-0004Cb-C3@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13981

--- Comment #1 from Philip Jägenstedt <philipj@opera.com> 2011-08-31 12:56:07 UTC ---
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#collect-a-webvtt-timestamp

At least step 9, 13.2 and 15 can be removed, as the number of characters
collected are checked directly after. (Step 4 is possible to rewrite as well,
but it's not redundant.)

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 31 August 2011 12:56:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:17 UTC