GoogleChrome / GoogleChrome/lighthouse

Duplicate sourcemap entries w/ serviceworker

Open
#12,322 1 comment 0 reactions 1 assignee Claimed by @connorjclark View on GitHub
P2
Dominant language
JavaScript
Stars
30.8k
Forks
9.8k
Avg merge
1d 14h
Merged PRs (30d)
20

Description

```sh
lighthouse https://proxx.app/ --preset=experimental -GA
```

we end up with duplicate entries:

![image](https://user-images.githubusercontent.com/39191/113206777-b8182480-9224-11eb-8f47-90664eaffa1a.png)

I'm pretty sure this is because of the service-worker, though i'm not 100%. (it's possible some Surma shenanigans w/ comlink are creating two instances of the script.. shrug)

interestingly we get unique scriptIds for these duplicates (reported through `Debugger.scriptParsed`):

![image](https://user-images.githubusercontent.com/39191/113207152-20ff9c80-9225-11eb-829b-08f52b80bf48.png)

ref #11254

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.