Index: third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js |
index 08918112e231a950661d7733f239445ff543ddb6..cb18e9e2571026f5385035dc48d8203f0eb5b62b 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js |
@@ -7,6 +7,12 @@ var initialize_DebuggerTest = function() { |
InspectorTest.preloadPanel("sources"); |
+InspectorTest.resetNetworkProject = function(networkProject) { |
+ for (var project of networkProject._workspaceProjects.values()) |
+ project.removeProject(); |
+ networkProject._workspaceProjects.clear(); |
+} |
+ |
InspectorTest.startDebuggerTest = function(callback, quiet) |
{ |
console.assert(InspectorTest.debuggerModel.debuggerEnabled(), "Debugger has to be enabled"); |