| Index: LayoutTests/inspector/sources/debugger/reveal-not-skipped.html
|
| diff --git a/LayoutTests/inspector/sources/debugger/reveal-not-skipped.html b/LayoutTests/inspector/sources/debugger/reveal-not-skipped.html
|
| deleted file mode 100644
|
| index 63e038a191529a08d48a8ac46b993eb0388ee57b..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/sources/debugger/reveal-not-skipped.html
|
| +++ /dev/null
|
| @@ -1,94 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../../http/tests/inspector/debugger-test.js"></script>
|
| -<script src="resources/script1.js"></script>
|
| -<script>
|
| -function throwAnException()
|
| -{
|
| - var i = 0; var j = i + 2; var k = j + i;
|
| -
|
| - return unknown_var;
|
| -}
|
| -
|
| -var test = function()
|
| -{
|
| - var panel = WebInspector.panels.sources;
|
| - InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
|
| -
|
| - InspectorTest.runDebuggerTestSuite([
|
| - function testRevealAfterPausedOnException(next)
|
| - {
|
| - InspectorTest.addResult("Showing script1 source...");
|
| - InspectorTest.showScriptSource("script1.js", step2);
|
| -
|
| - function step2()
|
| - {
|
| - InspectorTest.addResult("Script source was shown for '" + panel.visibleView._uiSourceCode.name() + "'.");
|
| - InspectorTest.addResult("Throwing exception...");
|
| - InspectorTest.evaluateInPage("setTimeout(throwAnException, 0)");
|
| - InspectorTest.addSniffer(WebInspector.TabbedEditorContainer.prototype, "showFile", step3);
|
| - }
|
| -
|
| - function step3()
|
| - {
|
| - InspectorTest.addResult("Script source was shown for '" + panel.visibleView._uiSourceCode.name() + "'.");
|
| - InspectorTest.addResult("Reloading page...");
|
| - InspectorTest.reloadPage(step4);
|
| - }
|
| -
|
| - function step4()
|
| - {
|
| - InspectorTest.addResult("Showing script1 source...");
|
| - InspectorTest.showScriptSource("script1.js", step5);
|
| - }
|
| -
|
| - function step5()
|
| - {
|
| - InspectorTest.addResult("Script source was shown for '" + panel.visibleView._uiSourceCode.name() + "'.");
|
| - InspectorTest.addResult("Throwing exception...");
|
| - InspectorTest.evaluateInPage("setTimeout(throwAnException, 0)");
|
| - InspectorTest.addSniffer(WebInspector.TabbedEditorContainer.prototype, "showFile", step6);
|
| - }
|
| -
|
| - function step6()
|
| - {
|
| - InspectorTest.addResult("Script source was shown for '" + panel.visibleView._uiSourceCode.name() + "'.");
|
| - next();
|
| - }
|
| - },
|
| -
|
| - function testRevealAfterPrettyPrintWhenPaused(next)
|
| - {
|
| - InspectorTest.addResult("Throwing exception...");
|
| - InspectorTest.waitUntilPaused(step2);
|
| - function step2()
|
| - {
|
| - InspectorTest.addResult("Showing script1 source...");
|
| - InspectorTest.showScriptSource("script1.js", step3);
|
| - }
|
| -
|
| - function step3()
|
| - {
|
| - InspectorTest.addResult("Script source was shown for '" + panel.visibleView._uiSourceCode.name() + "'.");
|
| - InspectorTest.addResult("Formatting...");
|
| - InspectorTest.scriptFormatter().then(function(scriptFormatter) {
|
| - InspectorTest.addSniffer(WebInspector.ScriptFormatterEditorAction.prototype, "_updateButton", uiSourceCodeScriptFormatted);
|
| - scriptFormatter._toggleFormatScriptSource();
|
| - });
|
| - }
|
| -
|
| - function uiSourceCodeScriptFormatted()
|
| - {
|
| - InspectorTest.addResult("Script source was shown for '" + panel.visibleView._uiSourceCode.name() + "'.");
|
| - next();
|
| - }
|
| - }
|
| - ]);
|
| -}
|
| -</script>
|
| -</head>
|
| -<body onload="runTest()">
|
| -<p>Tests that certain user actions in scripts panel reveal execution line.</p>
|
| -</body>
|
| -</html>
|
|
|