Index: test/inspector/sessions/runtime-console-api-called-expected.txt |
diff --git a/test/inspector/sessions/runtime-console-api-called-expected.txt b/test/inspector/sessions/runtime-console-api-called-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4f4752b05230b995ee961275a621604171708317 |
--- /dev/null |
+++ b/test/inspector/sessions/runtime-console-api-called-expected.txt |
@@ -0,0 +1,217 @@ |
+Tests that all sessions get console api notifications. |
+Error in 2 |
+From session 2 |
+{ |
+ method : Runtime.consoleAPICalled |
+ params : { |
+ args : [ |
+ [0] : { |
+ description : 1 |
+ type : number |
+ value : 1 |
+ } |
+ ] |
+ executionContextId : <executionContextId> |
+ stackTrace : { |
+ callFrames : [ |
+ [0] : { |
+ columnNumber : 8 |
+ functionName : |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ url : |
+ } |
+ ] |
+ } |
+ timestamp : <timestamp> |
+ type : error |
+ } |
+} |
+From session 1 |
+{ |
+ method : Runtime.consoleAPICalled |
+ params : { |
+ args : [ |
+ [0] : { |
+ description : 1 |
+ type : number |
+ value : 1 |
+ } |
+ ] |
+ executionContextId : <executionContextId> |
+ stackTrace : { |
+ callFrames : [ |
+ [0] : { |
+ columnNumber : 8 |
+ functionName : |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ url : |
+ } |
+ ] |
+ } |
+ timestamp : <timestamp> |
+ type : error |
+ } |
+} |
+Logging in 1 |
+From session 2 |
+{ |
+ method : Runtime.consoleAPICalled |
+ params : { |
+ args : [ |
+ [0] : { |
+ description : 2 |
+ type : number |
+ value : 2 |
+ } |
+ ] |
+ executionContextId : <executionContextId> |
+ stackTrace : { |
+ callFrames : [ |
+ [0] : { |
+ columnNumber : 8 |
+ functionName : |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ url : |
+ } |
+ ] |
+ } |
+ timestamp : <timestamp> |
+ type : log |
+ } |
+} |
+From session 1 |
+{ |
+ method : Runtime.consoleAPICalled |
+ params : { |
+ args : [ |
+ [0] : { |
+ description : 2 |
+ type : number |
+ value : 2 |
+ } |
+ ] |
+ executionContextId : <executionContextId> |
+ stackTrace : { |
+ callFrames : [ |
+ [0] : { |
+ columnNumber : 8 |
+ functionName : |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ url : |
+ } |
+ ] |
+ } |
+ timestamp : <timestamp> |
+ type : log |
+ } |
+} |
+Error in setTimeout 1 |
+From session 2 |
+{ |
+ method : Runtime.consoleAPICalled |
+ params : { |
+ args : [ |
+ [0] : { |
+ type : string |
+ value : a |
+ } |
+ ] |
+ executionContextId : <executionContextId> |
+ stackTrace : { |
+ callFrames : [ |
+ [0] : { |
+ columnNumber : 25 |
+ functionName : setTimeout |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ url : |
+ } |
+ ] |
+ } |
+ timestamp : <timestamp> |
+ type : error |
+ } |
+} |
+From session 1 |
+{ |
+ method : Runtime.consoleAPICalled |
+ params : { |
+ args : [ |
+ [0] : { |
+ type : string |
+ value : a |
+ } |
+ ] |
+ executionContextId : <executionContextId> |
+ stackTrace : { |
+ callFrames : [ |
+ [0] : { |
+ columnNumber : 25 |
+ functionName : setTimeout |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ url : |
+ } |
+ ] |
+ } |
+ timestamp : <timestamp> |
+ type : error |
+ } |
+} |
+Logging in setTimeout 2 |
+From session 2 |
+{ |
+ method : Runtime.consoleAPICalled |
+ params : { |
+ args : [ |
+ [0] : { |
+ type : string |
+ value : b |
+ } |
+ ] |
+ executionContextId : <executionContextId> |
+ stackTrace : { |
+ callFrames : [ |
+ [0] : { |
+ columnNumber : 25 |
+ functionName : setTimeout |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ url : |
+ } |
+ ] |
+ } |
+ timestamp : <timestamp> |
+ type : log |
+ } |
+} |
+From session 1 |
+{ |
+ method : Runtime.consoleAPICalled |
+ params : { |
+ args : [ |
+ [0] : { |
+ type : string |
+ value : b |
+ } |
+ ] |
+ executionContextId : <executionContextId> |
+ stackTrace : { |
+ callFrames : [ |
+ [0] : { |
+ columnNumber : 25 |
+ functionName : setTimeout |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ url : |
+ } |
+ ] |
+ } |
+ timestamp : <timestamp> |
+ type : log |
+ } |
+} |