first commit
Types tests / Test (lts/*) (push) Has been cancelled
Lint / Lint (lts/*) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
CI / Test (20) (push) Has been cancelled
CI / Test (22) (push) Has been cancelled
CI / Test (24) (push) Has been cancelled

This commit is contained in:
2025-10-03 22:20:19 +08:00
commit 44db9807a1
2172 changed files with 526822 additions and 0 deletions
@@ -0,0 +1,4 @@
'use strict';
var i = 0;
while(i-->0) {
}
+6
View File
@@ -0,0 +1,6 @@
'use strict';
//#if TRUE
var i = 0;
while(i-->0) {
}
//#endif
+5
View File
@@ -0,0 +1,5 @@
/* Comment here... */
div {
margin: 0;
padding: 0;
}
+7
View File
@@ -0,0 +1,7 @@
/* Comment here... */
/*#if TRUE*/
/*div {*/
/* margin: 0;*/
/*padding: 0;*/
/*}*/
/*#endif*/
+1
View File
@@ -0,0 +1 @@
//Error: Found #elif without matching #if at __filename:2
+4
View File
@@ -0,0 +1,4 @@
'use strict';
//#elif TRUE
var a;
//#endif
+1
View File
@@ -0,0 +1 @@
//Error: Found #else without matching #if at __filename:2
+3
View File
@@ -0,0 +1,3 @@
'use strict';
//#else
//#endif
+1
View File
@@ -0,0 +1 @@
//Error: Found #error "Some Error" at __filename:3
+2
View File
@@ -0,0 +1,2 @@
'use strict';
var a;
+5
View File
@@ -0,0 +1,5 @@
'use strict';
//#if FALSE
//#error "Some Error"
//#endif
var a;
+5
View File
@@ -0,0 +1,5 @@
'use strict';
//#if TRUE
//#error "Some Error"
//#endif
var b;
+1
View File
@@ -0,0 +1 @@
prefixtruesuffix
+1
View File
@@ -0,0 +1 @@
<!--#expand prefix__TRUE__suffix-->
+1
View File
@@ -0,0 +1 @@
//Error: No JavaScript expression given at __filename:2
+6
View File
@@ -0,0 +1,6 @@
'use strict';
//#if
var a;
//#else
var b;
//#endif
@@ -0,0 +1,2 @@
'use strict';
var c;
+8
View File
@@ -0,0 +1,8 @@
'use strict';
//#if FALSE
var a;
//#elif FALSE
var b;
//#else
var c;
//#endif
@@ -0,0 +1,2 @@
'use strict';
var b;
+8
View File
@@ -0,0 +1,8 @@
'use strict';
//#if FALSE
var a;
//#elif TRUE
var b;
//#else
var c;
//#endif
+2
View File
@@ -0,0 +1,2 @@
'use strict';
var b;
+6
View File
@@ -0,0 +1,6 @@
'use strict';
//#if FALSE
var a;
//#else
var b;
//#endif
+3
View File
@@ -0,0 +1,3 @@
div {
margin: 0;
}
+6
View File
@@ -0,0 +1,6 @@
'use strict';
var a;
var b;
var d;
+14
View File
@@ -0,0 +1,14 @@
/*#if TRUE*/
div {
margin: 0;
/*#if FALSE*/
padding: 0;
/*#endif*/
}
/*#endif*/
/*#if FALSE*/
p {
margin: 0;
}
/*#endif*/
+19
View File
@@ -0,0 +1,19 @@
'use strict';
//#if TRUE
var a;
//#if TRUE
var b;
//#else
var c;
//#endif
var d;
//#else
var e;
//#if TRUE
var f;
//#endif
var g;
//#endif
@@ -0,0 +1,2 @@
'use strict';
var a;
+8
View File
@@ -0,0 +1,8 @@
'use strict';
//#if TRUE
var a;
//#elif FALSE
var b;
//#else
var c;
//#endif
+2
View File
@@ -0,0 +1,2 @@
'use strict';
var a;
+6
View File
@@ -0,0 +1,6 @@
'use strict';
//#if TRUE
var a;
//#else
var b;
//#endif
+1
View File
@@ -0,0 +1 @@
//Error: Missing #endif in preprocessor for __filename
+3
View File
@@ -0,0 +1,3 @@
'use strict';
//#if TRUE
var a;
+5
View File
@@ -0,0 +1,5 @@
<script>
'use strict';
var a;
</script>
@@ -0,0 +1 @@
//Error: Failed to include "some file that does not exist" at __filename:2
+2
View File
@@ -0,0 +1,2 @@
<!-- Non-existent file -->
<!--#include some file that does not exist-->
+5
View File
@@ -0,0 +1,5 @@
<script>
<!--#if TRUE-->
<!--#include if-true-else.js-->
<!--#endif-->
</script>
+4
View File
@@ -0,0 +1,4 @@
'use strict';
//var a;
var b;
var c;
+6
View File
@@ -0,0 +1,6 @@
'use strict';
//#if TRUE
////var a;
//var b;
var c;
//#endif
@@ -0,0 +1,2 @@
//Error: Could not evaluate "notdefined" at __filename:2
//ReferenceError: notdefined is not defined
+6
View File
@@ -0,0 +1,6 @@
'use strict';
//#if notdefined
var a;
//#else
var b;
//#endif
@@ -0,0 +1 @@
//Error: Found #endif without #if at __filename:4
+5
View File
@@ -0,0 +1,5 @@
'use strict';
//#ifdef TRUE
//ifdef should not be recognized
//#endif
var a;