aboutsummaryrefslogtreecommitdiff
path: root/test/compress/ie8.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-12-13 18:05:07 +0000
committerGitHub <noreply@github.com>2020-12-14 02:05:07 +0800
commitf579f1aa47a0ba13955433b90b56bea241849f83 (patch)
tree2aa39c1d9d4f103cd94c0336fe6ca7ff25a0b9b4 /test/compress/ie8.js
parentfcc40d0502a29e09a164ca04603db33b7dedfc3c (diff)
downloadtracifyjs-f579f1aa47a0ba13955433b90b56bea241849f83.tar.gz
tracifyjs-f579f1aa47a0ba13955433b90b56bea241849f83.zip
emulate global context in Node.js & web (#4379)
Diffstat (limited to 'test/compress/ie8.js')
-rw-r--r--test/compress/ie8.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/compress/ie8.js b/test/compress/ie8.js
index c5b8b155..c28512ac 100644
--- a/test/compress/ie8.js
+++ b/test/compress/ie8.js
@@ -588,7 +588,6 @@ issue_3197_1: {
ie8: false,
}
input: {
- var window = {};
!function() {
function Foo() {
console.log(this instanceof Foo);
@@ -598,7 +597,6 @@ issue_3197_1: {
new window.Foo();
}
expect: {
- var window = {};
window.Foo = function o() {
console.log(this instanceof o);
};
@@ -619,7 +617,6 @@ issue_3197_1_ie8: {
ie8: true,
}
input: {
- var window = {};
!function() {
function Foo() {
console.log(this instanceof Foo);
@@ -629,7 +626,6 @@ issue_3197_1_ie8: {
new window.Foo();
}
expect: {
- var window = {};
window.Foo = function Foo() {
console.log(this instanceof Foo);
};