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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-on-paint-worklet.html

Issue 2486463005: [Reland] DevTools: Make WorkerThreadDebugger available for Worklets (Closed)
Patch Set: Change layout tests Created 4 years, 1 month 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/console/console-on-paint-worklet.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-on-paint-worklet.html b/third_party/WebKit/LayoutTests/inspector/console/console-on-paint-worklet.html
new file mode 100644
index 0000000000000000000000000000000000000000..0f93086645f28cfb325ed9f5036f98dc1119b3fd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-on-paint-worklet.html
@@ -0,0 +1,27 @@
+<html>
+<head>
+<script src="../../http/tests/inspector/inspector-test.js"></script>
+<script src="../../http/tests/inspector/console-test.js"></script>
+<script>
+function importWorklet()
+{
+ paintWorklet.import('console-worklet-script.js');
+}
+
+function test()
+{
+ InspectorTest.waitForConsoleMessages(4, finish);
+ InspectorTest.evaluateInPage("importWorklet();");
+
+ function finish()
+ {
+ InspectorTest.dumpConsoleMessages();
+ InspectorTest.completeTest();
+ }
+}
+</script>
+</head>
+<body onload="runTest()">
+<p>Tests console output from PaintWorklet.</p>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698