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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-log-doesnt-run-microtasks.html

Issue 2954093003: [DevTools] Migrate inspector-protocol/runtime tests to new harness (Closed)
Patch Set: fail: 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/runtime/runtime-console-log-doesnt-run-microtasks.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-log-doesnt-run-microtasks.html b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-log-doesnt-run-microtasks.html
deleted file mode 100644
index 6c459b4bd169bdbcc92321ce91f9bc01e4e5a883..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-log-doesnt-run-microtasks.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<html>
-<head>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
-<script>
-
-function testFunction()
-{
- Promise.resolve().then(function(){ console.log(239); });
- console.log(42);
- console.log(43);
-}
-
-function test()
-{
- InspectorTest.sendCommandOrDie("Runtime.enable", {});
- InspectorTest.eventHandler["Runtime.consoleAPICalled"] = messageAdded;
- InspectorTest.sendCommandOrDie("Runtime.evaluate", { "expression": "testFunction()" });
- InspectorTest.sendCommandOrDie("Runtime.evaluate", { "expression": "setTimeout(() => console.log(\"finished\"), 0)" });
-
- function messageAdded(result)
- {
- InspectorTest.logObject(result.params.args[0]);
- if (result.params.args[0].value === "finished")
- InspectorTest.completeTest();
- }
-}
-</script>
-</head>
-<body onLoad="runTest();">
-Check that console.log doesn't run microtasks.
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698