1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone
Linus Groh 027e4bd439 LibJS: Fix calculation overflow in parse_temporal_time_zone_string()
As all variables and numeric literals in the expression have an integral
data type, it would evaluate to an int and could easily overflow as
we're multiplying seconds with 10^9.

Introduce a floating point literal into the expression to make it result
in a double.
2022-01-12 21:24:12 +01:00
..
TimeZone.from.js LibJS: Fix calculation overflow in parse_temporal_time_zone_string() 2022-01-12 21:24:12 +01:00
TimeZone.js LibJS: Support non-UTC time zones in Temporal :^) 2022-01-11 22:17:39 +01:00
TimeZone.prototype.@@toStringTag.js LibJS: Implement Temporal.TimeZone.prototype[@@toStringTag] 2021-07-08 23:08:27 +01:00
TimeZone.prototype.getInstantFor.js LibJS: Implement Temporal.TimeZone.prototype.getInstantFor() 2021-11-01 21:39:45 +01:00
TimeZone.prototype.getNextTransition.js LibJS: Implement Temporal.TimeZone.prototype.getNextTransition() 2021-10-30 16:32:20 +02:00
TimeZone.prototype.getOffsetNanosecondsFor.js LibJS: Actually implement get_iana_time_zone_offset_nanoseconds() 2022-01-11 22:17:39 +01:00
TimeZone.prototype.getOffsetStringFor.js LibJS: Actually implement get_iana_time_zone_offset_nanoseconds() 2022-01-11 22:17:39 +01:00
TimeZone.prototype.getPlainDateTimeFor.js LibJS: Only allow TimeZone this value in TimeZone#getPlainDateTimeFor 2021-12-19 00:13:01 +00:00
TimeZone.prototype.getPossibleInstantsFor.js LibJS: Implement Temporal.TimeZone.prototype.getPossibleInstantsFor() 2021-10-30 16:32:20 +02:00
TimeZone.prototype.getPreviousTransition.js LibJS: Implement Temporal.TimeZone.prototype.getPreviousTransition() 2021-10-30 16:32:20 +02:00
TimeZone.prototype.id.js LibJS: Only allow TimeZone this value in Temporal.TimeZone#id 2021-12-19 00:13:01 +00:00
TimeZone.prototype.toJSON.js LibJS: Only allow TimeZone this value in Temporal.TimeZone#toJSON 2021-12-19 00:13:01 +00:00
TimeZone.prototype.toString.js LibJS: Support non-UTC time zones in Temporal :^) 2022-01-11 22:17:39 +01:00