Chromium Code Reviews| Index: test/inspector/runtime/runtime-restore-expected.txt |
| diff --git a/test/inspector/runtime/runtime-restore-expected.txt b/test/inspector/runtime/runtime-restore-expected.txt |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ec94bccb831100538c549719b7dcb046de172cea |
| --- /dev/null |
| +++ b/test/inspector/runtime/runtime-restore-expected.txt |
| @@ -0,0 +1,114 @@ |
| +Checks that Runtime agent correctly restore its state. |
| + |
| +Running test: testExecutionContextsNotificationsOnRestore |
| +{ |
| + method : Runtime.executionContextCreated |
| + params : { |
| + context : { |
| + id : 1 |
| + name : |
| + origin : |
| + } |
| + } |
| +} |
| +will reconnect.. |
| +{ |
| + method : Runtime.executionContextsCleared |
| + params : { |
| + } |
| +} |
| +{ |
| + method : Runtime.executionContextCreated |
| + params : { |
| + context : { |
| + id : 1 |
| + name : |
| + origin : |
| + } |
| + } |
| +} |
| + |
| +Running test: testConsoleAPICalledAfterRestore |
| +will reconnect.. |
| +{ |
| + method : Runtime.consoleAPICalled |
| + params : { |
| + args : [ |
| + [0] : { |
| + description : 42 |
| + type : number |
| + value : 42 |
| + } |
| + ] |
| + executionContextId : <executionContextId> |
| + stackTrace : { |
| + callFrames : [ |
| + [0] : { |
| + columnNumber : 8 |
| + functionName : |
| + lineNumber : 0 |
| + scriptId : <scriptId> |
| + url : |
| + } |
| + ] |
| + } |
| + timestamp : <timestamp> |
| + type : log |
| + } |
| +} |
| + |
| +Running test: testSetCustomObjectFormatterEnabled |
| +will reconnect.. |
| +{ |
| + method : Runtime.consoleAPICalled |
| + params : { |
| + args : [ |
| + [0] : { |
| + className : Object |
| + customPreview : { |
| + 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.
|
| + formatterObjectId : {"injectedScriptId":1,"id":2} |
| + hasBody : true |
| + header : ["span",{},"Header formatted ",42] |
| + } |
| + description : Object |
| + objectId : <objectId> |
| + preview : { |
| + description : Object |
| + overflow : false |
| + properties : [ |
| + [0] : { |
| + name : name |
| + type : number |
| + value : 42 |
| + } |
| + ] |
| + type : object |
| + } |
| + type : object |
| + } |
| + ] |
| + executionContextId : <executionContextId> |
| + stackTrace : { |
| + callFrames : [ |
| + [0] : { |
| + columnNumber : 8 |
| + functionName : |
| + lineNumber : 0 |
| + scriptId : <scriptId> |
| + url : |
| + } |
| + ] |
| + } |
| + timestamp : <timestamp> |
| + type : log |
| + } |
| +} |
| +{ |
| + id : <messageId> |
| + result : { |
| + result : { |
| + type : undefined |
| + } |
| + } |
| +} |