Index: test/inspector/debugger/restore-breakpoint-expected.txt |
diff --git a/test/inspector/debugger/restore-breakpoint-expected.txt b/test/inspector/debugger/restore-breakpoint-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..83dac7ff17db9c456b63b22ab8190e6b10c96f6a |
--- /dev/null |
+++ b/test/inspector/debugger/restore-breakpoint-expected.txt |
@@ -0,0 +1,73 @@ |
+Checks that debugger agent uses source content to restore breakpoints. |
+ |
+Running test: testSameSource |
+{ |
+ method : Debugger.breakpointResolved |
+ params : { |
+ breakpointId : <breakpointId> |
+ location : { |
+ columnNumber : 0 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ } |
+} |
+{ |
+ method : Debugger.breakpointResolved |
+ params : { |
+ breakpointId : <breakpointId> |
+ location : { |
+ columnNumber : 0 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ } |
+} |
+ |
+Running test: testOneLineOffset |
+{ |
+ method : Debugger.breakpointResolved |
+ params : { |
+ breakpointId : <breakpointId> |
+ location : { |
+ columnNumber : 0 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ } |
+} |
+{ |
+ method : Debugger.breakpointResolved |
+ params : { |
+ breakpointId : <breakpointId> |
+ location : { |
+ columnNumber : 0 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ } |
+} |
+ |
+Running test: testTwoSimilarLinesCloseToOriginalLocation |
+{ |
+ method : Debugger.breakpointResolved |
+ params : { |
+ breakpointId : <breakpointId> |
+ location : { |
+ columnNumber : 0 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ } |
+} |
+{ |
+ method : Debugger.breakpointResolved |
+ params : { |
+ breakpointId : <breakpointId> |
+ location : { |
+ columnNumber : 0 |
+ lineNumber : 5 |
+ scriptId : <scriptId> |
+ } |
+ } |
+} |