Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure Win JSC can run complex.yaml tests
https://bugs.webkit.org/show_bug.cgi?id=255078 Reviewed by Yusuke Suzuki. Making this test suite work on Windows boils down to fixing two problems: 1. The tests which don't set env vars are passing an empty string, but in Ruby, this is appended to a list ($envVars), meaning that we end up trying to set a env var with key "". Use nil instead. 2. On Windows, TZ isn't a magic env var, so: a. Have jsc.cpp call setTimeZoneOverride instead. b. Skip temporal-now-timezone-with-broken-tz.js. (Obviously we could call setTimeZoneOverride with "UTC" if (a) fails, but it would serve no purpose, as this behavior has nothing to do with Temporal.) * JSTests/complex.yaml: * Source/JavaScriptCore/jsc.cpp: Canonical link: https://commits.webkit.org/262659@main
- Loading branch information