| Index: LayoutTests/inspector/sources/debugger/reveal-execution-line.html
|
| diff --git a/LayoutTests/inspector/sources/debugger/reveal-execution-line.html b/LayoutTests/inspector/sources/debugger/reveal-execution-line.html
|
| deleted file mode 100644
|
| index f3f75d0ebad77cbd3837fad2e526bec5ed7bdf24..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/sources/debugger/reveal-execution-line.html
|
| +++ /dev/null
|
| @@ -1,61 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../../http/tests/inspector/debugger-test.js"></script>
|
| -<script>
|
| -function testFunction()
|
| -{
|
| - debugger;
|
| -}
|
| -
|
| -var test = function()
|
| -{
|
| - InspectorTest.setQuiet(true);
|
| - InspectorTest.runDebuggerTestSuite([
|
| - function testRevealAndHighlightExecutionLine(next)
|
| - {
|
| - var executionLineSet = false;
|
| - var executionLineRevealed = false;
|
| - InspectorTest.addSniffer(WebInspector.SourceFrame.prototype, "revealPosition", didRevealLine);
|
| - InspectorTest.addSniffer(WebInspector.JavaScriptSourceFrame.prototype, "setExecutionLocation", didSetExecutionLocation);
|
| - InspectorTest.runTestFunctionAndWaitUntilPaused(didPause);
|
| -
|
| - function didPause(callFrames)
|
| - {
|
| - }
|
| -
|
| - function didSetExecutionLocation(uiLocation)
|
| - {
|
| - if (executionLineSet)
|
| - return;
|
| - executionLineSet = true;
|
| - maybeNext();
|
| - }
|
| -
|
| - function didRevealLine(line)
|
| - {
|
| - if (executionLineRevealed)
|
| - return;
|
| - if (this.isShowing()) {
|
| - executionLineRevealed = true;
|
| - maybeNext();
|
| - }
|
| - }
|
| -
|
| - function maybeNext()
|
| - {
|
| - if (executionLineRevealed && executionLineSet) {
|
| - InspectorTest.addResult("Execution line revealed and highlighted.");
|
| - InspectorTest.resumeExecution(next);
|
| - }
|
| - }
|
| - }
|
| - ]);
|
| -}
|
| -</script>
|
| -</head>
|
| -<body onload="runTest()">
|
| -<p>Tests that execution line is revealed and highlighted when debugger is paused.</p>
|
| -<a href="https://bugs.webkit.org/show_bug.cgi?id=80306">Bug 80306</a>
|
| -</body>
|
| -</html>
|
|
|