our expected-failures-opt.txt file consists entirely of Function.length tests that fail when the polyfill is being optimized by Terser because Terser drops default arguments. Now that the Upstream Terser issue is closed, once a release is available we should clean this list up.
Note that changing our Terser release will likely impact our production bundle output (though probably not in backward-incompatible ways).
Context: https://github.com/terser/terser/issues/1115
our
expected-failures-opt.txt
file consists entirely ofFunction.length
tests that fail when the polyfill is being optimized by Terser because Terser drops default arguments. Now that the Upstream Terser issue is closed, once a release is available we should clean this list up.Note that changing our Terser release will likely impact our production bundle output (though probably not in backward-incompatible ways).