mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 08:11:13 +00:00
ba1189cd1c
Attributes have a max value length of 1024. So we theoretically need to support values in the range -${"9".repeat(1023)} to ${"9".repeat(1024)}. These obviously do not fit in an i64, so we were previously failing to parse the attribute. We will now cap the parsed value to the numeric limits of an i64, after ensuring that the attribute value is indeed a number. |
||
---|---|---|
.. | ||
data | ||
expected | ||
input |