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

Unified Diff: LayoutTests/inspector/sources/debugger/reveal-execution-line.html

Issue 1153923005: DevTools: shard inspector/debugger tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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
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>

Powered by Google App Engine
This is Rietveld 408576698