-
Notifications
You must be signed in to change notification settings - Fork 674
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f84ded2
commit 07ca90f
Showing
5 changed files
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
test/functional/fixtures/regression/gh-7632/pages/test1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
</head> | ||
<body> | ||
<script> | ||
const bt = 'property'; | ||
new class { | ||
constructor (e) { | ||
} | ||
}({ | ||
features: [class { | ||
constructor () { | ||
} | ||
|
||
#e () { | ||
} | ||
|
||
test () { | ||
return this[bt]; | ||
} | ||
}], | ||
}) | ||
</script> | ||
</body> | ||
</html> |
26 changes: 26 additions & 0 deletions
26
test/functional/fixtures/regression/gh-7632/pages/test2.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
</head> | ||
<script> | ||
var ut = 'field'; | ||
|
||
new class { | ||
constructor (e) { | ||
} | ||
}({ | ||
features: [class { | ||
static featureName = ut; | ||
}, class { | ||
constructor () { | ||
function p () { | ||
var q = window.location; | ||
} | ||
} | ||
}], | ||
}) | ||
</script> | ||
<body> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
describe('[Regression](GH-7632)', function () { | ||
it('Esotope', function () { | ||
return runTests('testcafe-fixtures/index.js'); | ||
}); | ||
}); | ||
|
||
|
7 changes: 7 additions & 0 deletions
7
test/functional/fixtures/regression/gh-7632/testcafe-fixtures/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
fixture `esotope`; | ||
|
||
test.page('http://localhost:3000/fixtures/regression/gh-7632/pages/test1.html')('PrivateIdentifier', () => { | ||
}); | ||
|
||
test.page('http://localhost:3000/fixtures/regression/gh-7632/pages/test2.html')('PropertyDefinition', () => { | ||
}); |