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

Unified Diff: LayoutTests/inspector/sources/debugger/debugger-expand-scope.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-expand-scope.html
diff --git a/LayoutTests/inspector/sources/debugger/debugger-expand-scope.html b/LayoutTests/inspector/sources/debugger/debugger-expand-scope.html
deleted file mode 100644
index 0dcee13642a2d9797b5e22c6fc7d4193aacb58de..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/sources/debugger/debugger-expand-scope.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>
-
-function makeClosure(n)
-{
- var makeClosureLocalVar = "local." + n;
- return function innerFunction(x)
- {
- var innerFunctionLocalVar = x + 2;
- var negInf = -Infinity;
- var negZero = 1 / negInf;
- try {
- throw new Error("An exception");
- } catch (e) {
- e.toString();
- debugger;
- }
- return n + makeClosureLocalVar + x + innerFunctionLocalVar;
- }
-}
-
-function testFunction()
-{
- var f = makeClosure("TextParam");
- f(2010);
-}
-
-function test()
-{
- InspectorTest.startDebuggerTest(step1);
-
- function step1()
- {
- InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
- }
-
- function step2()
- {
- InspectorTest.expandScopeVariablesSidebarPane(step3);
- }
-
- function step3()
- {
- InspectorTest.addResult("");
- InspectorTest.dumpScopeVariablesSidebarPane();
- InspectorTest.completeDebuggerTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<input type='button' onclick='testFunction()' value='Test'/>
-<p>
-Test that sections representing scopes of the current call frame are expandable
-and contain correct data.
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698