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

Unified Diff: LayoutTests/inspector/sources/debugger/debugger-inline-values.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-inline-values.html
diff --git a/LayoutTests/inspector/sources/debugger/debugger-inline-values.html b/LayoutTests/inspector/sources/debugger/debugger-inline-values.html
deleted file mode 100644
index 67a451f3efa70fa7067be5e38adb8234cd322275..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/sources/debugger/debugger-inline-values.html
+++ /dev/null
@@ -1,69 +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 a = { k: 1 };
- var b = [1, 2, 3, 4, 5];
- var c = new Array(100); c[10] = 1;
- a.k = 2;
- a.l = window;
- b[1]++;
- b[2] = document.body;
-}
-
-function test()
-{
- InspectorTest.startDebuggerTest(runTestFunction);
- InspectorTest.setQuiet(true);
-
- var stepCount = 0;
-
- function runTestFunction()
- {
- InspectorTest.addSniffer(WebInspector.JavaScriptSourceFrame.prototype, "setExecutionLocation", onSetExecutionLocation);
- InspectorTest.evaluateInPage("setTimeout(testFunction, 0)");
- }
-
- function onSetExecutionLocation(uiLocation)
- {
- InspectorTest.runAfterPendingDispatches(dumpAndContinue.bind(null, this.textEditor, uiLocation.lineNumber));
- }
-
- function dumpAndContinue(textEditor, lineNumber)
- {
- InspectorTest.addResult("=========== 8< ==========");
- for (var i = 8; i < 18; ++i) {
- var output = ["[" + (i < 10 ? " " : "") + i + "]"];
- output.push(i == lineNumber ? ">" : " ");
- output.push(textEditor.line(i));
- output.push("\t");
- for (var element of textEditor._elementToWidget.keys()) {
- if (i === element.__lineNumber)
- output.push(element.deepTextContent());
- }
- InspectorTest.addResult(output.join(" "));
- }
-
- InspectorTest.addSniffer(WebInspector.JavaScriptSourceFrame.prototype, "setExecutionLocation", onSetExecutionLocation);
- if (++stepCount < 10)
- WebInspector.panels.sources._stepOverButton.element.click();
- else
- InspectorTest.completeDebuggerTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests inline values rendering in the sources panel.
-</p>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698