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

Unified Diff: LayoutTests/inspector/console/set-last-eval-result.html

Issue 967493002: DevTools: remove setLastEvaluationResult from the protocol. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined Created 5 years, 10 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/inspector/console/set-last-eval-result-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/console/set-last-eval-result.html
diff --git a/LayoutTests/inspector/console/set-last-eval-result.html b/LayoutTests/inspector/console/set-last-eval-result.html
deleted file mode 100644
index 892b2ef208e113dd2c1e612a25c5f92435c65b13..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/console/set-last-eval-result.html
+++ /dev/null
@@ -1,52 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/console-test.js"></script>
-<script>
-
-var obj = { "a" : 1, "b": 2 };
-
-function test()
-{
- var remote;
- InspectorTest.RuntimeAgent.evaluate("window.obj", step1);
-
- function step1(error, result)
- {
- InspectorTest.assertTrue(!error, "FAIL: " + error);
- remote = result;
- InspectorTest.evaluateInConsole("1+1", step2);
- }
-
- function step2()
- {
- InspectorTest.evaluateInConsole("$_", step3);
- }
-
- function step3()
- {
- InspectorTest.ConsoleAgent.setLastEvaluationResult(remote.objectId, didSetResult);
- }
-
- function didSetResult(error)
- {
- InspectorTest.assertTrue(!error, "FAIL: " + error);
- InspectorTest.evaluateInConsole("$_", completeTest);
- }
-
- function completeTest()
- {
- InspectorTest.dumpConsoleMessages();
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests setting console last evaluation result.
-</p>
-</body>
-</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/inspector/console/set-last-eval-result-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698