GoogleChrome / GoogleChrome/lighthouse
TBT is incorrect for script type="module"
- Dominant language
- JavaScript
- Stars
- 30.8k
- Forks
- 9.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 20
Description
### FAQ
- [X] Yes, my issue is not about [variability](https://github.com/GoogleChrome/lighthouse/blob/main/docs/variability.md) or [throttling](https://github.com/GoogleChrome/lighthouse/blob/main/docs/throttling.md).
- [X] Yes, my issue is not about a specific accessibility audit (file with [axe-core](https://github.com/dequelabs/axe-core) instead).
### URL
https://bwin.de
### What happened?
The Total Blocking Time (TBT) is incorrect if the page uses ``.
The value is almost 0:

Because the time of "Evaluate module" is not considered:

### What did you expect?
"Evaluate module" should be treated the same way like "Evaluate script".
### What have you tried?
Comparison between Lighthouse Audit and Performance analysis in Chrome Dev Tools.
The page insight test has the same results.
### How were you running Lighthouse?
Chrome DevTools
### Lighthouse Version
9.6.8
### Chrome Version
109.0.5414.119
### Node Version
_No response_
### OS
Mac
### Relevant log output
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.