aboutsummaryrefslogtreecommitdiff
path: root/test/script/basic/JDK-8016667.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/script/basic/JDK-8016667.js')
-rw-r--r--test/script/basic/JDK-8016667.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/script/basic/JDK-8016667.js b/test/script/basic/JDK-8016667.js
index 7ac1bb6b..169a8f35 100644
--- a/test/script/basic/JDK-8016667.js
+++ b/test/script/basic/JDK-8016667.js
@@ -32,3 +32,23 @@ function toto() {
var friends = 1;
(joe = friends) == null;
}
+
+//JDK-8019476 duplicate case of this
+Function("with(\nnull == (this % {}))( /x/g );");
+
+function f() {
+ with(null == (this % {}))(/x/g);
+}
+
+Function("return (null != [,,] <= this);");
+
+function f2() {
+ return (null != [,,] <= this);
+}
+
+Function("/*infloop*/L:for(var x; ([+(function (window)[,,])(function(q) { return q; }, -0)].some(new Function)); [11,12,13,14].some) {/*infloop*/do {;return this; } while(x); }");
+
+function f3() {
+ /*infloop*/L:for(var x; ([+(function (window)[,,])(function(q) { return q; }, -0)].some(new Function)); [11,12,13,14].some) {/*infloop*/do {;return this; } while(x); }
+}
+