[Bug 248338] www/firefox does not return whole number in javascript for getTimezoneOffset
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 29 01:29:48 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248338
Bug ID: 248338
Summary: www/firefox does not return whole number in javascript
for getTimezoneOffset
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: gecko at FreeBSD.org
Reporter: tech-lists at zyxst.net
Flags: maintainer-feedback?(gecko at FreeBSD.org)
Assignee: gecko at FreeBSD.org
Hi,
"new Date().getTimezoneOffset()" should return a whole number and because it
does not with firefox (any version) on freebsd12-stable or current, it will
break some functionality with sites that use this when creating a JSON that
gets sanitised before it's accepted by the site.
Tested from desktop installation with addons, firefox 79.0,1 built in 12-stable
r363045 via poudriere
Tested on vm installation freebsd-current r363183 firefox 79.0,1 from official
freebsd pkgsite
Tested as above this time with firefox-esr-68.11.0,1
steps to reproduce:
1. open a javascript console in firefox
2. enter "new Date().getTimezoneOffset()" without the quotes
3. ctrl+enter
4. result should be a whole number
5. result in firefox is -59.55
6. result with firefox-esr is the same as regular firefox
Same test with iridium from same machine gives -60 as expected. Timezone is
Europe/London.
Same test from firefox on linux mint 18.2 gives 0
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list