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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/debugger/scriptParsedHash.html

Issue 2968523003: [DevTools] Migrate inspector-protocol/debugger tests to new harness (Closed)
Patch Set: all tests Created 3 years, 6 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: third_party/WebKit/LayoutTests/inspector-protocol/debugger/scriptParsedHash.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/scriptParsedHash.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/scriptParsedHash.html
deleted file mode 100644
index d441cb19cfb32feceb219e021823dd7d951391a4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/scriptParsedHash.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<html>
-<head>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
-<script>
-function test()
-{
- var hashes = new Set(["1C6D2E82E4E4F1BA4CB5762843D429DC872EBA18",
- "EBF1ECD351E7A3294CB5762843D429DC872EBA18",
- "22D0043331237371241FC675A984B967025A3DC0"]);
- InspectorTest.sendCommandOrDie("Debugger.enable", {}, function() {
- InspectorTest.eventHandler["Debugger.scriptParsed"] = function(messageObject)
- {
- if (hashes.has(messageObject.params.hash))
- InspectorTest.log("Hash received: " + messageObject.params.hash);
- }
- });
-
- function longScript() {
- var longScript = "var b = 1;";
- for (var i = 0; i < 2024; ++i)
- longScript += "++b;";
- }
-
- InspectorTest.sendCommandOrDie("Runtime.evaluate", { expression: "1" });
- InspectorTest.sendCommandOrDie("Runtime.evaluate", { expression: "239" });
- InspectorTest.sendCommandOrDie("Runtime.evaluate", { expression: "(" + longScript + ")()" }, step2);
-
- function step2()
- {
- InspectorTest.completeTest();
- }
-}
-</script>
-</head>
-<body onLoad="runTest();">
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698