| Tests ConsoleOM APIs when debugger is paused. |
| Testing console.log with required args while paused |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| description : 10 |
| type : number |
| value : 10 |
| } |
| [1] : { |
| description : Infinity |
| type : number |
| unserializableValue : Infinity |
| } |
| [2] : { |
| className : Object |
| description : Object |
| objectId : <string> |
| preview : { |
| description : Object |
| overflow : false |
| properties : [ |
| [0] : { |
| name : a |
| type : number |
| value : 3 |
| } |
| [1] : { |
| name : b |
| type : string |
| value : hello |
| } |
| ] |
| type : object |
| } |
| type : object |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : log |
| } |
| sessionId : <string> |
| } |
| Testing console.debug with required args while paused |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| description : 10 |
| type : number |
| value : 10 |
| } |
| [1] : { |
| description : Infinity |
| type : number |
| unserializableValue : Infinity |
| } |
| [2] : { |
| className : Object |
| description : Object |
| objectId : <string> |
| preview : { |
| description : Object |
| overflow : false |
| properties : [ |
| [0] : { |
| name : a |
| type : number |
| value : 3 |
| } |
| [1] : { |
| name : b |
| type : string |
| value : hello |
| } |
| ] |
| type : object |
| } |
| type : object |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : debug |
| } |
| sessionId : <string> |
| } |
| Testing console.info with required args while paused |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| description : 10 |
| type : number |
| value : 10 |
| } |
| [1] : { |
| description : Infinity |
| type : number |
| unserializableValue : Infinity |
| } |
| [2] : { |
| className : Object |
| description : Object |
| objectId : <string> |
| preview : { |
| description : Object |
| overflow : false |
| properties : [ |
| [0] : { |
| name : a |
| type : number |
| value : 3 |
| } |
| [1] : { |
| name : b |
| type : string |
| value : hello |
| } |
| ] |
| type : object |
| } |
| type : object |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : info |
| } |
| sessionId : <string> |
| } |
| Testing console.error with required args while paused |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| description : 10 |
| type : number |
| value : 10 |
| } |
| [1] : { |
| description : Infinity |
| type : number |
| unserializableValue : Infinity |
| } |
| [2] : { |
| className : Object |
| description : Object |
| objectId : <string> |
| preview : { |
| description : Object |
| overflow : false |
| properties : [ |
| [0] : { |
| name : a |
| type : number |
| value : 3 |
| } |
| [1] : { |
| name : b |
| type : string |
| value : hello |
| } |
| ] |
| type : object |
| } |
| type : object |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : error |
| } |
| sessionId : <string> |
| } |
| Testing console.warn with required args while paused |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| description : 10 |
| type : number |
| value : 10 |
| } |
| [1] : { |
| description : Infinity |
| type : number |
| unserializableValue : Infinity |
| } |
| [2] : { |
| className : Object |
| description : Object |
| objectId : <string> |
| preview : { |
| description : Object |
| overflow : false |
| properties : [ |
| [0] : { |
| name : a |
| type : number |
| value : 3 |
| } |
| [1] : { |
| name : b |
| type : string |
| value : hello |
| } |
| ] |
| type : object |
| } |
| type : object |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : warning |
| } |
| sessionId : <string> |
| } |
| Testing console.dir with required args while paused |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| description : 10 |
| type : number |
| value : 10 |
| } |
| [1] : { |
| description : Infinity |
| type : number |
| unserializableValue : Infinity |
| } |
| [2] : { |
| className : Object |
| description : Object |
| objectId : <string> |
| preview : { |
| description : Object |
| overflow : false |
| properties : [ |
| [0] : { |
| name : a |
| type : number |
| value : 3 |
| } |
| [1] : { |
| name : b |
| type : string |
| value : hello |
| } |
| ] |
| type : object |
| } |
| type : object |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : dir |
| } |
| sessionId : <string> |
| } |
| Testing console.dirxml with required args while paused |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| description : 10 |
| type : number |
| value : 10 |
| } |
| [1] : { |
| description : Infinity |
| type : number |
| unserializableValue : Infinity |
| } |
| [2] : { |
| className : Object |
| description : Object |
| objectId : <string> |
| preview : { |
| description : Object |
| overflow : false |
| properties : [ |
| [0] : { |
| name : a |
| type : number |
| value : 3 |
| } |
| [1] : { |
| name : b |
| type : string |
| value : hello |
| } |
| ] |
| type : object |
| } |
| type : object |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : dirxml |
| } |
| sessionId : <string> |
| } |
| Testing console.table with required args while paused |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| description : 10 |
| type : number |
| value : 10 |
| } |
| [1] : { |
| description : Infinity |
| type : number |
| unserializableValue : Infinity |
| } |
| [2] : { |
| className : Object |
| description : Object |
| objectId : <string> |
| preview : { |
| description : Object |
| overflow : false |
| properties : [ |
| [0] : { |
| name : a |
| type : number |
| value : 3 |
| } |
| [1] : { |
| name : b |
| type : string |
| value : hello |
| } |
| ] |
| type : object |
| } |
| type : object |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : table |
| } |
| sessionId : <string> |
| } |
| Testing console.trace with optional args while paused |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| description : 10 |
| type : number |
| value : 10 |
| } |
| [1] : { |
| description : Infinity |
| type : number |
| unserializableValue : Infinity |
| } |
| [2] : { |
| className : Object |
| description : Object |
| objectId : <string> |
| preview : { |
| description : Object |
| overflow : false |
| properties : [ |
| [0] : { |
| name : a |
| type : number |
| value : 3 |
| } |
| [1] : { |
| name : b |
| type : string |
| value : hello |
| } |
| ] |
| type : object |
| } |
| type : object |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : trace |
| } |
| sessionId : <string> |
| } |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| type : string |
| value : console.trace |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : trace |
| } |
| sessionId : <string> |
| } |
| Testing console.clear with optional args while paused |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| description : 10 |
| type : number |
| value : 10 |
| } |
| [1] : { |
| description : Infinity |
| type : number |
| unserializableValue : Infinity |
| } |
| [2] : { |
| className : Object |
| description : Object |
| objectId : <string> |
| preview : { |
| description : Object |
| overflow : false |
| properties : [ |
| [0] : { |
| name : a |
| type : number |
| value : 3 |
| } |
| [1] : { |
| name : b |
| type : string |
| value : hello |
| } |
| ] |
| type : object |
| } |
| type : object |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : clear |
| } |
| sessionId : <string> |
| } |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| type : string |
| value : console.clear |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : clear |
| } |
| sessionId : <string> |
| } |
| Testing console.group with optional args while paused |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| description : 10 |
| type : number |
| value : 10 |
| } |
| [1] : { |
| description : Infinity |
| type : number |
| unserializableValue : Infinity |
| } |
| [2] : { |
| className : Object |
| description : Object |
| objectId : <string> |
| preview : { |
| description : Object |
| overflow : false |
| properties : [ |
| [0] : { |
| name : a |
| type : number |
| value : 3 |
| } |
| [1] : { |
| name : b |
| type : string |
| value : hello |
| } |
| ] |
| type : object |
| } |
| type : object |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : startGroup |
| } |
| sessionId : <string> |
| } |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| type : string |
| value : console.group |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : startGroup |
| } |
| sessionId : <string> |
| } |
| Testing console.groupCollapsed with optional args while paused |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| description : 10 |
| type : number |
| value : 10 |
| } |
| [1] : { |
| description : Infinity |
| type : number |
| unserializableValue : Infinity |
| } |
| [2] : { |
| className : Object |
| description : Object |
| objectId : <string> |
| preview : { |
| description : Object |
| overflow : false |
| properties : [ |
| [0] : { |
| name : a |
| type : number |
| value : 3 |
| } |
| [1] : { |
| name : b |
| type : string |
| value : hello |
| } |
| ] |
| type : object |
| } |
| type : object |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : startGroupCollapsed |
| } |
| sessionId : <string> |
| } |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| type : string |
| value : console.groupCollapsed |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : startGroupCollapsed |
| } |
| sessionId : <string> |
| } |
| Testing console.groupEnd with optional args while paused |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| description : 10 |
| type : number |
| value : 10 |
| } |
| [1] : { |
| description : Infinity |
| type : number |
| unserializableValue : Infinity |
| } |
| [2] : { |
| className : Object |
| description : Object |
| objectId : <string> |
| preview : { |
| description : Object |
| overflow : false |
| properties : [ |
| [0] : { |
| name : a |
| type : number |
| value : 3 |
| } |
| [1] : { |
| name : b |
| type : string |
| value : hello |
| } |
| ] |
| type : object |
| } |
| type : object |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : endGroup |
| } |
| sessionId : <string> |
| } |
| { |
| method : Runtime.consoleAPICalled |
| params : { |
| args : [ |
| [0] : { |
| type : string |
| value : console.groupEnd |
| } |
| ] |
| executionContextId : <number> |
| stackTrace : { |
| callFrames : [ |
| [0] : { |
| columnNumber : 8 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| [1] : { |
| columnNumber : 0 |
| functionName : |
| lineNumber : 0 |
| scriptId : <string> |
| url : |
| } |
| ] |
| } |
| timestamp : <number> |
| type : endGroup |
| } |
| sessionId : <string> |
| } |
| |