OLD | NEW |
(Empty) | |
| 1 Checks that Runtime agent correctly restore its state. |
| 2 |
| 3 Running test: testExecutionContextsNotificationsOnRestore |
| 4 { |
| 5 method : Runtime.executionContextCreated |
| 6 params : { |
| 7 context : { |
| 8 id : 1 |
| 9 name : |
| 10 origin : |
| 11 } |
| 12 } |
| 13 } |
| 14 will reconnect.. |
| 15 { |
| 16 method : Runtime.executionContextsCleared |
| 17 params : { |
| 18 } |
| 19 } |
| 20 { |
| 21 method : Runtime.executionContextCreated |
| 22 params : { |
| 23 context : { |
| 24 id : 1 |
| 25 name : |
| 26 origin : |
| 27 } |
| 28 } |
| 29 } |
| 30 |
| 31 Running test: testConsoleAPICalledAfterRestore |
| 32 will reconnect.. |
| 33 { |
| 34 method : Runtime.consoleAPICalled |
| 35 params : { |
| 36 args : [ |
| 37 [0] : { |
| 38 description : 42 |
| 39 type : number |
| 40 value : 42 |
| 41 } |
| 42 ] |
| 43 executionContextId : <executionContextId> |
| 44 stackTrace : { |
| 45 callFrames : [ |
| 46 [0] : { |
| 47 columnNumber : 8 |
| 48 functionName : |
| 49 lineNumber : 0 |
| 50 scriptId : <scriptId> |
| 51 url : |
| 52 } |
| 53 ] |
| 54 } |
| 55 timestamp : <timestamp> |
| 56 type : log |
| 57 } |
| 58 } |
| 59 |
| 60 Running test: testSetCustomObjectFormatterEnabled |
| 61 will reconnect.. |
| 62 will reconnect.. |
| 63 { |
| 64 method : Runtime.consoleAPICalled |
| 65 params : { |
| 66 args : [ |
| 67 [0] : { |
| 68 className : Object |
| 69 customPreview : { |
| 70 bindRemoteObjectFunctionId : <bindRemoteObjectFunctionId> |
| 71 formatterObjectId : <formatterObjectId> |
| 72 hasBody : true |
| 73 header : ["span",{},"Header formatted ",42] |
| 74 } |
| 75 description : Object |
| 76 objectId : <objectId> |
| 77 preview : { |
| 78 description : Object |
| 79 overflow : false |
| 80 properties : [ |
| 81 [0] : { |
| 82 name : name |
| 83 type : number |
| 84 value : 42 |
| 85 } |
| 86 ] |
| 87 type : object |
| 88 } |
| 89 type : object |
| 90 } |
| 91 ] |
| 92 executionContextId : <executionContextId> |
| 93 stackTrace : { |
| 94 callFrames : [ |
| 95 [0] : { |
| 96 columnNumber : 8 |
| 97 functionName : |
| 98 lineNumber : 0 |
| 99 scriptId : <scriptId> |
| 100 url : |
| 101 } |
| 102 ] |
| 103 } |
| 104 timestamp : <timestamp> |
| 105 type : log |
| 106 } |
| 107 } |
| 108 { |
| 109 id : <messageId> |
| 110 result : { |
| 111 result : { |
| 112 type : undefined |
| 113 } |
| 114 } |
| 115 } |
OLD | NEW |