summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/browser/test-evaluate-worker.js
blob: a98a81b7e758d1a3c7e10de5591047563387480b (plain)
1
2
3
4
5
6
7
8
9
10
"use strict";

self.addEventListener("message", ({ data }) => foo(data));

// This paramater is accessed by the debugger
// eslint-disable-next-line no-unused-vars
function foo(data) {
  // eslint-disable-next-line no-debugger
  debugger;
}