Skip to content

Commit

Permalink
test: verify threadId in reports
Browse files Browse the repository at this point in the history
PR-URL: #31556
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
Dylan Coakley authored and addaleax committed Sep 23, 2020
1 parent d1be44c commit b0c1aca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/report/test-report-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ async function basic() {
helper.validateContent(report);
assert.strictEqual(report.workers.length, 1);
helper.validateContent(report.workers[0]);
assert.strictEqual(report.workers[0].header.threadId, w.threadId);

w.postMessage({});

Expand Down

0 comments on commit b0c1aca

Please sign in to comment.