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

Unified Diff: LayoutTests/inspector/sources/debugger/debugger-command-line-api.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/debugger-command-line-api.html
diff --git a/LayoutTests/inspector/sources/debugger/debugger-command-line-api.html b/LayoutTests/inspector/sources/debugger/debugger-command-line-api.html
deleted file mode 100644
index 61995fcdbdb79b18ffd4e4c96d93869cb8fc8139..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/sources/debugger/debugger-command-line-api.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<html>
-<head>
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/console-test.js"></script>
-<script src="../../../http/tests/inspector/debugger-test.js"></script>
-<script>
-
-function testFunction()
-{
- debugger;
-}
-
-var test = function()
-{
- InspectorTest.addSniffer(WebInspector.Main.prototype, "inspect", inspect);
- InspectorTest.addSniffer(WebInspector.Revealer, "revealPromise", oneRevealPromise, true);
-
- function oneRevealPromise(node, revealPromise)
- {
- if (!(node instanceof WebInspector.RemoteObject))
- return;
- revealPromise.then(updateFocusedNode);
- }
-
- function updateFocusedNode()
- {
- InspectorTest.addResult("Selected node id: '" + WebInspector.panels.elements.selectedDOMNode().getAttribute("id") + "'.");
- InspectorTest.completeDebuggerTest();
- }
-
- function inspect(objectId, hints)
- {
- InspectorTest.addResult("WebInspector.inspect called with: " + objectId.description);
- InspectorTest.addResult("WebInspector.inspect's hints are: " + JSON.stringify(Object.keys(hints)));
- }
-
- InspectorTest.startDebuggerTest(step1);
-
- function step1()
- {
- InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
- }
-
- function step2(callFrames)
- {
- InspectorTest.evaluateInConsoleAndDump("inspect($('#p1'))");
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p id="p1">
-Tests that inspect() command line api works while on breakpoint.
-</p>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698