Closed Bug 1841260 Opened 2 years ago Closed 2 years ago

Memory leak reported after running /loading/early-hints web platform tests

Categories

(Core :: Networking: HTTP, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1840356

People

(Reporter: jonco, Unassigned)

Details

While running tests locally I noticed that this memory was leak being reported. Test command:

mach wpt --skip-timeout /loading/early-hints/

Output snippet:

 0:37.31 INFO leakcheck | Processing leak log file /tmp/tmpc47hhf3s/runtests_leaks_2956964.log
 0:37.31 INFO
 0:37.31 INFO == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, default process 2957083
 0:37.31 INFO
 0:37.31 INFO      |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
 0:37.31 INFO      |                                      | Per-Inst   Leaked|   Total      Rem|
 0:37.31 INFO    0 |TOTAL                                 |       44      472|11839419        3|
 0:37.31 INFO  321 |EarlyHintPreloader                    |      352      352|      37        1|
 0:37.31 INFO 1008 |ParentChannelListener                 |       96       96|     506        1|
 0:37.32 INFO 1208 |ServiceWorkerInterceptController      |       24       24|     510        1|
 0:37.32 INFO
 0:37.32 INFO nsTraceRefcnt::DumpStatistics: 2125 entries
 0:37.32 INFO leakcheck: default leaked 1 EarlyHintPreloader
 0:37.32 INFO leakcheck: default leaked 1 ParentChannelListener
 0:37.32 INFO leakcheck: default leaked 1 ServiceWorkerInterceptController
 0:37.32 FAIL leakcheck: default 472 bytes leaked

It's this specific test case:

./mach test testing/web-platform/tests/loading/early-hints/modulepreload-as-worker-cross-origin.h2.window.js --headless
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1840356
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.