Index: LayoutTests/inspector/profiler/agents-disabled-check-expected.txt |
diff --git a/LayoutTests/inspector/profiler/agents-disabled-check-expected.txt b/LayoutTests/inspector/profiler/agents-disabled-check-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1a72f70fc775555d9bfbef611369f601fcfabf7c |
--- /dev/null |
+++ b/LayoutTests/inspector/profiler/agents-disabled-check-expected.txt |
@@ -0,0 +1,19 @@ |
+Test that if a profiler is working all the agents are disabled. |
+ |
+--> WebInspector.targetManager.suspendAllTargets(); |
+frontend: {"id":<number>,"method":"Debugger.disable"} |
+frontend: {"id":<number>,"method":"Debugger.setAsyncCallStackDepth","params":{"maxDepth":0}} |
+frontend: {"id":<number>,"method":"CSS.disable"} |
+frontend: {"id":<number>,"method":"DOM.disable"} |
+frontend: {"id":<number>,"method":"Worker.setAutoconnectToWorkers","params":{"value":false}} |
+ |
+--> WebInspector.targetManager.resumeAllTargets(); |
+frontend: {"id":<number>,"method":"DOM.enable"} |
+frontend: {"id":<number>,"method":"CSS.enable"} |
+frontend: {"id":<number>,"method":"Debugger.enable"} |
+frontend: {"id":<number>,"method":"Debugger.setPauseOnExceptions","params":{"state":"none"}} |
+frontend: {"id":<number>,"method":"Debugger.setAsyncCallStackDepth","params":{"maxDepth":4}} |
+frontend: {"id":<number>,"method":"Worker.setAutoconnectToWorkers","params":{"value":true}} |
+ |
+--> done |
+ |