haikuwebkit/JSTests/complex
Yusuke Suzuki 63eaf3f49f [JSC] Harden defaultTimeZone retrieval
https://bugs.webkit.org/show_bug.cgi?id=227996
JSTests:

Reviewed by Mark Lam.

* complex.yaml:
* complex/intl-timezone-check.js: Added.
(shouldBe):

Source/JavaScriptCore:

rdar://80540300

Reviewed by Mark Lam.

We received the report that "UTC" can appear in Intl.DateTimeFormat's default timezone.
While we cannot reproduce it, this patch attempts to avoid using TimeZone from UCalendar
so that the code gets the same to the old defaultTimeZone implementation.

* runtime/JSDateMath.cpp:
(JSC::DateCache::defaultTimeZone):
(JSC::DateCache::timeZoneCacheSlow):

Canonical link: https://commits.webkit.org/239705@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@279962 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-07-15 20:44:57 +00:00
..
date-parse-milliseconds.js Date.parse returns non-integral time value 2021-01-31 20:48:01 +00:00
generator-regeneration-after.js
generator-regeneration.js
intl-timezone-check.js [JSC] Harden defaultTimeZone retrieval 2021-07-15 20:44:57 +00:00
tagged-template-regeneration-after.js
tagged-template-regeneration.js
timezone-offset-and-dst-in-warsaw.js Unreviewed, reverting r270860. 2020-12-15 21:38:51 +00:00
timezone-offset-apia.js
timezone-offset-before-america-los-angeles-is-defined.js Unreviewed, reverting r270860. 2020-12-15 21:38:51 +00:00
timezone-range-cache-with-dst.js Unreviewed, reverting r270860. 2020-12-15 21:38:51 +00:00