Issue metadata
Sign in to add a comment
|
[Missing Test]: Open chrome tab in OSX losses timezone information and defaults to UTC if any change to system timezone has been made |
||||||||||||||||||||
Issue descriptionAutomated tests for the below commit have been missing.Please add test coverage ASAP to avoid regressions in future. CL: ---- https://chromium.googlesource.com/chromium/src.git/+/950920975019ba6abcf23411924c29126582679a Ref Bug: --------- https://bugs.chromium.org/p/chromium/issues/detail?id=773532 Thank you...!!
,
Oct 18 2017
,
Oct 20 2017
What I don't know is how to change the OS timezone on macOS. Is it even possible to do that without 'root' access? If not, what would be a way to emulate the OS timezone changes?
,
Oct 20 2017
BTW, one browser test I mentioned elsewhere is to check that Intl.DateTimeFormat.resolvedOptions() does not have 'timeZone' field undefined. That alone would have caught bug 773532 and related bugs.
,
Oct 31 2017
> What I don't know is how to change the OS timezone on macOS. I meant that I don't know how to change it in a program (a browser test or whatever test I write). Setting the TZ environment variable is likely to change the timezone as detected by Chrome or its test program, but it would not test what was broken due to a recent change in macOS 10.13 (the location and the organization of zoneinfo and other tz related files and directories.)
,
Oct 31 2017
I'm not sure how to write this test for the same reason: how do we change the OS timezone on the fly in an unprivileged test? I don't think it can be done. |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by kerrnel@chromium.org
, Oct 18 2017Owner: js...@chromium.org