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-change-variable.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-change-variable.html
diff --git a/LayoutTests/inspector/sources/debugger/debugger-change-variable.html b/LayoutTests/inspector/sources/debugger/debugger-change-variable.html
deleted file mode 100644
index b3485aadb79de6f8eb0ae216d190eb6344c13093..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/sources/debugger/debugger-change-variable.html
+++ /dev/null
@@ -1,89 +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 slave(x)
-{
- var y = 20;
- debugger;
-}
-
-function testFunction()
-{
- var localObject1 = { a: 310 };
- var localObject2 = 42;
- slave(4000);
-}
-
-var test = function()
-{
- InspectorTest.startDebuggerTest(step1, true);
-
- function evalLocalVariables(callback)
- {
- InspectorTest.evaluateInConsoleAndDump("localObject1.a", next);
- function next()
- {
- InspectorTest.evaluateInConsoleAndDump("localObject2", callback);
- }
- }
-
- function localScopeObject()
- {
- var pane = WebInspector.panels.sources.sidebarPanes.scopechain;
- var localsSection = pane._sections[0];
- return localsSection._object;
- }
-
- function step1()
- {
- InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
- }
-
- function step2(callFrames)
- {
- var pane = WebInspector.panels.sources.sidebarPanes.callstack;
- pane._callFrameSelected(pane.callFrames[1]);
- InspectorTest.runAfterPendingDispatches(step3);
- }
-
- function step3()
- {
- InspectorTest.addResult("\nEvaluated before modification:");
- evalLocalVariables(step4);
- }
-
- function step4()
- {
- localScopeObject().setPropertyValue("localObject1", "({ a: -290})", step5);
- }
-
- function step5()
- {
- localScopeObject().setPropertyValue({ value: "localObject2" }, "123", step6);
- }
-
- function step6()
- {
- InspectorTest.addResult("\nEvaluated after modification:");
- evalLocalVariables(step7);
- }
-
- function step7()
- {
- InspectorTest.completeDebuggerTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests that modifying local variables works fine.
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698