From 0eb0c9b388a17fbadd9f74a15effe7477695d5e6 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Mon, 24 Aug 2020 07:57:26 +0100 Subject: fix corner case in `evaluate` (#4068) fixes #4067 --- test/compress/evaluate.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'test') diff --git a/test/compress/evaluate.js b/test/compress/evaluate.js index b5b74ac0..9f97ba99 100644 --- a/test/compress/evaluate.js +++ b/test/compress/evaluate.js @@ -2869,3 +2869,28 @@ issue_4035: { "true", ] } + +issue_4067: { + options = { + evaluate: true, + reduce_vars: true, + unsafe: true, + } + input: { + (function(a) { + (function(b) { + b[0] += 0; + console.log(+a); + })(a); + })([]); + } + expect: { + (function(a) { + (function(b) { + b[0] += 0; + console.log(+a); + })(a); + })([]); + } + expect_stdout: "NaN" +} -- cgit v1.2.3 stomized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/webkit.scm
AgeCommit message (Expand)Author
2022-02-24gnu: webkitgtk: Adjust BubbleWrap wrapper....This revisits <https://issues.guix.gnu.org/40837> with a fix that doesn't require to have PULSE_CLIENTCONFIG point to an absolute store location, which will allow us to revert to have PULSE_CLIENTCONFIG point to a fixed location under /etc. This would alleviate the need to reboot to have changes to the PulseAudio configuration effected. * gnu/packages/patches/webkitgtk-share-store.patch: Delete file. * gnu/packages/patches/webkitgtk-bubblewrap-paths.patch: Add file. * gnu/packages/patches/webkitgtk-canonicalize-paths.patch: Likewise. * gnu/local.mk (dist_patch_DATA): Update patches list. * gnu/packages/webkit.scm (webkitgtk)[patches]: Adjust accordingly. Maxim Cournoyer
2022-02-18gnu: WebKitGTK: Update to 2.34.6 [Fixes CVE-2022-22620]....* gnu/packages/webkit.scm (webkitgtk): Update to 2.34.6. Leo Famulari
2022-02-13gnu: WebKitGTK: Update to 2.34.5 [security fixes]....Fixes CVE-2022-22589, CVE-2022-22590, CVE-2022-22592: https://webkitgtk.org/security/WSA-2022-0002.html * gnu/packages/webkit.scm (webkitgtk): Update to 2.34.5. Leo Famulari
2022-01-29gnu: wpewebkit: Update to 2.34.3 [security fixes]....This update fixes all the security issues fixed upstream between versions 2.30.5 and 2.34.3: https://webkitgtk.org/news.html * gnu/packages/webkit.scm (wpewebkit): Update to 2.34.3. [#:phases]: Add ‘patch-cmake’ phase to fix an error in the install directories of the documentation. [inputs]: Add lcms. Liliana Marie Prikler
2022-01-29gnu: wpebackend-fdo: Update to 1.12.0....* gnu/packages/webkit.scm (wpebackend-fdo): Update to 1.12.0. [build-system]: Use meson-build-system. [inputs]: Add libepoxy. Liliana Marie Prikler
2022-01-29gnu: libwpe: Update to 1.12.0....* gnu/packages/webkit.scm (libwpe): Update to 1.12.0. [build-system]: Use meson-build-system. Liliana Marie Prikler
2022-01-29gnu: WPE WebKit: Set the Common Platform Enumeration (CPE) name....* gnu/packages/webkit.scm (wpewebkit)[properties]: New field. Leo Famulari
2022-01-23gnu: WebKitGTK: Update to 2.34.4 [security fixes]....Fixes CVE-2021-30934, CVE-2021-30936, CVE-2021-30951, CVE-2021-30952, CVE-2021-30953, CVE-2021-30954, CVE-2021-30984. * gnu/packages/webkit.scm (webkitgtk): Update to 2.34.4. Leo Famulari
2022-01-10gnu: webkitgtk: Enable GStreamer GL support....* gnu/packages/webkit.scm (webkitgtk)[configure-flags]: Remove the '-DUSE_GSTREAMER_GL=OFF' build option. Maxim Cournoyer
2022-01-10gnu: webkitgtk: Add a note about plugins in description....This is in response to <https://issues.guix.gnu.org/52375>. * gnu/packages/webkit.scm (webkitgtk): Add a note about GStreamer plugins. Reported-by: Jack Hill <jackhill@jackhill.us> Maxim Cournoyer