- From: Chris Dumez <web-platform-tests-notifications@w3.org>
- Date: Wed, 26 Apr 2017 21:47:25 GMT
- To: public-web-platform-tests-notifications@w3.org
When parsing an HTML integer (following https://html.spec.whatwg.org/#rules-for-parsing-integers), if the parsed integer overflows an int variable, we throw an error in webKit. This is why we get the default value of 1 here, before we get a chance to clamp it. Are you guys using a larger type than int when parsing HTML integers in Gecko? And then only later clamping it to the range of an IDL long / unsigned long? View on GitHub: https://github.com/w3c/web-platform-tests/pull/5707#issuecomment-297551058
Received on Wednesday, 26 April 2017 21:47:37 UTC