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

Unified Diff: LayoutTests/inspector/sources/debugger/selected-call-frame-after-formatting-source.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/selected-call-frame-after-formatting-source.html
diff --git a/LayoutTests/inspector/sources/debugger/selected-call-frame-after-formatting-source.html b/LayoutTests/inspector/sources/debugger/selected-call-frame-after-formatting-source.html
deleted file mode 100644
index a6f30fcf2d882da465683f7a16c952e755aacb6c..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/sources/debugger/selected-call-frame-after-formatting-source.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<html>
-<head>
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/debugger-test.js"></script>
-<script src="../../../http/tests/inspector/elements-test.js"></script>
-<script>
-function testFunction()
-{
- return testFunction2();
-}
-
-function testFunction2()
-{
- var x = Math.sqrt(10);
- debugger;
- return x;
-}
-
-var test = function()
-{
- InspectorTest.startDebuggerTest(step1);
- var panel = WebInspector.panels.sources;
- var sourceFrame;
-
- function step1()
- {
- var testName = InspectorTest.resourceTreeModel.inspectedPageURL();
- testName = testName.substring(testName.lastIndexOf('/') + 1);
- InspectorTest.showScriptSource(testName, step2);
- }
-
- function step2(frame)
- {
- sourceFrame = frame;
- InspectorTest.runTestFunctionAndWaitUntilPaused(step3);
- }
-
- function step3()
- {
- InspectorTest.completeDebuggerTest(); return;
- InspectorTest.debuggerModel.setSelectedCallFrame(InspectorTest.debuggerModel.debuggerPausedDetails().callFrames[1]);
- sourceFrame._toggleFormatSource(step4);
- }
-
- function step4()
- {
- InspectorTest.assertEquals("testFunction", InspectorTest.debuggerModel.selectedCallFrame().functionName);
- sourceFrame._toggleFormatSource(step5);
- }
-
- function step5()
- {
- InspectorTest.completeDebuggerTest();
- }
-}
-
-</script>
-</head>
-<body onload="runTest()">
-<p>Tests selected call frame does not change when pretty-print is toggled.</p>
-<a href="https://bugs.webkit.org/show_bug.cgi?id=70906">Bug 70906</a>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698