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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/worklet/chromium/resources/console-tests.js

Issue 2456733002: DevTools: Make WorkerThreadDebugger available for Worklets (Closed)
Patch Set: address review comments 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Runs a series of tests related to console output on a worklet.
2 //
3 // Usage:
4 // runConsoleTests(workletType);
5 function runConsoleTests(worklet, opt_path) {
6 const path = opt_path || '';
7
8 promise_test(function() {
9 return worklet.import(path + 'resources/console-worklet-script.js').then (function(undefined_arg) {
10 // Results should be verified by a test expectation file.
11 }).catch(function(error) {
12 assert_unreached('unexpected rejection: ' + error);
13 });
14
15 }, 'Console output on a Worklet.');
16 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698