fune/devtools/client/webconsole/test/browser/test-evaluate-worker.js
Tooru Fujisawa 81ca24b1d3 Bug 1815381 - Part 2: Revert workaround for WorkerLocation.prototype.href getter. r=nchevobbe,devtools-reviewers,ochameau
Now DOM getters are eagerly-evaluateable also in worker, we no longer need
the workaround to skip getters in the context selector test.

Differential Revision: https://phabricator.services.mozilla.com/D175090
2023-05-12 06:21:41 +00:00

8 lines
152 B
JavaScript

"use strict";
self.addEventListener("message", ({ data }) => foo(data));
function foo(data) {
// eslint-disable-next-line no-debugger
debugger;
}