mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
d1fbc0273a
In this patch we actually have separate `Worker` and `Registration` components. All workers belonging to the same registration appear together under it. {F2134654} Note: I left the `Debug` button shown for every worker because sometimes we do have a target even though the worker might be waiting. I'm not sure when/how this happens, but I was able to debug it as well. {F2134655} BTW I found a quick –and more reliable? I seems I don't need to reload- way of testing this. **STR**: - Start a local HTTP server at `mozilla-central/devtools/client/application/test/browser/resources/service-workers` - Open `localhost:8080/simple.html` (or whatever the port) and open devtools there - Open `localhost:8080/debug.html` (or whatever the port) and open devtools there You should be able to see both workers under the same registration scope. Differential Revision: https://phabricator.services.mozilla.com/D72173 |
||
---|---|---|
.. | ||
client | ||
docs | ||
platform | ||
server | ||
shared | ||
startup | ||
.eslintrc.js | ||
.eslintrc.mochitests.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild | ||
tsconfig.json |