Bug 1644275 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

## What were you doing?

1. Open https://share.firefox.dev/3h6vl0B
2. Open Network panel
3. Refresh

## What happened?

All requests show up as blocked, even though they loaded successfully.

## What should have happened?

Hard reload works as expected. Soft reload shows most request as blocked (all requests that are served by the Service Worker).

## Anything else we should know? 

Browser Console throws this error 6 times when the requests are shown as blocked:

```
14:28:43.650 TypeError: can't access property "id", channel.loadInfo.browsingContext is null
    matchRequest resource://devtools/server/actors/network-monitor/network-observer.js:119
    _onRequestHeader resource://devtools/server/actors/network-monitor/network-observer.js:847
    observeActivity resource://devtools/server/actors/network-monitor/network-observer.js:622
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
ThreadSafeDevToolsUtils.js:82:13
    reportException resource://devtools/shared/ThreadSafeDevToolsUtils.js:82
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:109
```
## What were you doing?

1. Open https://share.firefox.dev/3h6vl0B
2. Open Network panel
3. Refresh

## What happened?

All requests show up as blocked, even though they loaded successfully.

## What should have happened?

Hard reload works as expected. Soft reload shows most request as blocked (all requests that are served by the Service Worker).

In another example, https://firefox-devtools-waiting-sw.glitch.me/ serves `/version` from a Service Worker, but this is shown correctly.

## Anything else we should know? 

Browser Console throws this error 6 times when the requests are shown as blocked:

```
14:28:43.650 TypeError: can't access property "id", channel.loadInfo.browsingContext is null
    matchRequest resource://devtools/server/actors/network-monitor/network-observer.js:119
    _onRequestHeader resource://devtools/server/actors/network-monitor/network-observer.js:847
    observeActivity resource://devtools/server/actors/network-monitor/network-observer.js:622
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
ThreadSafeDevToolsUtils.js:82:13
    reportException resource://devtools/shared/ThreadSafeDevToolsUtils.js:82
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:109
```

Back to Bug 1644275 Comment 0