To implement bug 1175138 I am exposing the devtools ServiceWorker testing flag that is set per-window on workers. I just set the flag if the creating doc or parent has it set. This won't quite work right for SharedWorkers with multiple docs. We should fix this. Ehsan might have other ideas for this flag as well.
You need to log in before you can comment on or make changes to this bug.