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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/debugger/call-frame-functionLocation.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/call-frame-functionLocation.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/call-frame-functionLocation.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/call-frame-functionLocation.html
deleted file mode 100644
index 84fab01dda59ba78d898df25450f9afef9217ddf..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/call-frame-functionLocation.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
-<head>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
-<script>
-
-function testFunction()
-{
- var a = 2;
- debugger;
-}
-
-function test()
-{
- InspectorTest.sendCommand("Debugger.enable", {});
- InspectorTest.eventHandler["Debugger.paused"] = handleDebuggerPaused;
- InspectorTest.sendCommand("Runtime.evaluate", { "expression": "setTimeout(testFunction, 0)" });
-
- function handleDebuggerPaused(messageObject)
- {
- InspectorTest.log("Paused on 'debugger;'");
- var topFrame = messageObject.params.callFrames[0];
- topFrame.location.scriptId = "42";
- topFrame.functionLocation.scriptId = "42";
- InspectorTest.log("Top frame location: " + JSON.stringify(topFrame.location));
- InspectorTest.log("Top frame functionLocation: " + JSON.stringify(topFrame.functionLocation));
- InspectorTest.completeTest();
- }
-}
-</script>
-</head>
-<body onLoad="runTest();">
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698