Skip to content

V8 no longer resets the timezone cache upon invoking v8::Date::DateTimeConfigurationChangeNotification #19974

Closed
@jeroenvollenbrock

Description

@jeroenvollenbrock
  • Version: 8.9.4 (First impact at 7.0.0)
  • Platform: Linux 4.14.15-h1 deps: update openssl to 1.0.1j #1 SMP Wed Jan 31 15:49:06 UTC 2018 armv7l GNU/Linux
  • Subsystem: V8 Engine

Apparently one of the V8 updates after Node.js 4.8.4 6.12.2 caused the v8::Date::DateTimeConfigurationChangeNotification that is triggered by the reset-date-cache module of @evanlucas to not actually invalidate the timezone everywhere. I'm not completely sure if this is i18n related or if it fails to reach the v8::base::TimezoneCache::Clear stage. Issue has been first reported in the issue tracker of the module, but the cause seems to be in V8 itself instead after more debugging. I'm suspecting the upgrade to V8 5.0 or 6.0 5.4 to be the cause , as there are multiple chromium issues describing similar behaviour after these V8 Engine versions got landed, and a few of them required changes on the chromium side.
This issue can be easily reproduced by running the test code of the reset-date-cache module, might be a good candidate for CitGM as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions