首页 > 解决方案 > Show requests made by ServiceWorker in Firefox DevTools?

问题描述

If a ServiceWorker intercepts a web request and manipulates it (e.g. change the status code), in Chrome DevTools both requests are shown - The service worker request with the original status code, and the modified request returned to the code with the changed status code.

In Firefox DevTools only the modified request is shown, so I can't see what the request looked like before the ServiceWorker modified it. How can I achieve thee same behaviour as in Chrome to view the request before it was modified in Firefox DevTools?

标签: service-workerfirefox-developer-tools

解决方案


推荐阅读