Chromium Code Reviews| 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 { | |
| 63 method : Runtime.consoleAPICalled | |
| 64 params : { | |
| 65 args : [ | |
| 66 [0] : { | |
| 67 className : Object | |
| 68 customPreview : { | |
| 69 bindRemoteObjectFunctionId : {"injectedScriptId":1,"id":3} | |
|
dgozman
2017/02/27 18:44:56
Filter out these ids to fight flakiness.
kozy
2017/02/27 19:57:13
Done.
| |
| 70 formatterObjectId : {"injectedScriptId":1,"id":2} | |
| 71 hasBody : true | |
| 72 header : ["span",{},"Header formatted ",42] | |
| 73 } | |
| 74 description : Object | |
| 75 objectId : <objectId> | |
| 76 preview : { | |
| 77 description : Object | |
| 78 overflow : false | |
| 79 properties : [ | |
| 80 [0] : { | |
| 81 name : name | |
| 82 type : number | |
| 83 value : 42 | |
| 84 } | |
| 85 ] | |
| 86 type : object | |
| 87 } | |
| 88 type : object | |
| 89 } | |
| 90 ] | |
| 91 executionContextId : <executionContextId> | |
| 92 stackTrace : { | |
| 93 callFrames : [ | |
| 94 [0] : { | |
| 95 columnNumber : 8 | |
| 96 functionName : | |
| 97 lineNumber : 0 | |
| 98 scriptId : <scriptId> | |
| 99 url : | |
| 100 } | |
| 101 ] | |
| 102 } | |
| 103 timestamp : <timestamp> | |
| 104 type : log | |
| 105 } | |
| 106 } | |
| 107 { | |
| 108 id : <messageId> | |
| 109 result : { | |
| 110 result : { | |
| 111 type : undefined | |
| 112 } | |
| 113 } | |
| 114 } | |
| OLD | NEW |