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

Unified Diff: test/inspector/debugger/script-parsed-hash.js

Issue 2379303002: Revert "[inspector] added inspector test runner [part 3-5]" (Closed)
Patch Set: Created 4 years, 3 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: test/inspector/debugger/script-parsed-hash.js
diff --git a/test/inspector/debugger/script-parsed-hash.js b/test/inspector/debugger/script-parsed-hash.js
deleted file mode 100644
index c4beebac353720efee5bf0888425e1b465f53e41..0000000000000000000000000000000000000000
--- a/test/inspector/debugger/script-parsed-hash.js
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2016 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-var hashes = new Set(["1C6D2E82E4E4F1BA4CB5762843D429DC872EBA18",
- "EBF1ECD351E7A3294CB5762843D429DC872EBA18",
- "86A31E7131896CF01BA837945C2894385F369F24"]);
-InspectorTest.sendCommandOrDie("Debugger.enable", {}, function() {
- InspectorTest.eventHandler["Debugger.scriptParsed"] = function(messageObject)
- {
- if (hashes.has(messageObject.params.hash))
- InspectorTest.log(`Hash received: ${messageObject.params.hash}`);
- else
- InspectorTest.log(`[FAIL]: unknown hash ${messageObject.params.hash}`);
- }
-});
-
-function longScript() {
- var longScript = "var b = 1;";
- for (var i = 0; i < 2024; ++i)
- longScript += "++b;";
-}
-
-InspectorTest.sendCommandOrDie("Runtime.enable");
-InspectorTest.sendCommandOrDie("Runtime.compileScript", { expression: "1", sourceURL: "foo1.js", persistScript: true });
-InspectorTest.sendCommandOrDie("Runtime.compileScript", { expression: "239", sourceURL: "foo2.js", persistScript: true });
-InspectorTest.sendCommandOrDie("Runtime.compileScript", { expression: "(" + longScript + ")()", sourceURL: "foo3.js", persistScript: true }, step2);
-
-function step2()
-{
- InspectorTest.completeTest();
-}

Powered by Google App Engine
This is Rietveld 408576698