Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: LayoutTests/inspector/sources/debugger/live-edit.html

Issue 331853007: Reverting r176101 - "Crash test case:" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/live-edit-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/sources/debugger/live-edit.html
diff --git a/LayoutTests/inspector/sources/debugger/live-edit.html b/LayoutTests/inspector/sources/debugger/live-edit.html
index e31bbfcf8a392ade38f32a4cde4f3f1ac68e7019..6e864fed2f34f93ee12a8e0943e8a03d55a65d18 100644
--- a/LayoutTests/inspector/sources/debugger/live-edit.html
+++ b/LayoutTests/inspector/sources/debugger/live-edit.html
@@ -119,38 +119,6 @@ function test()
InspectorTest.assertEquals("5", lineNumber);
next();
}
- },
-
- function testNoCrashWhenLiveEditOnBreakpoint(next)
- {
- InspectorTest.showScriptSource("edit-me.js", didShowScriptSource);
-
- function didShowScriptSource(sourceFrame)
- {
- InspectorTest.addSniffer(sourceFrame, "_addBreakpointDecoration", breakpointAdded);
- InspectorTest.setBreakpoint(sourceFrame, 3, "", true);
- }
-
- function breakpointAdded()
- {
- InspectorTest.waitUntilPaused(pausedInF);
- InspectorTest.evaluateInPageWithTimeout("f()");
- }
-
- function pausedInF(callFrames)
- {
- replaceInSource(panel.visibleView, "function f()", "function f()\n", didEditScriptSource);
- }
-
- function didEditScriptSource()
- {
- InspectorTest.resumeExecution(resumed);
- }
-
- function resumed()
- {
- next();
- }
}
]);
@@ -159,6 +127,7 @@ function test()
InspectorTest.addSniffer(WebInspector.debuggerModel, "_didEditScriptSource", callback);
InspectorTest.replaceInSource(sourceFrame, string, replacement);
InspectorTest.commitSource(sourceFrame);
+
}
};
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/live-edit-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698