Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: test/inspector/debugger/step-into-expected.txt

Issue 2710903003: [inspector] added master test for break locations (Closed)
Patch Set: addressed comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/inspector/debugger/step-into.js ('k') | test/inspector/inspector-test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 break at: 953 break at:
954 setTimeout(resolveNested, 0); 954 setTimeout(resolveNested, 0);
955 await #p; 955 await #p;
956 } 956 }
957 957
958 break at: 958 break at:
959 setTimeout(resolveNested, 0); 959 setTimeout(resolveNested, 0);
960 #await p; 960 #await p;
961 } 961 }
962 962
963
964 Running test: testPromiseComplex
965 break at:
966 var nextTest;
967 var testPromise = #new Promise(resolve => nextTest = resolve);
968 async function main() {
969
970 break at:
971 var nextTest;
972 var testPromise = new Promise(resolve => nextTest #= resolve);
973 async function main() {
974
975 break at:
976 var nextTest;
977 var testPromise = new Promise(resolve => nextTest = resolve#);
978 async function main() {
979
980 break at:
981 }
982 #main();
983 return testPromise;
984
985 break at:
986 }
987 var x = #1;
988 var y = 2;
989
990 break at:
991 var x = 1;
992 var y = #2;
993 returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = aw ait foo((a => 2 *a)(5));
994
995 break at:
996 var y = 2;
997 #returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = a wait foo((a => 2 *a)(5));
998 nextTest();
999
1000 break at:
1001
1002 function emptyFunction() {#}
1003
1004
1005 break at:
1006 var y = 2;
1007 returnFunction(emptyFunction(), x++, --y, x => 2 * x, #returnCall())().a = a wait foo((a => 2 *a)(5));
1008 nextTest();
1009
1010 break at:
1011 function returnCall() {
1012 #return return42();
1013 }
1014
1015 break at:
1016 function return42() {
1017 #return 42;
1018 }
1019
1020 break at:
1021 return 42;
1022 #}
1023
1024
1025 break at:
1026 return return42();
1027 #}
1028
1029
1030 break at:
1031 var y = 2;
1032 #returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = a wait foo((a => 2 *a)(5));
1033 nextTest();
1034
1035 break at:
1036 function returnFunction() {
1037 #return returnObject;
1038 }
1039
1040 break at:
1041 return returnObject;
1042 #}
1043
1044
1045 break at:
1046 var y = 2;
1047 returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())#().a = a wait foo((a => 2 *a)(5));
1048 nextTest();
1049
1050 break at:
1051 function returnObject() {
1052 #return ({ foo: () => 42 });
1053 }
1054
1055 break at:
1056 return ({ foo: () => 42 });
1057 #}
1058
1059
1060 break at:
1061 var y = 2;
1062 returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = aw ait #foo((a => 2 *a)(5));
1063 nextTest();
1064
1065 break at:
1066 var y = 2;
1067 returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = aw ait foo((a => 2 #*a)(5));
1068 nextTest();
1069
1070 break at:
1071 var y = 2;
1072 returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = aw ait foo((a => 2 *a#)(5));
1073 nextTest();
1074
1075 break at:
1076 var y = 2;
1077 returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = aw ait #foo((a => 2 *a)(5));
1078 nextTest();
1079
1080 break at:
1081 async function foo() {
1082 await Promise.#resolve();
1083 return 42;
1084
1085 break at:
1086 async function foo() {
1087 #await Promise.resolve();
1088 return 42;
1089
OLDNEW
« no previous file with comments | « test/inspector/debugger/step-into.js ('k') | test/inspector/inspector-test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698