Closed suriyasundar92 closed 5 years ago
I’m confused. Strict mode is only opted into by code with the pragma. Are you using some kind of setting for phantom called “strict” that isn’t actually strict mode?
In particular, all of those files are separate modules, so they should all be in sloppy mode absent the pragma, and all should be executing in their own non-global scope.
Closing, pending more repro info.
https://github.com/ljharb/es-abstract/commit/f721f34e19025767851822c9328ca17270b05578#diff-1135727984677bc9cd2ff2cab6a50776R9
We are seeing failures in out builds after the previous change. This happens when we load our test files in a PhantomJs browser.