OLD | NEW |
1 Checks possible break locations. | 1 Checks possible break locations. |
2 | 2 |
3 Running test: testEval | 3 Running test: testEval |
4 break at: | 4 break at: |
5 function testEval() { | 5 function testEval() { |
6 #eval('// comment only'); | 6 #eval('// comment only'); |
7 eval('// comment only\n'); | 7 eval('// comment only\n'); |
8 | 8 |
9 break at: | 9 break at: |
10 // comment onl#y | 10 // comment onl#y |
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 setTimeout(resolveNested, 0); | 909 setTimeout(resolveNested, 0); |
910 await #p; | 910 await #p; |
911 } | 911 } |
912 | 912 |
913 break at: | 913 break at: |
914 setTimeout(resolveNested, 0); | 914 setTimeout(resolveNested, 0); |
915 #await p; | 915 #await p; |
916 } | 916 } |
917 | 917 |
918 break at: | 918 break at: |
919 function return42() { | |
920 #return 42; | |
921 } | |
922 | |
923 break at: | |
924 return 42; | |
925 #} | |
926 | |
927 | |
928 break at: | |
929 async function main() { | |
930 async function foo#() { | |
931 var resolveNested; | |
932 | |
933 break at: | |
934 var resolveNested; | 919 var resolveNested; |
935 var p = #new Promise(resolve => resolveNested = resolve); | 920 var p = #new Promise(resolve => resolveNested = resolve); |
936 setTimeout(resolveNested, 0); | 921 setTimeout(resolveNested, 0); |
937 | 922 |
938 break at: | 923 break at: |
939 var resolveNested; | 924 var resolveNested; |
940 var p = new Promise(resolve => resolveNested #= resolve); | 925 var p = new Promise(resolve => resolveNested #= resolve); |
941 setTimeout(resolveNested, 0); | 926 setTimeout(resolveNested, 0); |
942 | 927 |
943 break at: | 928 break at: |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1080 break at: | 1065 break at: |
1081 async function foo() { | 1066 async function foo() { |
1082 await Promise.#resolve(); | 1067 await Promise.#resolve(); |
1083 return 42; | 1068 return 42; |
1084 | 1069 |
1085 break at: | 1070 break at: |
1086 async function foo() { | 1071 async function foo() { |
1087 #await Promise.resolve(); | 1072 #await Promise.resolve(); |
1088 return 42; | 1073 return 42; |
1089 | 1074 |
OLD | NEW |