| 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);
|
| +
|
| }
|
| };
|
|
|
|
|